[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2524) Exceptions ending conversations

Alessandro Lazarotti (JIRA) jira-events at lists.jboss.org
Tue Feb 19 20:11:26 EST 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2524?page=comments#action_12399982 ] 
            
Alessandro Lazarotti commented on JBSEAM-2524:
----------------------------------------------

The class org.jboss.seam.core.Manager have the method:  

"private boolean restoreAndLockConversation(ConversationEntry ce)"

... with the conditional:

      if ( ce!=null && ce.lock() )

Ocurrs the bug when "ce.lock()" return false (for some reason),  so is called   "initializeTemporaryConversation()" and the conversation is discarded.

It runs three times on this conditional in the same request. In the first time return true, second return true and of third return "false" and generated the error.

This is strange because happens even without access concurrent. In Firefox isn't common happen, but in InternetExplorer every time. 
What happens with only:  "if( ce!=null )", without ce.lock?:



> Exceptions ending conversations
> -------------------------------
>
>                 Key: JBSEAM-2524
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2524
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0.GA
>         Environment: Windows Vista, Jboss APPServer 4.2, InternetExplorer 7 - FireFox 2.0.0
>            Reporter: Alessandro Lazarotti
>             Fix For: 2.1.0.GA
>
>         Attachments: booking.zip, jboss-seam-booking.ear
>
>
> If any exception is thrown, objects in long-running conversation are discarded.
> I described how to simulate this in the forum:
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=127694&postdays=0&postorder=asc&start=10

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