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

Pete Muir (JIRA) jira-events at lists.jboss.org
Sun Mar 11 11:44:47 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-959?page=all ]

Pete Muir resolved JBSEAM-959.
------------------------------

    Fix Version/s: 1.2.1.GA
       Resolution: Out of Date

So, now I'm getting javax.ejb.EJBException: java.lang.IllegalStateException: Do not start long-running conversations in direct calls to EJBs when I try to reproduce what I had before, so resolving

> 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