Tom Ross created WFLY-3928:
------------------------------
Summary: JBossSecuritySubjectFactory throws NullPointerException during JBoss
shutdown
Key: WFLY-3928
URL:
https://issues.jboss.org/browse/WFLY-3928
Project: WildFly
Issue Type: Bug
Components: Security
Environment: JBoss EAP 6.3
Reporter: Tom Ross
Assignee: Darran Lofthouse
During JBoss shutdown we can see the following exception:
2014-09-22 16:23:51,193 ERROR [org.jboss.jca.core.tx.jbossts.XAResourceRecoveryImpl]
(Periodic Recovery) IJ000903: Error creating Subject for crash recovery:
java:/xa-resource-adapter/XAQueueConnectionFactory (null): java.lang.NullPointerException
at
org.jboss.security.plugins.JBossSecuritySubjectFactory.createSubject(JBossSecuritySubjectFactory.java:83)
at
org.jboss.jca.core.tx.jbossts.XAResourceRecoveryImpl$1.run(XAResourceRecoveryImpl.java:300)
at
org.jboss.jca.core.tx.jbossts.XAResourceRecoveryImpl$1.run(XAResourceRecoveryImpl.java:261)
at java.security.AccessController.doPrivileged(Native Method)
at
org.jboss.jca.core.tx.jbossts.XAResourceRecoveryImpl.getSubject(XAResourceRecoveryImpl.java:260)
at
org.jboss.jca.core.tx.jbossts.XAResourceRecoveryImpl.getXAResources(XAResourceRecoveryImpl.java:165)
at
com.arjuna.ats.internal.jbossatx.jta.XAResourceRecoveryHelperWrapper.getXAResources(XAResourceRecoveryHelperWrapper.java:51)
at
com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.resourceInitiatedRecoveryForRecoveryHelpers(XARecoveryModule.java:516)
at
com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkFirstPass(XARecoveryModule.java:182)
at
com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:743)
at
com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:371)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)