[opencms-dev] Can't edit XMLContent

Babak babak at wjug.ca
Sun Jun 29 18:01:15 CEST 2014


Hi

On a fresh basic install of OpenCMS 8.5.2 with no Demo or Template Created a
Generic XML Content but can't edit it.

Editing XMLContent throw below stack trace.
It seems it can't understand the source to edit.

Is there any definition missing ?

Error An unexpected error happened, but no error message has been provided.
Please check the error details or contact your system administrator.

java.lang.NullPointerException
	at
org.opencms.xml.content.CmsXmlContent.getContentDefinition(CmsXmlContent.jav
a:784)
	at
org.opencms.xml.content.CmsXmlContent.<init>(CmsXmlContent.java:132)
	at
org.opencms.xml.content.CmsXmlContentFactory.unmarshal(CmsXmlContentFactory.
java:248)
	at
org.opencms.xml.content.CmsXmlContentFactory.unmarshal(CmsXmlContentFactory.
java:184)
	at
org.opencms.workplace.editors.CmsWorkplaceEditorManager.checkAcaciaEditorAva
ilable(CmsWorkplaceEditorManager.java:162)
	at
org.opencms.workplace.editors.CmsEditorHandler.getEditorUri(CmsEditorHandler
.java:106)
	at
org.opencms.workplace.editors.CmsEditorHandler.getEditorUri(CmsEditorHandler
.java:147)
	at
org.opencms.workplace.editors.CmsEditorSelector.getSelectedEditorUri(CmsEdit
orSelector.java:119)
	at
org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.editors.editor_005fm
ain_jsp._jspService(editor_005fmain_jsp.java:67)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:4
32)
	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:727)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:303)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:208)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:748)
	at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:604)
	at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:543)
	at
org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDisp
atcher.java:188)
	at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:163)
	at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:661)
	at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRe
questDispatcher.java:417)
	at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.j
ava:167)
	at
org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:946)
	at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:523)
	at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1
183)
	at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1680)
	at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:303)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:208)
	at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:241)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:208)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:220)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:122)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:501)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170
)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:116)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Proce
ssor.java:1040)
	at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Abstrac
tProtocol.java:607)
	at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.jav
a:2441)
	at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:
2430)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
	at java.lang.Thread.run(Unknown Source)


---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com




More information about the opencms-dev mailing list