<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
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
:-/ )<br>
<br>
Greg<br>
<br>
--------------------------<br>
<br>
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?<br>
<br>
<div unselectable="on">
<p><b>java.lang.NullPointerException</b></p>
<p>Requested resource: <b>/system/workplace/editors/xmlcontent/editor_form.jsp</b><br>
OpenCms version: <b>6.0 beta 3 Corrin</b><br>
OpenCms context: <b>/opencms/opencms<br>
</b></p>
<p>The following is the top few lines of the stack trace.<br>
</p>
<p>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)
</p>
</div>
<br>
</body>
</html>