Details
-
Bug
-
Resolution: Done
-
Major
-
12.0.0.Final
-
None
-
Migration
Description
I've migrated from WF10 to WF12.
It's an EAR, and I've this on jboss-all.xml:
<?xml version="1.0" encoding="UTF-8"?> <jboss umlns="urn:jboss:1.0"> <shared-session-config xmlns="urn:jboss:shared-session-config:1.0"> <session-config> <session-timeout>30</session-timeout> <cookie-config> <path>/</path> <name>SESSIONID</name> <http-only>true</http-only> </cookie-config> </session-config> </shared-session-config> </jboss>
When I close browser tab and access after session expired on server I've this NPE:
java.lang.NullPointerException at org.wildfly.extension.undertow//org.wildfly.extension.undertow.deployment.LogoutSessionListener.sessionDestroyedImpl(LogoutSessionListener.java:82) java.lang.RuntimeException: java.lang.NullPointerException at io.undertow.servlet//io.undertow.servlet.core.SessionListenerBridge.sessionDestroyed(SessionListenerBridge.java:75)
I've debug it and see that "src.getExchange().getSecurityContext() " is causing this NPE.