[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-959) NullPointerException in ConversationEntry if stack is null

Andrew (JIRA) jira-events at lists.jboss.org
Mon Mar 26 14:15:58 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-959?page=comments#action_12357355 ] 
            
Andrew commented on JBSEAM-959:
-------------------------------

"Don't do redirects from RESTORE_VIEW"

Why not? The JSF specification (at least the JavaDoc) does not mention that this is not allowed, and therefore should be permitted and work without exceptions.

http://tinyurl.com/ytk4ew

> NullPointerException in ConversationEntry if stack is null
> ----------------------------------------------------------
>
>                 Key: JBSEAM-959
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-959
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.0.GA
>            Reporter: Keith Naas
>         Assigned To: Pete Muir
>             Fix For: 1.2.1.GA
>
>
> When the conversation stack is null, the ConversationEntry constructor throws a NullPointerException.
> There is a conditional check earlier in the constructor that causes the conversationIdStack to be set to null.  Then later it checks to see if the stack size is greater than 1.  Kablooey!
> changed to
>  if ( conversationIdStack != null && conversationIdStack.size()>1 )

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list