You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2007/09/03 05:09:34 UTC

[jira] Commented: (WW-2138) NullPointerException when use struts tag in sitemesh decorator page and decorating static html page

    [ https://issues.apache.org/struts/browse/WW-2138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42113 ] 

Don Brown commented on WW-2138:
-------------------------------

Seems fine to me. I'm running the Struts showcase app in almost exactly the same environment without issues.  Have you tried asking this on the user mailing list to see if anyone else can help?

> NullPointerException  when use struts tag in sitemesh decorator page and decorating static html page
> ----------------------------------------------------------------------------------------------------
>
>                 Key: WW-2138
>                 URL: https://issues.apache.org/struts/browse/WW-2138
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.0.9
>         Environment: tomcat6.0.13,sun jdk 1.5.0_11
>            Reporter: zhouyanming
>            Priority: Critical
>             Fix For: 2.1.0
>
>
> Caused by: java.lang.NullPointerException
> 	at org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:58)
> 	at org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.java:52)
> 	at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:49)
> 	at org.apache.jsp.WEB_002dINF.view.jsp.decorator.main_jsp._jspx_meth_s_005faction_005f0(main_jsp.java:958)
> 	at org.apache.jsp.WEB_002dINF.view.jsp.decorator.main_jsp._jspService(main_jsp.java:205)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
> 	... 53 more
> Problem is Dispatcher.getInstance() returns null.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.