Bug 900293 (JBPAPP6-749)
| Summary: | Domain management API fails to expose JTS participant records from the transaction object store | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Ivo Studensky <istudens> | ||||
| Component: | Transaction Manager | Assignee: | Michael <mmusgrov> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.0.0 | CC: | istudens, paul.robinson | ||||
| Target Milestone: | --- | ||||||
| Target Release: | EAP 6.0.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://jira.jboss.org/jira/browse/JBPAPP6-749 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-05-22 10:08:43 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Labels: Added: eap6_need_triage The attached patch fixes the issue. Attachment: Added: 0242-JBPAPP-8824-Fix-NPE-whilst-probing-txn-logs.patch The attached patch seems to be good. I ran the test again with the patch applied and they passed. Git Pull Request: Added: https://github.com/jbossas/jboss-as/pull/2223 Link: Added: This issue is related to JBQA-6260 upstream pull request merged. Will be in EAP CR build. Git Pull Request: Removed: https://github.com/jbossas/jboss-as/pull/2223 Added: https://github.com/jbossas/jboss-as/pull/2223 Labels: Removed: eap6_need_triage Verified on ER8. Docs QE Status: Removed: NEW |
project_key: JBPAPP6 Domain management API fails when trying to expose transaction participants under JTS. Under JTA it works nicely, but under JTS it fails with NPE, see the following log snippet. {noformat} 16:41:07,653 INFO [org.jboss.as.test.jbossts.tooling.ToolingTestCase] (main) operation={ "operation" => "probe", "address" => [ ("subsystem" => "transactions"), ("log-store" => "log-store") ] } 16:41:07,733 WARN [com.arjuna.ats.arjuna] (management-handler-thread - 2) ARJUNA012035: Activate of object with id = 0:0:0:0:0 and type /StateManager/AbstractRecord/ExtendedResourceRecord unexpectedly failed 16:41:07,738 WARN [com.arjuna.ats.arjuna] (management-handler-thread - 2) ARJUNA012035: Activate of object with id = 0:0:0:0:0 and type /StateManager/AbstractRecord/ExtendedResourceRecord unexpectedly failed 16:41:07,896 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) JBAS014612: Operation ("probe") failed - address: ([ ("subsystem" => "transactions"), ("log-store" => "log-store") ]): java.lang.NullPointerException at org.jboss.as.txn.subsystem.LogStoreProbeHandler.addParticipants(LogStoreProbeHandler.java:109) at org.jboss.as.txn.subsystem.LogStoreProbeHandler.addTransactions(LogStoreProbeHandler.java:143) at org.jboss.as.txn.subsystem.LogStoreProbeHandler.probeTransactions(LogStoreProbeHandler.java:161) at org.jboss.as.txn.subsystem.LogStoreProbeHandler.execute(LogStoreProbeHandler.java:184) at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385) [jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT] at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272) [jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT] at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200) [jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT] at org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:466) [jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT] at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385) [jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT] at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272) [jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT] at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200) [jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT] at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:121) [jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT] at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:139) [jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT] at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:108) [jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT] at org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:287) [jboss-as-protocol-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT] at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:487) [jboss-as-protocol-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_31] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_31] at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31] at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:2.0.0.GA] {noformat} According to first lines of the snippet above it seems that the failure comes from JBossTS, see Arjuna warnings. NPE is then thrown out from the following line of org.jboss.as.txn.subsystem.LogStoreProbeHandler: {noformat} String pAddress = pAttributes.get(JNDI_PROPNAME); {noformat} Steps to reproduce: # git clone git://github.com/istudens/jboss-as.git # cd jboss-as # git checkout crash_rec_tests # ./build.sh clean install -DskipTests -Dts.noSmoke # cd testsuite/integration/jbossts # mvn clean install -Dtest=ToolingTestCase#commitHalt -Djbossts.jts