Re: [thredds] Problems with ncwms when upgrading from thredds 4.0.9 to 4.0.24 or 4.1

  • To: Heiko Klein <Heiko.Klein@xxxxxx>
  • Subject: Re: [thredds] Problems with ncwms when upgrading from thredds 4.0.9 to 4.0.24 or 4.1
  • From: Ethan Davis <edavis@xxxxxxxxxxxxxxxx>
  • Date: Thu, 04 Feb 2010 14:31:20 -0700
Hi Heiko,

Thanks for catching that. I found the problem and have fixed it. It will
be in the 4.1.3 release with the other fix. Should have that out
tomorrow (Friday) or Monday.

Thanks again,

Ethan

Heiko Klein wrote:
> Hi Ethan,
>
> thanks a lot. I upgraded to your snapshot, and I'm back to a nice figure
> of my data.
>
> While testing some other files, I found a minor bug. I get another
> 'Internal Server Error'/'Null Poiner Exception' when requesting a layer
> which does not exist. This should instead give a xml-error page like
> those you get when you forget a parameter. With the same data-file, try
>
>
http://localhost:8081/thredds/wms/osisaf/met.no/ice/wam_nsea.fc.20090604.nc?REQUEST=GetMap&LAYERS=nonsense&PALETTE=redblue&SERVICE=WMS&FORMAT=image/png&VERSION=1.3.0&CRS=EPSG:4326&BBOX=-30,-60,30,90&WIDTH=400&HEIGHT=400&STYLES=BOXFILL/ncview
>
> (LAYERS changed from 'significant_wave_height' to 'nonsense')
>
> The logs give:
> java.lang.NullPointerException
>         at
>
thredds.server.wms.responses.LayerBasedResponse.<init>(LayerBasedResponse.java:88)
>         at
thredds.server.wms.responses.WmsGetMap.<init>(WmsGetMap.java:74)
>         at
> thredds.server.wms.WMSController.handleRequestInternal(WMSController.
> java:242)
>         at
> org.springframework.web.servlet.mvc.AbstractController.handleRequest(
> AbstractController.java:153)
> ...
>
>
> Best regards,
>
> Heiko
>
>
> On 2010-01-30 06:45, Ethan Davis wrote:
>> Hi again Heiko,
>>
>> I folded in some changes from the current ncWMS code that has fixed the
>> problem. It will be in TDS 4.1.3 which I'm planning to release sometime
>> next week. I've also made a current snapshot available on our FTP site
>> if you want to try it out before the full release. The snapshot is
>> available at:
>>
>> ftp://ftp.unidata.ucar.edu/pub/thredds/4.1/Snapshot/
>>
>> Cheers,
>>
>> Ethan
>



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