[ 
https://jira.nuxeo.com/browse/NXP-6077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=106221#comment-106221
 ] 

Florent Guillaume commented on NXP-6077:
----------------------------------------

The {{java.util.EmptyStackException}} is due to the fact that during error 
recovery in {{SeamExceptionHandlingListener.beforeSetErrorPageAttribute}} we 
call {{Lifecycle.endRequest()}} which clears all thread locals including the 
event context, but in this context was registered the component 
{{org.jboss.seam.transaction.SeSynchronizations}} which 
{{UTTransaction.rollback}} expects to find unchanged in its {{finally}} block.

Workaround is to keep the {{SeSynchronizations}} around during the time the 
event context is cleared and then reinitialized by 
{{FacesLifecycle.beginExceptionRecovery}}, and put it back.



> Fix more random errors due to previous errors managed by the error handler
> --------------------------------------------------------------------------
>
>                 Key: NXP-6077
>                 URL: https://jira.nuxeo.com/browse/NXP-6077
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>    Affects Versions: 5.4, 5.4.0.1
>            Reporter: Anahide Tchertchian
>            Assignee: Anahide Tchertchian
>            Priority: Major
>              Labels: rdit-w23
>             Fix For: 5.5
>
>         Attachments: server.log.2010-12-02
>
>
> Even after fix for NXP-5998, the problem still appears after some kinds of 
> errors that are not identified yet (not easy to reproduce) => incorporate a 
> patch from https://jira.jboss.org/browse/JBPAPP-1427 that may handle some of 
> these cases.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to