[opencms-dev] OpenCMS v5 Error message cmsElementGetXML.getContent - Null pointer

Gary Theis gary.theis at resonance.com.sg
Sat Mar 19 02:42:10 CET 2005


Urgently need some help, our production OpenCMS 5 installation which had 
been running fine for a few months has suddenly started generating the 
following error - a re-start of sever has not fixed the problem, nothing 
similar on mailing list - last known change was adding 2 administrative 
users and disabling one a few hours prior to going offline, any and all 
assistance/advice is very much appreciated.

com.opencms.core.CmsException: 0 Unknown exception. Detailed error: 
CmsException ID: 0.
root cause was java.lang.NullPointerException
         at 
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:194)
         at 
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
         at 
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149)
         at 
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)
         at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
         at 
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
         at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
         at 
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at 
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
         at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
         at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
         at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
         at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
 >-----------
 >Root cause:
 >java.lang.NullPointerException
 >       at 
com.opencms.template.cache.A_CmsElement.resolveVariant(A_CmsElement.java:468)
 >       at 
com.opencms.template.CmsXmlTemplate.startProcessing(CmsXmlTemplate.java:1314)
 >       at 
com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.java:164)
 >       at 
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)
 >       at 
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
 >       at 
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149)
 >       at 
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)
 >       at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
 >       at 
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
 >       at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
 >       at 
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
 >       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 >       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 >       at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
 >       at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
 >       at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
 >       at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 >       at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 >       at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 >       at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 >       at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 >       at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
 >       at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 >       at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 >       at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 >       at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
 >       at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
 >       at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 >       at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
 >       at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 >       at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
 >       at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 >       at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
 >       at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
 >       at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 >       at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 >       at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
 >       at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
 >       at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 >       at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 >       at 
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
 >       at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
 >       at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
 >       at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
 >       at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
 >       at java.lang.Thread.run(Thread.java:534)

java.lang.NullPointerException
         at 
com.opencms.template.cache.A_CmsElement.resolveVariant(A_CmsElement.java:468)
         at 
com.opencms.template.CmsXmlTemplate.startProcessing(CmsXmlTemplate.java:1314)
         at 
com.opencms.template.CmsXmlTemplate.getContent(CmsXmlTemplate.java:164)
         at 
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:171)
         at 
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
         at 
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:149)
         at 
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:285)
         at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
         at 
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
         at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
         at 
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at 
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
         at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
         at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
         at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
         at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)







Gary Theis
Director
Technical Consulting

R E S O N A N C E
111 North Bridge Road
#22-01 Peninsula Plaza
Singapore 179098
t:  +65 6557 6131
f:  +65 6333 9596
m:+65 8112 8634
w: <http://www.resonance.com.sg/>www.resonance.com.sg

Delivers The Constant Customer
This email message and any attachments are intended only for the use of the 
addressee(s) named above and may contain information that is confidential. 
If you are not the intended recipient, any display, dissemination, 
distribution, or copying is strictly prohibited. If you believe you have 
received this email message in error, please immediately notify the sender 
to this email message to the above number.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050319/db685978/attachment.htm>


More information about the opencms-dev mailing list