It will throw the nullpoint exception when i try to run the Apps
[shopping-cart].
----------------------------------------------------------------------------------
Key: WW-1405
URL: http://issues.apache.org/struts/browse/WW-1405
Project: Struts 2
Issue Type: Bug
Components: Component Management
Reporter: Tim Chen
Priority: Critical
Reproduce step:
1. Check out the source code from svn,
2. Use the mvn install to build the project
3. Copy the struts2-shopping-cart.war to tomcat
Research:
I debug the code, the problem happen on the
org.apache.struts2.components.URL [line 180/line 213/ line 220].
The code [Dispatcher.getInstance().isPortletSupportActive()] is not careful.
The Dispatcher.getInstance() maybe null sometime.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira