You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "zhouyanming (JIRA)" <ji...@apache.org> on 2007/08/27 06:48:34 UTC
[jira] Created: (WW-2138) NullPointerException when use struts tag
in sitemesh decorator page and decorating static html page
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
Assignee: James Holmes
Priority: Critical
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.
[jira] Commented: (WW-2138) NullPointerException when use struts
tag in sitemesh decorator page and decorating static html page
Posted by "Don Brown (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (WW-2138) NullPointerException when use struts
tag in sitemesh decorator page and decorating static html page
Posted by "Don Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Don Brown resolved WW-2138.
---------------------------
Resolution: Cannot Reproduce
Fix Version/s: (was: 2.1.0)
> 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
>
> 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.
[jira] Commented: (WW-2138) NullPointerException when use struts
tag in sitemesh decorator page and decorating static html page
Posted by "zhouyanming (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42026 ]
zhouyanming commented on WW-2138:
---------------------------------
Here is filter mapping order
<filter-mapping>
<filter-name>struts-cleanup</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>sitemesh</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>Struts2</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
> 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
> Assignee: James Holmes
> Priority: Critical
>
> 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.
[jira] Updated: (WW-2138) NullPointerException when use struts tag
in sitemesh decorator page and decorating static html page
Posted by "Don Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Don Brown updated WW-2138:
--------------------------
Fix Version/s: (was: 2.0.11)
2.1.0
> 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.
[jira] Updated: (WW-2138) NullPointerException when use struts tag
in sitemesh decorator page and decorating static html page
Posted by "James Holmes (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Holmes updated WW-2138:
-----------------------------
Fix Version/s: 2.0.11
Assignee: (was: James Holmes)
> 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.0.11
>
>
> 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.
[jira] Commented: (WW-2138) NullPointerException when use struts
tag in sitemesh decorator page and decorating static html page
Posted by "zhouyanming (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-2138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42123 ]
zhouyanming commented on WW-2138:
---------------------------------
sorry,it is not a problem,please close this issue.
> 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.