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 2006/12/31 02:33:57 UTC
[jira] Commented: (WW-1580) NullPointerException
evaluateExtraParamsServletRequest(Form.java:270)
[ 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