[opencms-dev] XML Content Editor Doesn't Seem To Exist

Gregory Frank greg at emailanalyst.com
Fri May 6 19:54:13 CEST 2005


Below is an email I drafted but didn't send pending more research, 
during which I found a workaround. It appears that giving Article 
filetypes a templateone template enables them to be edited. Is this the 
only way to use the Article-type types? (Sorry that sounds so confusing 
:-/ )

Greg

--------------------------

I did a fresh install of OpenCms 6 Beta 3. When I create a file with an 
XML content type, such as an Article, a News Article, an Event, etc, 
editing it always fails with the following error. Does anyone know how 
to correct this?

*java.lang.NullPointerException*

Requested resource: */system/workplace/editors/xmlcontent/editor_form.jsp*
OpenCms version: *6.0 beta 3 Corrin*
OpenCms context: */opencms/opencms
*

The following is the top few lines of the stack trace.

java.lang.NullPointerException at 
org.opencms.xml.content.CmsXmlContent.getContentDefinition(CmsXmlContent.java:499) 
at org.opencms.xml.content.CmsXmlContent.<init>(CmsXmlContent.java:128) 
at 
org.opencms.xml.content.CmsXmlContentFactory.unmarshal(CmsXmlContentFactory.java:186) 
at 
org.opencms.xml.content.CmsXmlContentFactory.unmarshal(CmsXmlContentFactory.java:127) 
at 
org.opencms.workplace.editors.CmsXmlContentEditor.initWorkplaceRequestValues(CmsXmlContentEditor.java:923) 
at 
org.opencms.workplace.CmsWorkplace.initWorkplaceMembers(CmsWorkplace.java:1765) 
at org.opencms.workplace.CmsWorkplace.<init>(CmsWorkplace.java:179) at 
org.opencms.workplace.tools.CmsToolDialog.<init>(CmsToolDialog.java:82) 
at org.opencms.workplace.CmsDialog.<init>(CmsDialog.java:176) at 
org.opencms.workplace.editors.CmsEditor.<init>(CmsEditor.java:175) at 
org.opencms.workplace.editors.CmsXmlContentEditor.<init>(CmsXmlContentEditor.java:150) 
at 
org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.editors.xmlcontent.editor_005fform_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.editors.xmlcontent.editor_005fform_jsp:50) 
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050506/5f3d1bdc/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: greg.vcf
Type: text/x-vcard
Size: 132 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050506/5f3d1bdc/attachment.vcf>


More information about the opencms-dev mailing list