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

StatefulSessionSynchronizationInterceptorTestCase.testDifferentTx() failed with NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 28.0.0.Beta1, 28.0.0.Final
    • None
    • EJB
    • None

      [ERROR] testDifferentTx(org.jboss.as.ejb3.component.stateful.StatefulSessionSynchronizationInterceptorTestCase)  Time elapsed: 1.143 s  <<< ERROR!
      java.lang.NullPointerException
      	at org.jboss.as.ejb3.component.stateful.StatefulSessionSynchronizationInterceptor.processInvocation(StatefulSessionSynchronizationInterceptor.java:79)
      	at org.jboss.as.ejb3.component.stateful.StatefulSessionSynchronizationInterceptorTestCase.testDifferentTx(StatefulSessionSynchronizationInterceptorTestCase.java:99)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      

      Need to adjust the test to work the recent ejb stateful caching introduced in https://github.com/wildfly/wildfly/commit/437515fed2ffa1c6f19b7fdd9b847e7974cc9e4d

              cfang@redhat.com Cheng Fang
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: