<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Thanks Alberto,<br>
<br>
would I be able to debug that piece if I had OpenCms running
under Eclipse or IntelliJ?<br>
<br>
Am 07.05.2015 um 13:50 schrieb Alberto Gallardo:<br>
</div>
<blockquote
cite="mid:CA+zs-PxTCPY+pstAfiYbcQzZwr=ZOxNpfBY6fGCUd899OkuPtQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
It could have to do with an email launching from a jsp,
but I have no idea at the moment<br>
how to interpret the traceback.<br>
</blockquote>
<div><br>
</div>
<div>The error is triggered by OpenCms when initializing the
"formatter" taglet of your published
"/system/modules/org.my.template/formatters/footer widget
formatter.jsp". In Java, the stacktraces are written from
the innermost invokation to the outtermost:</div>
<div><br>
</div>
<div>This is the error message:</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
May 07, 2015 10:50:41 AM
org.apache.catalina.core.ApplicationDispatcher invoke<br>
SEVERE: Servlet.service() for servlet jsp threw exception<br>
org.opencms.main.CmsException: Error while reading element
bean from request<br>
</blockquote>
<div><br>
</div>
<div>Triggered by:</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
at
org.opencms.ade.configuration.CmsADEManager.getCurrentElement(CmsADEManager.java:337)<br>
</blockquote>
<div><br>
</div>
<div>...that was called here: </div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
at
org.opencms.jsp.CmsJspTagFormatter.init(CmsJspTagFormatter.java:230)<br>
</blockquote>
<div><br>
</div>
<div>..and 'init' was invoked here:</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
at
org.opencms.jsp.CmsJspTagFormatter.doStartTag(CmsJspTagFormatter.java:128)<br>
</blockquote>
<div><br>
</div>
<div>...and this was invoked by your jsp code: </div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
at
org.apache.jsp.WEB_002dINF.jsp.online.system.modules.org_my_template.<br>
formatters.footer_002dwidget_002dformatter_jsp._jspx_meth_cms_005fformatter_005f0(footer_002dwidget_002dformatter_jsp.java:109)</blockquote>
<div><br>
</div>
<div>Apache Tomcat compiles the jsps into classes in a
predefined directory, usually resulting in the namespace
prefix 'org.apache.jsp.WEB_002dINF.jsp'. The rest of the
namespace identifies where is the jsp stored.</div>
<div><br>
</div>
<div>In this case:</div>
<div> online -> online version</div>
<div> system.modules.org_my_template.formatters ->
system/modules/org.my.template/formatters</div>
<div> footer_002dwidget_002dformatter_jsp -> "footer
widget formatter.jsp"</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div><br>
</div>
<div>Alberto</div>
</div>
</div>
</div>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
</div>
</body>
</html>