Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12128

NPE in StatefulSessionSynchronizationInterceptor.java:210

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 17.0.0.Alpha1
    • Fix Version/s: None
    • Component/s: EJB, Transactions
    • Labels:
      None

      Description

      Reproducer

      ./integration-tests.sh clean install -Dts.noSmoke -Dts.clustering -Dtest=org.jboss.as.test.clustering.cluster.ejb.remote.TransactionalRemoteStatefulEJBFailoverTestCase
      
      .[0m.[33m18:10:40,409 WARN  [org.jboss.as.txn] (default task-2) WFLYTX0027: The pre-jca synchronization org.jboss.as.ejb3.component.stateful.StatefulSessionSynchronizationInterceptor$StatefulSessionSynchronization@f525ed4 associated with tx Local transaction (delegate=T
      ransactionImple < ac, BasicAction: 0:ffffc0a80002:-642358e3:5ce8176c:3d status: ActionStatus.ABORTED >, owner=Local transaction context for provider JBoss JTA transaction provider) failed during after completion: java.lang.NullPointerException
              at org.jboss.as.ejb3.component.stateful.StatefulSessionSynchronizationInterceptor.releaseInstance(StatefulSessionSynchronizationInterceptor.java:210)
              at org.jboss.as.ejb3.component.stateful.StatefulSessionSynchronizationInterceptor.handleAfterCompletion(StatefulSessionSynchronizationInterceptor.java:297)
              at org.jboss.as.ejb3.component.stateful.StatefulSessionSynchronizationInterceptor$StatefulSessionSynchronization.afterCompletion(StatefulSessionSynchronizationInterceptor.java:270)
              at org.jboss.as.txn.service.internal.tsr.JCAOrderedLastSynchronizationList.afterCompletion(JCAOrderedLastSynchronizationList.java:144)
              at org.wildfly.transaction.client.AbstractTransaction.performConsumer(AbstractTransaction.java:223)
              at org.wildfly.transaction.client.AbstractTransaction$AssociatingSynchronization.afterCompletion(AbstractTransaction.java:306)
              at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion(SynchronizationImple.java:96)
              at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:545)
              at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:472)
              at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.cancel(TwoPhaseCoordinator.java:127)
              at com.arjuna.ats.arjuna.AtomicAction.cancel(AtomicAction.java:215)
              at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.rollback(TransactionImple.java:284)
              at org.wildfly.transaction.client.provider.jboss.JBossLocalTransactionProvider$Entry.rollbackLocal(JBossLocalTransactionProvider.java:353)
              at org.wildfly.transaction.client.provider.jboss.JBossJTALocalTransactionProvider.rollbackLocal(JBossJTALocalTransactionProvider.java:132)
              at org.wildfly.transaction.client.LocalTransaction.rollback(LocalTransaction.java:93)
              at org.wildfly.transaction.client.AbstractTransaction.performConsumer(AbstractTransaction.java:241)
              at org.wildfly.transaction.client.AbstractTransaction.performConsumer(AbstractTransaction.java:247)
              at org.wildfly.transaction.client.AbstractTransaction.performAction(AbstractTransaction.java:267)
              at org.wildfly.transaction.client.provider.remoting.TransactionServerChannel.lambda$handleUserTxnRollback$0(TransactionServerChannel.java:223)
              at org.wildfly.security.auth.server.SecurityIdentity.runAsConsumer(SecurityIdentity.java:361)
              at org.wildfly.security.auth.server.Scoped.runAsConsumer(Scoped.java:112)
              at org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:60)
              at org.wildfly.transaction.client.provider.remoting.TransactionServerChannel.handleUserTxnRollback(TransactionServerChannel.java:220)
              at org.wildfly.transaction.client.provider.remoting.TransactionServerChannel$ReceiverImpl.handleMessage(TransactionServerChannel.java:99)
              at org.jboss.remoting3.remote.RemoteConnectionChannel.lambda$handleMessageData$3(RemoteConnectionChannel.java:430)
              at org.jboss.remoting3.EndpointImpl$TrackingExecutor.lambda$execute$0(EndpointImpl.java:942)
              at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
              at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
              at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
              at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
              at java.lang.Thread.run(Thread.java:748)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                cfang Cheng Fang
                Reporter:
                rhusar Radoslav Husar
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: