[jboss-jira] [JBoss JIRA] (WFLY-6052) NPE on session.invalidate()

Juan AMAT (JIRA) issues at jboss.org
Fri Jan 22 15:28:00 EST 2016


Juan AMAT created WFLY-6052:
-------------------------------

             Summary: NPE on session.invalidate()
                 Key: WFLY-6052
                 URL: https://issues.jboss.org/browse/WFLY-6052
             Project: WildFly
          Issue Type: Bug
          Components: Web (Undertow)
    Affects Versions: 10.0.0.CR5
            Reporter: Juan AMAT
            Assignee: Stuart Douglas


I created a discussion about the issue some time ago but got not answer.
See: https://developer.jboss.org/message/946976#946976

The problem is that when a webapp is not marked as 'distributable' the undertow InMemorySessionManager is used.
As mentioned in the discussion the 'getSession' of this manager does not like to be called with a null parameter, which is what willdfy does.
This happens when single-sign-on is enable and multiple sessions are associated to the same sso session and 'invalidate' is called on one of the session.

The workaround is to marked all our webapps as distributable but this will have a performance impact.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list