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

[netCDFJava #DFK-634682]: Inconsistent array length error



> Hi Unidata
> 
> I have an error which I think you have seen before:
> 
> "Inconsistent array length read: 1165128303 != 1914731274"
> 
> I found this in the email log for thredds but I don't see any solution
> posted?
> 
> [netCDFJava #TTG-191401]: Inconsistent array length error

this is a generic error that happens on the client, meaning that the server got 
an error. So the error below is the real culprit.


> 
> Hopefully I just could not find it, but if not I did find a more helpful
> error message in the log:  threddsServlet.log
> 
> 2009-07-17T16:38:48.733 -0400 [    124549][      32] INFO  -
> thredds.server.opendap.OpendapServlet - doGet(): Remote host: 127.0.0.1
> - Request: "GET
> /thredds/dodsC/fmrc/ROMS/ROMS_best.ncd.dods?time_offset,time,time_run,de
> pth,lat,lon HTTP/1.1"
> 
> 2009-07-17T16:38:48.733 -0400 [    124549][      32] ERROR -
> thredds.server.opendap.OpendapServlet - path=/fmrc/ROMS/ROMS_best.ncd.dods
> 
> java.lang.ClassCastException: [F cannot be cast to [D
> 
> at 
> opendap.dap.Float64PrimitiveVector.setInternalStorage(Float64PrimitiveVector.java:231)
> at thredds.server.opendap.NcSDArray.setData(NcSDArray.java:198)
> at thredds.server.opendap.NcSDArray.read(NcSDArray.java:138)
> at opendap.dap.Server.SDArray.serialize(SDArray.java:426)
> at opendap.dap.Server.CEEvaluator.send(CEEvaluator.java:275)
> at 
> thredds.server.opendap.OpendapServlet.doGetDAP2Data(OpendapServlet.java:525)
> at thredds.server.opendap.OpendapServlet.doGet(OpendapServlet.java:234)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at 
> thredds.servlet.filter.RequestQueryFilter.doFilter(RequestQueryFilter.java:121)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at 
> thredds.servlet.filter.RequestPathFilter.doFilter(RequestPathFilter.java:105)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
> at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. 
> java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
> at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
> at java.lang.Thread.run(Unknown Source)

i may need to reproduce this one. what version of tds are you running? can you 
send me the ncml and a few sample files?

thanks.


Ticket Details
===================
Ticket ID: DFK-634682
Department: Support netCDF Java
Priority: Normal
Status: Open


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.