[
https://issues.jboss.org/browse/JBTM-957?page=com.atlassian.jira.plugin.s...
]
jaikiran pai commented on JBTM-957:
-----------------------------------
The complete stacktrace looks like this:
{code}
14:37:50,125 WARN [com.arjuna.ats.jts] (pool-6-thread-4) ARJUNA22024:
ArjunaTransactionImple.doBeforeCompletion caught exception: org.omg.CORBA.UNKNOWN:
java.lang.NullPointerException
at
com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple.get_txcontext(ArjunaTransactionImple.java:1269)
at
com.arjuna.ArjunaOTS.ArjunaTransactionPOATie.get_txcontext(ArjunaTransactionPOATie.java:128)
at
com.arjuna.ArjunaOTS._ArjunaTransactionStub.get_txcontext(_ArjunaTransactionStub.java:1173)
at
com.arjuna.ats.jts.orbspecific.jacorb.interceptors.interposition.InterpositionClientRequestInterceptorImpl.send_request(InterpositionClientRequestInterceptorImpl.java:198)
at org.jacorb.orb.portableInterceptor.ClientInterceptorIterator.invoke(Unknown Source)
at org.jacorb.orb.portableInterceptor.AbstractInterceptorIterator.iterate(Unknown
Source)
at org.jacorb.orb.portableInterceptor.ClientInterceptorIterator.iterate(Unknown Source)
at org.jacorb.orb.ClientInterceptorHandler.invokeInterceptors(Unknown Source)
at org.jacorb.orb.ClientInterceptorHandler.handle_send_request(Unknown Source)
at org.jacorb.orb.Delegate.invoke_internal(Unknown Source)
at org.jacorb.orb.Delegate.invoke(Unknown Source)
at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source) [:1.6.0_26]
at
org.omg.CosTransactions._SynchronizationStub.before_completion(_SynchronizationStub.java:33)
at
com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple.doBeforeCompletion(ArjunaTransactionImple.java:1458)
at
com.arjuna.ats.internal.jts.orbspecific.interposition.coordinator.ServerTransaction.doBeforeCompletion(ServerTransaction.java:518)
at
com.arjuna.ats.internal.jts.orbspecific.interposition.coordinator.ServerTransaction.doCommit(ServerTransaction.java:337)
at
com.arjuna.ats.internal.jta.transaction.jts.subordinate.SubordinateAtomicTransaction.doOnePhaseCommit(SubordinateAtomicTransaction.java:161)
at
com.arjuna.ats.internal.jta.transaction.jts.subordinate.TransactionImple.doOnePhaseCommit(TransactionImple.java:316)
at
org.jboss.as.ejb3.remote.protocol.versionone.XidTransactionCommitTask.manageTransaction(XidTransactionCommitTask.java:72)
at
org.jboss.as.ejb3.remote.protocol.versionone.XidTransactionManagementTask.run(XidTransactionManagementTask.java:63)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_26]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:1.6.0_26]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_26]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_26]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_26]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_26]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
[jboss-threads-2.0.0.GA.jar:2.0.0.GA]
{code}
NullPointerException found in
com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple
--------------------------------------------------------------------------------------------------------
Key: JBTM-957
URL:
https://issues.jboss.org/browse/JBTM-957
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JTS
Affects Versions: 4.15.3
Reporter: David Lloyd
Priority: Minor
com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple's
doBeforeCompletion() method assumes that the "controlHandle" field is
initialized to a non-null value. However,
com.arjuna.ats.internal.jts.orbspecific.interposition.ServerControl does not do said
initialization despite the fact that the apparent contract published in
com.arjuna.ats.internal.jts.orbspecific.ControlImple specifies that "The derived
classes are responsible for setting everything up, including adding the control to the
list of controls...".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira