[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[THREDDS #GWM-344487]: Thredds Error on WMS Request



Hi Guan,

I grabbed your sample file and I've been able to reproduce the problem. Exactly 
what was going wrong wasn't clear to me so I'm passing this along to the ncWMS 
developer for him to look into. (We'll look at the JSP error as well.)

Hopefully, we'll find a fix for this in a few days and get a release out. We'll 
keep you informed.

Ethan

> I tried to switch between wms 1.3.0 and wms 1.1.1. If I do the latter, the
> stacktrace is:
> 
> Jan 11, 2011 10:35:17 AM org.apache.catalina.core.ApplicationDispatcher 
> invoke SEVERE: Servlet.service() for servlet jsp threw exception 
> javax.servlet.jsp.JspTagException: Illegal use of <when>-style tag 
> without <choose> as its direct parent
> 
> I also tried WMS directly on the nc file, I got the same exception thrown.
> It doesn't look like to be related to aggregation or ncml only.
> 
> 2011-01-11T10:43:17.071 -0500 [    221153][      20] INFO  - 
> thredds.server.wms.ThreddsWmsController - Remote host: 127.0.0.1 - Request: 
> "GET 
> /thredds/wms/glos/all/GLCFS/Nowcast/m201000918.out1.nc?service=WMS&LAYERS=sea_water_velocity&ELEVATION=&TIME=2010-01-10T00%3A00%3A00.000Z&TRANSPARENT=true&STYLES=VECTOR%2Frainbow&CRS=EPSG%3A4326&COLORSCALERANGE=0.001572%2C0.3329&NUMCOLORBANDS=254&LOGSCALE=false&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&EXCEPTIONS=XML&FORMAT=image%2Fpng&BBOX=-90.73368774414,40.478713989258,-82.088150634765,47.233039855958&WIDTH=768&HEIGHT=600
>  HTTP/1.1"
> 2011-01-11T10:43:17.463 -0500 [    221545][      20] ERROR - 
> thredds.server.wms.ThreddsWmsController - dispatchWmsRequest(): Exception: 
> java.lang.ArrayIndexOutOfBoundsException
> at ucar.ma2.Index3D.setDim(Index3D.java:100)
> at 
> uk.ac.rdg.resc.ncwms.cdm.DataReadingStrategy$1.readScanline(DataReadingStrategy.java:173)
> at 
> uk.ac.rdg.resc.ncwms.cdm.DataReadingStrategy$1.doPopulatePixelArray(DataReadingStrategy.java:142)
> at 
> uk.ac.rdg.resc.ncwms.cdm.DataReadingStrategy.populatePixelArray(DataReadingStrategy.java:285)
> at uk.ac.rdg.resc.ncwms.cdm.CdmUtils.readPointList(CdmUtils.java:408)
> at 
> thredds.server.wms.ThreddsScalarLayer.readPointList(ThreddsScalarLayer.java:122)
> at 
> uk.ac.rdg.resc.ncwms.controller.AbstractWmsController.readDataGrid(AbstractWmsController.java:1296)
> at 
> uk.ac.rdg.resc.ncwms.controller.AbstractWmsController.getMap(AbstractWmsController.java:475)
> at 
> thredds.server.wms.ThreddsWmsController.dispatchWmsRequest(ThreddsWmsController.java:178)
> at 
> uk.ac.rdg.resc.ncwms.controller.AbstractWmsController.handleRequestInternal(AbstractWmsController.java:195)
> at 
> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
> ...
> 2011-01-11T10:43:17.464 -0500 [    221546][      20] INFO  -
> thredds.server.wms.ThreddsWmsController - Request Completed - 500 - -1 - 393
> 
> You can download the test nc file at:
> http://michigan.glin.net/glos/m201000918.out1.nc


Ticket Details
===================
Ticket ID: GWM-344487
Department: Support THREDDS
Priority: Normal
Status: On Hold


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.