[JBoss JIRA] (JBTM-1715) NPE when using CompensationManager within an in-flowed WS-BA transaction
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1715?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-1715:
--------------------------------
Fix Version/s: (was: 6.later)
> NPE when using CompensationManager within an in-flowed WS-BA transaction
> ------------------------------------------------------------------------
>
> Key: JBTM-1715
> URL: https://issues.jboss.org/browse/JBTM-1715
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: TXFramework
> Reporter: Paul Robinson
> Assignee: Gytis Trikleris
> Priority: Minor
> Fix For: 5.later
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> The following error occurs if an injected CompensationManager is invoked within the scope of a compensation-based transaction that was in-flowed via a WS-BA transaction.
> {quote}
> 16:17:09,879 ERROR [org.jboss.as.ejb3.invocation] (default task-18) JBAS014134: EJB Invocation failed on component TestServiceService for method public void org.jboss.narayana.compensations.functiona[617/9100]
> ted.TestServiceService.saveDataCancelOnFailure(java.lang.Boolean): javax.ejb.EJBException: java.lang.NullPointerException
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:166) [wildfly-ejb3-8.0.0.Alpha2-SNAPSHOT.jar:8.0.0.Alpha2-SNAPSHOT]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:251) [wildfly-ejb3-8.0.0.Alpha2-SNAPSHOT.jar:8.0.0.Alpha2-SNAPSHOT]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:316) [wildfly-ejb3-8.0.0.Alpha2-SNAPSHOT.jar:8.0.0.Alpha2-SNAPSHOT]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:215) [wildfly-ejb3-8.0.0.Alpha2-SNAPSHOT.jar:8.0.0.Alpha2-SNAPSHOT]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:289)
> at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-8.0.0.Alpha2-SNAPSHOT.jar:8.0.0.Alpha2-SNAPS
> HOT]
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (JBTM-1715) NPE when using CompensationManager within an in-flowed WS-BA transaction
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1715?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-1715:
--------------------------------
Fix Version/s: 5.later
> NPE when using CompensationManager within an in-flowed WS-BA transaction
> ------------------------------------------------------------------------
>
> Key: JBTM-1715
> URL: https://issues.jboss.org/browse/JBTM-1715
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: TXFramework
> Reporter: Paul Robinson
> Assignee: Gytis Trikleris
> Priority: Minor
> Fix For: 5.later
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> The following error occurs if an injected CompensationManager is invoked within the scope of a compensation-based transaction that was in-flowed via a WS-BA transaction.
> {quote}
> 16:17:09,879 ERROR [org.jboss.as.ejb3.invocation] (default task-18) JBAS014134: EJB Invocation failed on component TestServiceService for method public void org.jboss.narayana.compensations.functiona[617/9100]
> ted.TestServiceService.saveDataCancelOnFailure(java.lang.Boolean): javax.ejb.EJBException: java.lang.NullPointerException
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:166) [wildfly-ejb3-8.0.0.Alpha2-SNAPSHOT.jar:8.0.0.Alpha2-SNAPSHOT]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:251) [wildfly-ejb3-8.0.0.Alpha2-SNAPSHOT.jar:8.0.0.Alpha2-SNAPSHOT]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:316) [wildfly-ejb3-8.0.0.Alpha2-SNAPSHOT.jar:8.0.0.Alpha2-SNAPSHOT]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:215) [wildfly-ejb3-8.0.0.Alpha2-SNAPSHOT.jar:8.0.0.Alpha2-SNAPSHOT]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:289)
> at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-8.0.0.Alpha2-SNAPSHOT.jar:8.0.0.Alpha2-SNAPS
> HOT]
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (JBTM-1802) Consider moving Arquillian profiles to root pom.xml
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1802?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-1802:
--------------------------------
Fix Version/s: (was: 6.later)
> Consider moving Arquillian profiles to root pom.xml
> ---------------------------------------------------
>
> Key: JBTM-1802
> URL: https://issues.jboss.org/browse/JBTM-1802
> Project: JBoss Transaction Manager
> Issue Type: Enhancement
> Components: Build System, Testing
> Reporter: Paul Robinson
> Assignee: Amos Feng
> Priority: Minor
>
> We have three Arquillian profiles (for managed, remote and ipv6-managed) present in the pom of nearly every test that uses Arquillian. I suspect they can all be identical and thus placed int he root pom.xml. This should simplify maintenance and will ensure any fixes to this config are made throughout.
> The problem is that we may have legitimate reasons for this config to differ for some tests. Maybe we could use overrides in these cases.
> Assigning to Tom for his input.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months
[JBoss JIRA] (JBTM-1507) Review the TXBridge tests usage of Arquillian
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-1507?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-1507:
--------------------------------
Fix Version/s: (was: 6.later)
> Review the TXBridge tests usage of Arquillian
> ---------------------------------------------
>
> Key: JBTM-1507
> URL: https://issues.jboss.org/browse/JBTM-1507
> Project: JBoss Transaction Manager
> Issue Type: Enhancement
> Components: Testing, TxBridge
> Reporter: Paul Robinson
> Assignee: Gytis Trikleris
> Priority: Minor
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> The TXBridge tests don;t seem to be using Arquillian correctly. There is a servlet that is invoked to do things inside the container. As the tests (should) now run in the container, this should not be needed.
> The tests also seem to have added complexity due to the recovery tests. As the recovery tests need to be able to kill the container, it mandates manual container lifecycle management for *all* tests. We may want to pull out the recovery tests into a separate module.
> We also may want to pull out the DisabledContextPropagationTest into a separate module as they use a modified AS configuration.
> We should also take a general look at how the tests are structured and using Arq.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 4 months