[seam-issues] [JBoss JIRA] Updated: (JBSEAM-4717) NPE in s:token
Valeriy Molyakov (JIRA)
jira-events at lists.jboss.org
Wed Oct 13 13:40:39 EDT 2010
[ https://jira.jboss.org/browse/JBSEAM-4717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Valeriy Molyakov updated JBSEAM-4717:
-------------------------------------
Attachment: reproduce.7z
You can use enclosed pages to reproduce a defect.
> NPE in s:token
> --------------
>
> Key: JBSEAM-4717
> URL: https://jira.jboss.org/browse/JBSEAM-4717
> Project: Seam
> Issue Type: Bug
> Components: JSF Controls
> Affects Versions: 2.2.0.GA
> Environment: JBOSS 5.1.0.GA JETTY 6.1.25 Seam 2.2.0.GA + Sun RI JSF 1.2_13
> Reporter: Valeriy Molyakov
> Attachments: reproduce.7z
>
>
> NPE raised when use s:token
> Caused by java.lang.NullPointerException with message: ""
> org.jboss.seam.ui.renderkit.TokenRendererBase.generateViewSignature(TokenRendererBase.java:177)
> org.jboss.seam.ui.renderkit.TokenRendererBase.doDecode(TokenRendererBase.java:108)
> org.jboss.seam.ui.util.cdk.RendererBase.decode(RendererBase.java:59)
> javax.faces.component.UIComponentBase.decode(UIComponentBase.java:789)
> javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1031)
> javax.faces.component.UIForm.processDecodes(UIForm.java:209)
> org.ajax4jsf.component.AjaxViewRoot$1.invokeContextCallback(AjaxViewRoot.java:400)
> line 177
> String renderStamp = form.getAttributes().get(RENDER_STAMP_ATTR).toString();
> RENDER_STAMP_ATTR is removed during form submit. If you try to make double submit attribute is missing in the map and NPE raised.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list