[jbossts-issues] [JBoss JIRA] Closed: (JBTM-422) UserTransaction rollback trips over null pointer and generates inappropriate error

Andrew Dinn (JIRA) jira-events at lists.jboss.org
Fri Oct 31 07:27:30 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBTM-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Dinn closed JBTM-422.
----------------------------

    Resolution: Done


Fixed in revision 23645

> UserTransaction rollback trips over null pointer and generates inappropriate error
> ----------------------------------------------------------------------------------
>
>                 Key: JBTM-422
>                 URL: https://jira.jboss.org/jira/browse/JBTM-422
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: WS-T Implementation
>    Affects Versions: 4.4.0.GA
>            Reporter: Andrew Dinn
>            Assignee: Andrew Dinn
>             Fix For: 4.5
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> The WS-AT remote UserTransactionImple rollback method fails to detect the case where there is no TX associated with the calling thread and trips over the resulting null pointer generating an invalid error code. This problem appears in both 1.0 and 1.1 implementations and also affects methods in the WS-BA UserBusinessActivityImple class.
> This should be fixed by checking for null and explicitly throwing a WrongStateException which needs to be added to the parent API class. This is as near as  possible to the JTA behaviour where an IllegalStateException is thrown.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossts-issues mailing list