[ 
https://issues.apache.org/jira/browse/DBCP-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262685#comment-13262685
 ] 

Martin Lichtin commented on DBCP-383:
-------------------------------------

It occured while running the test code from 
https://github.com/muellerc/camel-in-transaction
I have a slight problem re-running the test, as it almost always completely 
locks up my machine :(
After reboot, my guess is that Atomikos TM needs to recover some in-doubt 
transactions and then I saw above NPE.
                
> NPE during XA commit (possibly doing startup recovery)
> ------------------------------------------------------
>
>                 Key: DBCP-383
>                 URL: https://issues.apache.org/jira/browse/DBCP-383
>             Project: Commons Dbcp
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Martin Lichtin
>
> Encountering nullpointer exception at 
> java.lang.NullPointerException
>       at 
> org.apache.commons.dbcp.managed.LocalXAConnectionFactory$LocalXAResource.commit(LocalXAConnectionFactory.java:201)
>       at 
> com.atomikos.datasource.xa.XAResourceTransaction.commit(XAResourceTransaction.java:784)
>       at com.atomikos.icatch.imp.CommitMessage.send(CommitMessage.java:73)
>       at 
> com.atomikos.icatch.imp.PropagationMessage.submit(PropagationMessage.java:111)
>       at 
> com.atomikos.icatch.imp.Propagator$PropagatorThread.run(Propagator.java:87)
>       at 
> com.atomikos.icatch.imp.Propagator.submitPropagationMessage(Propagator.java:66)
>       at 
> com.atomikos.icatch.imp.HeurHazardStateHandler.onTimeout(HeurHazardStateHandler.java:120)
>       at 
> com.atomikos.icatch.imp.CoordinatorImp.alarm(CoordinatorImp.java:1105)
>       at 
> com.atomikos.timing.PooledAlarmTimer.notifyListeners(PooledAlarmTimer.java:112)
>       at com.atomikos.timing.PooledAlarmTimer.run(PooledAlarmTimer.java:99)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>       at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to