Re: Error occurring in dods.dap.Parser

Tennesse,


It's in the DDS or DAS parser.  See below -

On Jan 24, 2005, at 9:48 PM, Tennessee Leeuwenburg wrote:

Hi guys,

I have this weird problem where I can get use thredds to display the .dds .das and .info for a NetCDF URL, but when it comes to clicking on "Data Request Form" my browser displays the following error :

Error { code = 5; message = "Encountered '=' at line 58, column 9. Was expecting: ';' ... "; };

I have included the relevant section from the server logs at the end of this message. I can't work out what the error is telling me. My gut feeling is that maybe the unusual filename is using some reserved characters that the parser can't handle, but that's just a guess.

Bingo. Known problem. Can you send me the DDS, or is it automatically generated (and thus it never actually makes it through the system)?

Or, can you send a list of all the filenames and variable names?

Does anyone know if this error related to java code, or the structure of a netCDF file, or the filename or what? To what is "line 58, column 9" referring - the .java file, the netCDF file, or something else entirely?

That's where in the DDS or DAS the parser is crapping out.




Cheers,
-T

DEBUG: AggServer: CatalogServlet try to acquire Nc = stream=ocea,param=200,DATE=20000101,TIME=0000,STEP=0,EXPVER=0oc7,CLASS= RD,TYPE=AN,NUMBER=0,METHOD=0,LEVELIST=7.000,LEVTYPE=DP,REPRES=LL,DOMAIN =G,salinity.nc access = file:/usr/apps/jakarta-tomcat-5.5.4/content/thredds/dodsC/ stream=ocea,param=200,DATE=20000101,TIME=0000,STEP=0,EXPVER=0oc7,CLASS= RD,TYPE=AN,NUMBER=0,METHOD=0,LEVELIST=7.000,LEVTYPE=DP,REPRES=LL,DOMAIN =G,salinity.nc (05-01-25 16:44:49 ) DEBUG: AggServer: acquire is ok = file:/usr/apps/jakarta-tomcat-5.5.4/content/thredds/dodsC/ stream=ocea,param=200,DATE=20000101,TIME=0000,STEP=0,EXPVER=0oc7,CLASS= RD,TYPE=AN,NUMBER=0,METHOD=0,LEVELIST=7.000,LEVTYPE=DP,REPRES=LL,DOMAIN =G,salinity.nc (05-01-25 16:44:49 ) Sending DODS Data Request Form For: stream=ocea,param=200,DATE=20000101,TIME=0000,STEP=0,EXPVER=0oc7,CLASS= RD,TYPE=AN,NUMBER=0,METHOD=0,LEVELIST=7.000,LEVTYPE=DP,REPRES=LL,DOMAIN =G,salinity.nc CE: 'null'
dods.dap.parser.ParseException: Encountered "=" at line 58, column 9.
Was expecting:
   ";" ...

dods.dap.parser.ParseException: Encountered "=" at line 58, column 9.
Was expecting:
   ";" ...

at dods.dap.parser.DDSParser.generateParseException(DDSParser.java:937) at dods.dap.parser.DDSParser.jj_consume_token(DDSParser.java:824)
       at dods.dap.parser.DDSParser.Dataset(DDSParser.java:100)
       at dods.dap.DDS.parse(DDS.java:442)
       at dods.servlet.dodsHTML.getWebFormDDS(dodsHTML.java:237)
       at dods.servlet.dodsHTML.sendDataRequestForm(dodsHTML.java:124)
       at dods.servlet.DODSServlet.doGetHTML(DODSServlet.java:1001)
       at dods.servlet.DODSServlet.doGet(DODSServlet.java:1570)
at dods.servers.agg.CatalogServlet.doGet(CatalogServlet.java:527)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic ationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.java:214) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.java:178) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato rBase.java:407) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav a:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve .java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:383) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java :675) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo l.java:684)
       at java.lang.Thread.run(Thread.java:595)



=======================================================
Nathan Potter              Oregon State University, COAS
ndp@xxxxxxxxxxxxxxxxxxxx   104 Ocean. Admin. Bldg.
541 737 2293 voice         Corvallis, OR   97331-5503
541 737 2064 fax


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