Re: [thredds] Unexpected error of type java.lang.NullPointerException

On 07/30/2014 03:19 AM, Christian Ward-Garrison wrote:
Hi Patrick,

It looks like this bug was fixed in 4.3.18, though I can't find any tickets in our issue tracking system that specifically mention it. I can verify that your query also works in 4.3.22 and 4.5+.

We stopped maintaining a dedicated change log some time around 4.3.12. But if you're feeling intrepid, you can look through our commit messages on github, starting at v4.3.18: https://github.com/Unidata/thredds/commits/v4.3.18

Cheers,
Christian


Hi Christian,

Thank you for your answer.
I have updated our servers to 4.3.22 and this bug is no more present. Perfect !

For information, when you want to patch ncwms
(http://www.resc.rdg.ac.uk/trac/ncWMS/ticket/192 for example)
you must rebuild the jar file accordingly to the thredds sources.

So once you have extracted the thredds source code with

git clone https://github.com/Unidata/ncWMS.git ncWMS
do not forget to change the project object model called pom.xml before building.


As the last ncwms release from
https://artifacts.unidata.ucar.edu/content/repositories/unidata-3rdparty/uk/ac/rdg/resc/ncwms/
is 1.0.tds.4.3.20130918.0800

I have changed the pom.xml to

<version>1.0.tds.4.3.20130918.0800</version>


Then build with mvn clean install

will give you the patched jar file you have to copy to your apache-tomcat/thredds/WEB-INF/lib
Shutdown and restart tomcat and that it.

Regards
Patrick

On Tue, Jul 29, 2014 at 5:23 AM, Patrick Brockmann <Patrick.Brockmann@xxxxxxxxxxxx <mailto:Patrick.Brockmann@xxxxxxxxxxxx>> wrote:

    Hi all,

    I have encountered a problem with 2 different releases of TDS.
    One on our stagging server (4.3.17) and one on our production
    server (4.3.19).

    Before deploying the last stable 4.3.22, I would like to know if
    this bug is referenced somewhere
    or rings a bell to someone.

    
http://research.globalcarbonatlas.org/thredds/wms/Atlas/Flux/LandModels/monthlymean/fco2_CLM4CN_Sep2013-ext3_1980-2010_monthlymean_XYT.nc?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMetadata&item=minmax&SRS=EPSG:4326&BBOX=-180,-90,180,90&WIDTH=200&HEIGHT=200&TIME=2010-12-16T00:00:00.000Z&ELEVATION=false&LAYERS=Terrestrial_flux

    returns "Unexpected error of type java.lang.NullPointerException"

    Webportals :
    
http://webportals.ipsl.jussieu.fr/thredds/wms/ATLAS/Flux/LandModels/monthlymean/fco2_CLM4CN_Sep2013-ext3_1980-2010_monthlymean_XYT.nc?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMetadata&item=minmax&SRS=EPSG:4326&BBOX=-180,-90,180,90&WIDTH=200&HEIGHT=200&TIME=2010-12-16T00:00:00.000Z&ELEVATION=false&LAYERS=Terrestrial_flux

    returns {"min":-1302.419,"max":2023.4001}

    Files are the same.

    By the way, is there a release note that summarizes the
    different corrections made on the 4.3 branch.
    I have found information only from announce mails
    but not from an unique document.

    Regards
    Patrick Brockmann

-- LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
    Data Analysis and Visualization Engineer
    ICMC - IPSL Climate Modelling Centre
    --

    _______________________________________________
    thredds mailing list
    thredds@xxxxxxxxxxxxxxxx <mailto:thredds@xxxxxxxxxxxxxxxx>
    For list information or to unsubscribe,  visit:
    http://www.unidata.ucar.edu/mailing_lists/




--
LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
Data Analysis and Visualization Engineer
ICMC - IPSL Climate Modelling Centre
--

  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: