You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "KnusperKeks (JIRA)" <ji...@apache.org> on 2006/12/29 14:05:57 UTC
[jira] Created: (WW-1580) NullPointerException
evaluateExtraParamsServletRequest(Form.java:270)
NullPointerException evaluateExtraParamsServletRequest(Form.java:270)
---------------------------------------------------------------------
Key: WW-1580
URL: http://issues.apache.org/struts/browse/WW-1580
Project: Struts 2
Issue Type: Bug
Environment: Netbeans 5.5 with tomcat 5.5.17 and all latest struts2 nightly builds
Reporter: KnusperKeks
Priority: Critical
Surfing on the Page by quickly clicking Links to actions causes the nullpointerexception.
But if i do exactly the same on lower speed everything is fine.
Its basically the same as this :
http://permalink.gmane.org/gmane.comp.jakarta.struts.user/133688
trace
2006-12-29 13:44:47,093 ERROR components.ClosingUIBean - Could not open template
java.lang.NullPointerException
at org.apache.struts2.components.Form.evaluateExtraParamsServletRequest(Form.java:270)
at org.apache.struts2.components.Form.populateComponentHtmlId(Form.java:224)
at org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:737)
at org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:58)
at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:54)
......
--
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
[jira] Resolved: (WW-1580) NullPointerException
evaluateExtraParamsServletRequest(Form.java:270)
Posted by "Don Brown (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/WW-1580?page=all ]
Don Brown resolved WW-1580.
---------------------------
Resolution: Fixed
Assignee: Don Brown
This problem should be resolved, since the object factory is now injected rather than the tag relying on the threadlocal. Still, I am interested in the circumstances of this issue as it may be one in other cases.
> NullPointerException evaluateExtraParamsServletRequest(Form.java:270)
> ---------------------------------------------------------------------
>
> Key: WW-1580
> URL: http://issues.apache.org/struts/browse/WW-1580
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.0.1
> Environment: Netbeans 5.5 with tomcat 5.5.17 and all latest struts2 nightly builds
> Reporter: KnusperKeks
> Assigned To: Don Brown
> Priority: Critical
> Fix For: 2.0.2
>
>
> Surfing on the Page by quickly clicking Links to actions causes the nullpointerexception.
> But if i do exactly the same on lower speed everything is fine.
> Its basically the same as this :
> http://permalink.gmane.org/gmane.comp.jakarta.struts.user/133688
> trace
> 2006-12-29 13:44:47,093 ERROR components.ClosingUIBean - Could not open template
> java.lang.NullPointerException
> at org.apache.struts2.components.Form.evaluateExtraParamsServletRequest(Form.java:270)
> at org.apache.struts2.components.Form.populateComponentHtmlId(Form.java:224)
> at org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:737)
> at org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:58)
> at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:54)
> ......
--
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
[jira] Commented: (WW-1580) NullPointerException
evaluateExtraParamsServletRequest(Form.java:270)
Posted by "Don Brown (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/WW-1580?page=comments#action_39203 ]
Don Brown commented on WW-1580:
-------------------------------
What could be happening here is that a tag is used outside the Struts filter. The ObjectFactory.getObjectFactory() returns a threadlocal value, so perhaps the varying results are an indication of different threads having different values, and if so, this is definitely a bug. How are you using the tag? Is the Struts filter always executed around the jsp?
> NullPointerException evaluateExtraParamsServletRequest(Form.java:270)
> ---------------------------------------------------------------------
>
> Key: WW-1580
> URL: http://issues.apache.org/struts/browse/WW-1580
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.0.1
> Environment: Netbeans 5.5 with tomcat 5.5.17 and all latest struts2 nightly builds
> Reporter: KnusperKeks
> Priority: Critical
> Fix For: 2.0.2
>
>
> Surfing on the Page by quickly clicking Links to actions causes the nullpointerexception.
> But if i do exactly the same on lower speed everything is fine.
> Its basically the same as this :
> http://permalink.gmane.org/gmane.comp.jakarta.struts.user/133688
> trace
> 2006-12-29 13:44:47,093 ERROR components.ClosingUIBean - Could not open template
> java.lang.NullPointerException
> at org.apache.struts2.components.Form.evaluateExtraParamsServletRequest(Form.java:270)
> at org.apache.struts2.components.Form.populateComponentHtmlId(Form.java:224)
> at org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:737)
> at org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:58)
> at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:54)
> ......
--
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
[jira] Updated: (WW-1580) NullPointerException
evaluateExtraParamsServletRequest(Form.java:270)
Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/WW-1580?page=all ]
Ted Husted updated WW-1580:
---------------------------
Fix Version/s: 2.0.2
Affects Version/s: 2.0.1
> NullPointerException evaluateExtraParamsServletRequest(Form.java:270)
> ---------------------------------------------------------------------
>
> Key: WW-1580
> URL: http://issues.apache.org/struts/browse/WW-1580
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.0.1
> Environment: Netbeans 5.5 with tomcat 5.5.17 and all latest struts2 nightly builds
> Reporter: KnusperKeks
> Priority: Critical
> Fix For: 2.0.2
>
>
> Surfing on the Page by quickly clicking Links to actions causes the nullpointerexception.
> But if i do exactly the same on lower speed everything is fine.
> Its basically the same as this :
> http://permalink.gmane.org/gmane.comp.jakarta.struts.user/133688
> trace
> 2006-12-29 13:44:47,093 ERROR components.ClosingUIBean - Could not open template
> java.lang.NullPointerException
> at org.apache.struts2.components.Form.evaluateExtraParamsServletRequest(Form.java:270)
> at org.apache.struts2.components.Form.populateComponentHtmlId(Form.java:224)
> at org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:737)
> at org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:58)
> at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:54)
> ......
--
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