[opencms-dev] "Edit page" gives 500
hagen.altmann at o2online.de
hagen.altmann at o2online.de
Fri Jul 30 22:43:01 CEST 2004
Hi, I've got the same problem as Kim:
http://mail.opencms.org/pipermail/opencms-dev/2004q1/010031.html
Unfortunately, his workaround doesn't work for me. Before I tried out his
hints I got the same error (404). Now I keep getting a 500..
The log tells me the following:
[30.07.2004 22:21:44] <opencms_info> [CmsElementXml (CmsXmlTemplateEditor/edit_page_main)] Error
in getContent for template class com.opencms.workplace.CmsXmlTemplateEditor
The stack trace tells this (long) story:
javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.
java:269)
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.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.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.NoSuchMethodError: org.apache.xerces.dom.CoreDocumentImpl.getEncoding()Ljava/lang/String;
at com.opencms.template.CmsXmlXercesParser.getOriginalEncoding(CmsXmlXercesParser.
java:193)
at com.opencms.template.CmsXmlXercesParser.getXmlText(CmsXmlXercesParser.java:
131)
at com.opencms.template.A_CmsXmlContent.getXmlText(A_CmsXmlContent.java:
684)
at com.opencms.template.A_CmsXmlContent.getXmlText(A_CmsXmlContent.java:
673)
at com.opencms.file.CmsResourceTypePage.copyResource(CmsResourceTypePage.java:
391)
at com.opencms.file.CmsObject.copyResource(CmsObject.java:684)
at com.opencms.workplace.CmsXmlTemplateEditor.createTemporaryFile(CmsXmlTemplateEditor.
java:100)
at com.opencms.workplace.CmsXmlTemplateEditor.getContent(CmsXmlTemplateEditor.java:
444)
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.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.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)
More information about the opencms-dev
mailing list