[JBoss JIRA] (WFCORE-1168) Incorrect null check in SimpleResourceDefinition.Parameter.setDeprecatedSince
by Brian Stansberry (JIRA)
Brian Stansberry created WFCORE-1168:
----------------------------------------
Summary: Incorrect null check in SimpleResourceDefinition.Parameter.setDeprecatedSince
Key: WFCORE-1168
URL: https://issues.jboss.org/browse/WFCORE-1168
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 2.0.3.Final
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 2.0.4.Final
The null check checks the field being assigned instead of the param passed in:
{code}
public Parameters setDeprecatedSince(ModelVersion deprecatedSince) {
if (deprecationData == null) { // <-- OOPS!
throw ControllerLogger.ROOT_LOGGER.nullVar("deprecatedSince");
}
this.deprecationData = new DeprecationData(deprecatedSince);
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months
[JBoss JIRA] (WFLY-3928) JBossSecuritySubjectFactory throws NullPointerException during JBoss shutdown
by Bartosz Baranowski (JIRA)
[ https://issues.jboss.org/browse/WFLY-3928?page=com.atlassian.jira.plugin.... ]
Bartosz Baranowski closed WFLY-3928.
------------------------------------
Resolution: Cannot Reproduce
> 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:
> {noformat}
> 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)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months
[JBoss JIRA] (WFLY-3928) JBossSecuritySubjectFactory throws NullPointerException during JBoss shutdown
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFLY-3928?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on WFLY-3928:
-----------------------------------------------
baranowb <bbaranow(a)redhat.com> changed the Status of [bug 1152109|https://bugzilla.redhat.com/show_bug.cgi?id=1152109] from ASSIGNED to CLOSED
> 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:
> {noformat}
> 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)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months