[jboss-jira] [JBoss JIRA] (WFLY-10226) NPE at org.wildfly.extension.undertow.deployment.LogoutSessionListener.sessionDestroyedImpl
Marcial Atiénzar Navarro (JIRA)
issues at jboss.org
Thu Apr 12 16:33:00 EDT 2018
[ https://issues.jboss.org/browse/WFLY-10226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13560509#comment-13560509 ]
Marcial Atiénzar Navarro commented on WFLY-10226:
-------------------------------------------------
[~swd847] The PR seems to work. Thanks!!!!
> NPE at org.wildfly.extension.undertow.deployment.LogoutSessionListener.sessionDestroyedImpl
> -------------------------------------------------------------------------------------------
>
> Key: WFLY-10226
> URL: https://issues.jboss.org/browse/WFLY-10226
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Affects Versions: 12.0.0.Final
> Environment: SO: RedHat
> JDK: JDK10
> Reporter: Marcial Atiénzar Navarro
> Assignee: Stuart Douglas
> Attachments: src.getExchange().png
>
>
> I've migrated from WF10 to WF12.
> It's an EAR, and I've this on jboss-all.xml:
> {code: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>
> {code}
> When I close browser tab and access after session expired on server I've this NPE:
> {code:java}
> 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)
> {code}
> I've debug it and see that "src.getExchange().getSecurityContext() " is causing this NPE.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list