<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">I tried to simplify the formatter a bit
by putting just a <h1>Hello World</h1> in the content
to render.<br>
<br>
What happens now is a Null Pointer Exception:<br>
<br>
java.lang.NullPointerException: null<br>
org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:694)<br>
org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:657)<br>
org.opencms.xml.CmsXmlContentDefinition.unmarshal(CmsXmlContentDefinition.java:387)<br>
org.opencms.xml.CmsXmlContentDefinition.getContentDefinitionForType(CmsXmlContentDefinition.java:324)<br>
org.opencms.ade.configuration.CmsADEConfigData.hasFormatters(CmsADEConfigData.java:590)<br>
org.opencms.ade.containerpage.CmsContainerpageService.getGalleryDataForPage(CmsContainerpageService.java:631)<br>
sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown Source)<br>
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br>
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br>
java.lang.reflect.Method.invoke(Unknown Source)<br>
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)<br>
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:265)<br>
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:305)<br>
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)<br>
javax.servlet.http.HttpServlet.service(HttpServlet.java:643)<br>
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)<br>
org.opencms.gwt.CmsGwtService.service(CmsGwtService.java:195)<br>
org.opencms.main.OpenCmsCore.invokeGwtService(OpenCmsCore.java:1644)<br>
org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:150)<br>
org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:166)<br>
javax.servlet.http.HttpServlet.service(HttpServlet.java:643)<br>
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)<br>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)<br>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)<br>
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879)<br>
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617)<br>
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1774)<br>
java.lang.Thread.run(Unknown Source)<br>
<br>
<br>
<br>
<br>
My questions:<br>
<br>
The field "Resource Type", what does it have to contain? Is that a
resource that is being defined<br>
via the Add Resource Dialog in the Menu Management and is put in
schemas?<br>
<br>
The Nullpointer exception stays when I change to another resource
type that is working in other formatters.<br>
So it doesn't seem to be something malformed in the resource xsd.<br>
<br>
<br>
<br>
The above<br>
Am 12.11.2015 um 12:18 schrieb Christoph Kukulies:<br>
</div>
<blockquote cite="mid:5644758D.7030308@physik.rwth-aachen.de"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div class="moz-signature">In my main.jsp I'm invoking a
container:<br>
<br>
<cms:container name="head_container" type="ev_head"/><br>
<br>
But nothing appears in the page to be rendered (despite of the
ADE elements) despite of a line:<br>
<br>
<pre id="line1"><span><span><<span class="start-tag">div</span> <span class="attribute-name">id</span>="<a moz-do-not-send="true" class="attribute-value">head_container</a>" <span class="attribute-name">rel</span>="<a moz-do-not-send="true" class="attribute-value">//OK[-1,3,0,0,2,100,0,0,1,0,0,1,[<span class="entity"><span>&</span>quot;</span>org.opencms.ade.containerpage.shared.CmsContainer/3305461447<span class="entity"><span>&</span>quot;</span>,<span class="entity"><span>&</span>quot;</span>head_container<span class="entity"><span>&</span>quot;</span>,<span class="entity"><span>&</span>quot;</span>ev_head<span class="entity"><span>&</span>quot;</span>],0,7]</a>" <span class="attribute-name">class</span>="<a moz-do-not-send="true" class="attribute-value">cms_ade_container</a>" ></span><span></span><span></<span class="end-tag">div</span>></span><span></span>
</span></pre>
<br>
-- <br>
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de </div>
<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
</div>
</body>
</html>