Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-20431

[GSS](7.3.z) JBTM-3383 - Improve ARJUNA016009: Caught:: java.lang.NullPointerException log message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.3.6.CR1, 7.3.6.GA
    • 7.3.3.GA
    • Transactions
    • None

      If the global transaction identifier is null for an Xid returned by Oracle when the XAResource.recover() method is called, it causes Narayana to log a NullPointerException.

      This is caused by an XA datasource that is not compliant with JTA which requires a (non-null) byte array. 1
       
      Ideally, a warning should be logged reporting any retrievable data found in the Xid along with the datasource for which the JDBC driver's XAResource.recover(int) returned the invalid/corrupt Xid object.

      ... WARN  [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016009: Caught:: java.lang.NullPointerException
              at com.arjuna.ats.jta.xa.XidImple.copy(XidImple.java:190)
              at com.arjuna.ats.jta.xa.XidImple.<init>(XidImple.java:69)
              at com.arjuna.ats.internal.jta.recovery.arjunacore.RecoveryXids.contains(RecoveryXids.java:153)
              at com.arjuna.ats.internal.jta.recovery.arjunacore.RecoveryXids.updateIfEquivalentRM(RecoveryXids.java:203)
              at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.refreshXidScansForEquivalentXAResourceImpl(XARecoveryModule.java:861)
              at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecoveryFirstPass(XARecoveryModule.java:629)
              at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkFirstPass(XARecoveryModule.java:189)
              at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:765)
              at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:377)
       

              rhn-support-ivassile Ilia Vassilev
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: