You should only need to remove messages.jsp from error.jsp, not
decorators/default.jsp.
Matt
On 4/6/07, tibi <[EMAIL PROTECTED]> wrote:
hi
i get this nullpointer. probably its a problem in struts2. the problem
is that my user has no role attached ( a bug i'm working on).
but the displaying of the error is not possible because this nullpointer
happens.
as matt ones told me this can be avoided if by removing:
<%@ include file="/common/messages.jsp" %>
from error.jsp and from
ecorators/default.jsp
but shouldn't this be solved??...
java.lang.NullPointerException
at org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:58)
at
org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.java:54)
at
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:49)
at
org.apache.jsp.error_jsp._jspx_meth_s_if_0(org.apache.jsp.error_jsp:231)
at
org.apache.jsp.error_jsp._jspService(org.apache.jsp.error_jsp:121)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]