"ARJUNA016009: Caught:: java.lang.NullPointerException" for Xid from Oracle XAResource in JBoss EAP

Solution Verified - Updated

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7
    • 6
  • Oracle

Issue

Encountering a repeated warning in the JBoss server.log

... 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)

Resolution

  • This issue lies outside of the EAP implementation.
    • Contact Oracle Support for additional assistance.
  • There is an open This content is not included.issue to improve the error reporting (in the EAP layer) for the corrupt Xid so that the specific pool associated with the invalid Xid can be identified for troubleshooting (i.e. making it possible to identify the database endpoint from which the invalid Xid was returned).

Root Cause

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.