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

Louis Coetzee (JIRA) jira-events at lists.jboss.org
Fri Jun 29 03:07:57 EDT 2007


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

Misuse of getting an @Factory to work when returning to a previous page (and in this process not yet completely understanding the JSF and Seam conversation lifespan). 

I think we can actually by pass this by defining a page action in pages.xml for that                                                                                                                                                                                                                                                                                     specific viewpage. (At the time this code was developed the page actions weren't in Seam yet).

e.g. do something like this:

 <page view-id="/public/mailman/view/viewMailmanPosting.xhtml" action="#{viewMMArchiveBean.loadPosting}"
                no-conversation-view-id="/public/content/view/viewServicesHome.xhtml" >
 </page>


> 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