Re: [thredds] WMS GetFeatureInfo error: ArrayIndexOutOfBoundsException

Hi all,

Just writing to say I have the same problem since the update to 4.2.2
have this been already fixed?

regards

On Thu, Dec 30, 2010 at 1:11 PM, Rich Signell <rsignell@xxxxxxxx> wrote:
> Folks,
>
> I just upgraded to Version 4.2.2 - 20101216.2342, and now I have the
> same problem as John.
>
> This problem definitely did not exist in my previous version: Version
> 4.2.0 - 20101123.2209
>
> Clearly this should be added to unit tests for TDS!
>
> -Rich
>
> Here is my error from threddsServlet.log
> 2010-12-30T07:06:09.963 -0500 [    288174][     126] INFO  -
> thredds.server.wms.ThreddsWmsController - Remote host: 128.128.181.81
> - Request: "GET
> /thredds/wms/coawst2/fmrc/coawst2_best.ncd?LAYERS=temp&ELEVATION=-0.03125&TIME=2010-12-23T00%3A00%3A00.000Z&TRANSPARENT=true&STYLES=boxfill%2Frainbow&CRS=EPSG%3A4326&COLORSCALERANGE=5%2C25&NUMCOLORBANDS=64&LOGSCALE=false&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&EXCEPTIONS=XML&FORMAT=image%2Fpng&BBOX=-73.996837%2C36.95758%2C-60.925431%2C47.169616&I=200&J=162&INFO_FORMAT=text%2Fxml&QUERY_LAYERS=temp&WIDTH=512&HEIGHT=400&url=http%3A%2F%2Fgeoport-dev.whoi.edu%2Fthredds%2Fwms%2Fcoawst2%2Ffmrc%2Fcoawst2_best.ncd&server=http%3A%2F%2Fgeoport-dev.whoi.edu%2Fthredds%2Fwms%2Fcoawst2%2Ffmrc%2Fcoawst2_best.ncd
> HTTP/1.1"
> 2010-12-30T07:06:14.455 -0500 [    292666][     126] ERROR -
> thredds.server.wms.ThreddsWmsController - dispatchWmsRequest():
> Exception:
> java.lang.ArrayIndexOutOfBoundsException: 0
>        at uk.ac.rdg.resc.ncwms.coords.PixelMap.put(PixelMap.java:249)
>        at 
> uk.ac.rdg.resc.ncwms.coords.PixelMap.initFromPointList(PixelMap.java:157)
>        at uk.ac.rdg.resc.ncwms.coords.PixelMap.<init>(PixelMap.java:135)
>        at uk.ac.rdg.resc.ncwms.cdm.CdmUtils.readPointList(CdmUtils.java:401)
>        at 
> thredds.server.wms.ThreddsScalarLayer.readPointList(ThreddsScalarLayer.java:122)
>        at 
> thredds.server.wms.ThreddsScalarLayer.readSinglePoint(ThreddsScalarLayer.java:113)
>
>
> On Wed, Dec 29, 2010 at 5:36 PM, John Maurer, IV <jmaurer@xxxxxxxxxx> wrote:
>> Hi All,
>> When attempting to click on the maps produced in Godiva2 for my grids in TDS
>> to get the map value at that point, Godiva2 pops up an Internal Server Error
>> alert and fails to load the cursor value.  I am getting the following
>> corresponding error message in threddsServlet.log:
>>
>>
>>
>>
>> 2010-12-29T12:18:46.021 -1000 [    124442][      81] INFO  -
>> thredds.server.wms.ThreddsWmsController - Remote host: 128.171.151.240 -
>> Request: "GET
>> /thredds/wms/hioos/tide_mhi/elev?LAYERS=ssh&ELEVATION=0&TIME=2010-12-29T00%3A00%3A00.000Z&TRANSPARENT=true&STYLES=boxfill%2Frainbow&CRS=EPSG%3A4326&COLORSCALERANGE=-0.5%2C0.5&NUMCOLORBANDS=20&LOGSCALE=false&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&EXCEPTIONS=XML&FORMAT=image%2Fpng&BBOX=-160.690002%2C19.653751%2C-155.490005%2C23.716248&I=276&J=162&INFO_FORMAT=text%2Fxml&QUERY_LAYERS=ssh&WIDTH=512&HEIGHT=400&url=http%3A%2F%2Foos.soest.hawaii.edu%2Fthredds%2Fwms%2Fhioos%2Ftide_mhi%2Felev&server=http%3A%2F%2Foos.soest.hawaii.edu%2Fthredds%2Fwms%2Fhioos%2Ftide_mhi%2Felev
>> HTTP/1.1"
>>
>> 2010-12-29T12:18:46.027 -1000 [    124448][      81] ERROR -
>> thredds.server.wms.ThreddsWmsController - dispatchWmsRequest(): Exception:
>>
>> java.lang.ArrayIndexOutOfBoundsException
>>
>> 2010-12-29T12:18:46.036 -1000 [    124457][      81] INFO  -
>> thredds.server.wms.ThreddsWmsController - Request Completed - 500 - -1 - 15
>>
>> The URL is a WMS GetFeatureInfo request to the following URL:
>>
>> http://oos.soest.hawaii.edu//thredds/wms/hioos/tide_mhi/elev?LAYERS=ssh&ELEVATION=0&TIME=2010-12-29T00:00:00.000Z&TRANSPARENT=true&STYLES=boxfill/rainbow&CRS=EPSG:4326&COLORSCALERANGE=-0.5,0.5&NUMCOLORBANDS=20&LOGSCALE=false&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&EXCEPTIONS=XML&FORMAT=image/png&BBOX=-160.690002,19.653751,-155.490005,23.716248&I=276&J=162&INFO_FORMAT=text/xml&QUERY_LAYERS=ssh&WIDTH=512&HEIGHT=400&url=http://oos.soest.hawaii.edu/thredds/wms/hioos/tide_mhi/elev&server=http://oos.soest.hawaii.edu/thredds/wms/hioos/tide_mhi/elev
>>
>> This happens for all of my datasets now and all variables. It was working
>> before, perhaps when I was at TDS 4.2 but not yet at TDS 4.2.2 like I am
>> now, but that's purely speculation. Here's the URL to my TDS catalog page of
>> the dataset in the above example:
>>
>> http://oos.soest.hawaii.edu/thredds/idd/tide_mod.html?dataset=tide_elev_mhi
>>
>> And the URL to it's start page in Godiva2:
>>
>> http://oos.soest.hawaii.edu/thredds/godiva2/godiva2.html?server=http://oos.soest.hawaii.edu/thredds/wms/hioos/tide_mhi/elev
>>
>> Any ideas what's amiss? Thanks!
>>
>> Cheers,
>>
>> John Maurer
>>
>> Hawaii Ocean Observing System (HiOOS)
>>
>> University of Hawaii
>>
>> _______________________________________________
>> thredds mailing list
>> thredds@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe,  visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>>
>
>
>
> --
> Dr. Richard P. Signell   (508) 457-2229
> USGS, 384 Woods Hole Rd.
> Woods Hole, MA 02543-1598
>
> _______________________________________________
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit: 
> http://www.unidata.ucar.edu/mailing_lists/
>



-- 
Yours sincerely,
Josep Llodrà.