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

SessionManager.createSession(...) throws NPE if existence check triggers session expiration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.Alpha2
    • 8.0.0.Alpha1
    • Clustering
    • None

      The following exception has been noticed in the logs in an intermittently failing testcase (org.jboss.as.test.clustering.cluster.web.expiration.FineSessionExpirationTestCase(SYNC-tcp).test):

      Caused by: java.lang.NullPointerException
          at org.wildfly.clustering.web.infinispan.session.fine.FineSessionFactory.createImmutableSession(FineSessionFactory.java:80)
          at org.wildfly.clustering.web.infinispan.session.fine.FineSessionFactory.createImmutableSession(FineSessionFactory.java:52)
          at org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.removed(InfinispanSessionManager.java:253)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_17]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_17]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_17]
          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_17]
          at org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:213)
          ... 107 more
      

      Entire logs of the failure have been attached to the JIRA.

        1. log.txt
          37 kB
          Jaikiran Pai

              pferraro@redhat.com Paul Ferraro
              jaikiran Jaikiran Pai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: