Hi all,
I'm having trouble with getting a GetCapabilities document using THREDDS.
I'm using THREDDS 4.3.15 - 20121218.1126, and have tried this on Java 1.6 and
1.7, running on Tomcat 7.0.27.
When I browse to the WMS GetCapabilities document, I get a 500 internal error,
and have found the attached error in the serverStartup.log
But interestingly, the layers work through the Godiva interface. Has anyone
else had this problem? These files use to work under THREDDS 4.2.
An example can be found here:
http://thredds.aodn.org.au/thredds/catalog/IMOS/SRS/GHRSST-SSTsubskin/2012/catalog.html?dataset=IMOS/SRS/GHRSST-SSTsubskin/2012/20121231-ABOM-L3P_GHRSST-SSTsubskin-AVHRR_MOSAIC_01km-AO_DAAC-v01-fv01_0.nc
Cheers,
-Pauline.
--
Pauline Mak
Programmer
AODN Development Office
University of Tasmania
Private Bag 21
HOBART TAS 7001
Ph: (03) 6226 8586
Fax: (03) 6226 8575
pauline.mak@xxxxxxxxxxx
vlet with name 'wms'
2013-01-31T14:14:36.677+1100 [ 2841][ 2]
org.springframework.web.servlet.view.JstlView: Added model object
'supportedCrsCodes' of type [[Ljava.lang.String;] to request in view with name
'capabilities_xml'
2013-01-31T14:14:36.677+1100 [ 2841][ 2]
org.springframework.web.servlet.view.JstlView: Added model object 'layerLimit'
of type [java.lang.Integer] to request in view with name 'capabilities_xml'
2013-01-31T14:14:36.677+1100 [ 2841][ 2]
org.springframework.web.servlet.view.JstlView: Added model object
'featureInfoFormats' of type [[Ljava.lang.String;] to request in view with name
'capabilities_xml'
2013-01-31T14:14:36.677+1100 [ 2841][ 2]
org.springframework.web.servlet.view.JstlView: Added model object
'verboseTimes' of type [java.lang.Boolean] to request in view with name
'capabilities_xml'
2013-01-31T14:14:36.677+1100 [ 2841][ 2]
org.springframework.web.servlet.view.JstlView: Added model object 'wmsBaseUrl'
of type [java.lang.String] to request in view with name 'capabilities_xml'
2013-01-31T14:14:36.677+1100 [ 2841][ 2]
org.springframework.web.servlet.view.JstlView: Added model object
'legendHeight' of type [java.lang.Integer] to request in view with name
'capabilities_xml'
2013-01-31T14:14:36.677+1100 [ 2841][ 2]
org.springframework.web.servlet.view.JstlView: Added model object 'datasets' of
type [java.util.Arrays$ArrayList] to request in view with name
'capabilities_xml'
2013-01-31T14:14:36.677+1100 [ 2841][ 2]
org.springframework.web.servlet.view.JstlView: Added model object 'lastUpdate'
of type [org.joda.time.DateTime] to request in view with name 'capabilities_xml'
2013-01-31T14:14:36.677+1100 [ 2841][ 2]
org.springframework.web.servlet.view.JstlView: Added model object
'supportedImageFormats' of type [java.util.HashMap$KeySet] to request in view
with name 'capabilities_xml'
2013-01-31T14:14:36.677+1100 [ 2841][ 2]
org.springframework.web.servlet.view.JstlView: Added model object 'config' of
type [thredds.server.wms.ThreddsServerConfig] to request in view with name
'capabilities_xml'
2013-01-31T14:14:36.677+1100 [ 2841][ 2]
org.springframework.web.servlet.view.JstlView: Added model object 'legendWidth'
of type [java.lang.Integer] to request in view with name 'capabilities_xml'
2013-01-31T14:14:36.677+1100 [ 2841][ 2]
org.springframework.web.servlet.view.JstlView: Added model object
'paletteNames' of type [java.util.HashMap$KeySet] to request in view with name
'capabilities_xml'
2013-01-31T14:14:36.683+1100 [ 2847][ 2]
org.springframework.web.servlet.view.JstlView: Forwarding to resource
[/WEB-INF/jsp/wms/capabilities_xml.jsp] in InternalResourceView
'capabilities_xml'
2013-01-31T14:14:36.767+1100 [ 2931][ 2]
org.springframework.web.servlet.DispatcherServlet: Could not complete request
org.apache.jasper.JasperException: javax.el.ELException: Error reading
'intervalTime' on type thredds.server.wms.ThreddsScalarLayer
at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
at
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
at
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262)
at
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1180)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:950)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
thredds.servlet.filter.RequestQueryFilter.doFilter(RequestQueryFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
thredds.servlet.filter.RequestPathFilter.doFilter(RequestPathFilter.java:102)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
thredds.server.RequestBracketingLogMessageFilter.doFilter(RequestBracketingLogMessageFilter.java:48)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Caused by: javax.el.ELException: Error reading 'intervalTime' on type
thredds.server.wms.ThreddsScalarLayer
at javax.el.BeanELResolver.getValue(BeanELResolver.java:98)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:67)
at org.apache.el.parser.AstValue.getValue(AstValue.java:169)
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189)
at
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:985)
at
org.apache.jsp.WEB_002dINF.jsp.wms.capabilities_005fxml_jsp._jspx_meth_c_005fwhen_005f1(capabilities_005fxml_jsp.java:1287)
at
org.apache.jsp.WEB_002dINF.jsp.wms.capabilities_005fxml_jsp._jspx_meth_c_005fchoose_005f1(capabilities_005fxml_jsp.java:1257)
at
org.apache.jsp.WEB_002dINF.jsp.wms.capabilities_005fxml_jsp._jspx_meth_c_005fotherwise_005f0(capabilities_005fxml_jsp.java:1227)
at
org.apache.jsp.WEB_002dINF.jsp.wms.capabilities_005fxml_jsp._jspx_meth_c_005fchoose_005f0(capabilities_005fxml_jsp.java:1095)
at
org.apache.jsp.WEB_002dINF.jsp.wms.capabilities_005fxml_jsp._jspx_meth_c_005fif_005f4(capabilities_005fxml_jsp.java:1060)
at
org.apache.jsp.WEB_002dINF.jsp.wms.capabilities_005fxml_jsp._jspx_meth_c_005fforEach_005f5(capabilities_005fxml_jsp.java:789)
at
org.apache.jsp.WEB_002dINF.jsp.wms.capabilities_005fxml_jsp._jspx_meth_c_005fif_005f0(capabilities_005fxml_jsp.java:682)
at
org.apache.jsp.WEB_002dINF.jsp.wms.capabilities_005fxml_jsp._jspx_meth_c_005fforEach_005f4(capabilities_005fxml_jsp.java:638)
at
org.apache.jsp.WEB_002dINF.jsp.wms.capabilities_005fxml_jsp._jspService(capabilities_005fxml_jsp.java:227)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
... 43 more
Caused by: java.lang.NullPointerException
at
thredds.server.wms.config.LayerSettings.isIntervalTime(LayerSettings.java:141)
at
thredds.server.wms.ThreddsScalarLayer.isIntervalTime(ThreddsScalarLayer.java:216)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:87)
... 59 more