[opencms-dev] Unable to cleanly exit from an Edit window

Ivan Biddles ivanb at scientology.net
Sat Nov 2 18:19:09 CET 2002


Hi,

Everything has been going along fine with my OpenCms implementation
until last night.

Suddenly I am getting a System Error pop-up ("There was a Systemerror.
Have a look at the details, or contact your system administrator") each
time I try to exit from the Edit Page or Edit Sourcecode for ANY pages
(original OpenCms pages or ones I have created).

"Show Details" gave the stack trace below.

It gets into a loop where I cannot exit and takes me back to the Edit
Page or Edit Sourcecode screen. My only option is to exit the Browser
itself.

Do you have any idea what may have happened or how to recover from it?

The "Wrong XML Content" message is similar to the one posted by Joe
Burkhart (Getting OpenCMS up and running - newsmodule, demo website).
However, in my case this is not happening as a result of trying to
import a module.

The only thing that I did that was new was to attempt to create a JSP.
It appeared correctly without my normal frame template around it. I went
to check out the normal HTML pages and see how the frame template is
associated there, and that's when I first ran into this problem. It
happens on every page.

I since deleted the JSP source, the generated Java source, and the class
file, so I think that the JSP may just be coincidence.

Anyway, thanks in advance for any help you can provide.

Best wishes,
             Ivan

----------------------------------------------------------
[CmsException]: 20 Wrong XML content type. Detailed Error: XML document
/cos/section/index.html is not of the expected type. This document is
"page", but it should be "XMLTEMPLATE" (OpenCms XML template file).. 
at
com.opencms.template.A_CmsXmlContent.throwException(A_CmsXmlContent.java
:1869)
at com.opencms.template.A_CmsXmlContent.init(A_CmsXmlContent.java:1073)
at com.opencms.template.A_CmsXmlContent.init(A_CmsXmlContent.java:1047)
at
com.opencms.template.CmsXmlTemplateFile.<init>(CmsXmlTemplateFile.java:9
1)
at
com.opencms.template.CmsXmlTemplate.getOwnTemplateFile(CmsXmlTemplate.ja
va:382)
at
com.opencms.workplace.CmsXmlTemplateEditor.getContent(CmsXmlTemplateEdit
or.java:455)
at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:1
67)
at com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:171)
at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementC
ache.java:148)
at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:2
53)
at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:309)
at com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:267)
at com.opencms.core.OpenCms.showResource(OpenCms.java:653)
at
com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.java:271)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
va:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234
7)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
ava:1027)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
1125)
at java.lang.Thread.run(Thread.java:536)





More information about the opencms-dev mailing list