[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1564) NullPointerException in ServerConversationContext.flush

Louis Coetzee (JIRA) jira-events at lists.jboss.org
Thu Jun 28 13:33:57 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1564?page=comments#action_12367202 ] 
            
Louis Coetzee commented on JBSEAM-1564:
---------------------------------------

I have played around a lot more... seems the issue is created by a ctx.flush in UserEnvironment.java

Context ctx = Contexts.getConversationContext();

                if (ctx != null) {
                        ctx.remove("needSelections");
                        ctx.flush();
                }

If I comment out the ctx.flush the code runs without a problem...

> NullPointerException in ServerConversationContext.flush
> -------------------------------------------------------
>
>                 Key: JBSEAM-1564
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1564
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0.BETA1
>         Environment: Seam CVS build Wed Jun 27  2007, jboss 4.2.0GA, Linux
>            Reporter: Louis Coetzee
>             Fix For: 2.0.0.CR1
>
>         Attachments: NullPointer.zip
>
>
> A NullPointerException occurs during in the org.jboss.seam.jsf.SeamPhaseListener

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