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

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Mar 1 11:35:09 EST 2007


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

The start was from a @Begin @Create method on a JavaBean

> 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
>
> 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