Bug 1197955

Summary: [WildFly] IllegalStateException: UT000010: Session not found
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: Component-LogicAssignee: Sean Flanigan <sflaniga>
Status: CLOSED CURRENTRELEASE QA Contact: Damian Jansen <djansen>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6CC: aeng, dchen, zanata-bugs
Target Milestone: ---Keywords: Triaged
Target Release: 3.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.7.0-SNAPSHOT Doc Type: Bug Fix
Doc Text:
Story Points: 2
Clone Of: Environment:
Last Closed: 2015-07-22 02:19:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Damian Jansen 2015-03-03 03:29:35 UTC
Description of problem:
Logging out causes an exception.

Version-Release number of selected component (if applicable):
3.7.0-snapshot

How reproducible:
Often, easy

Steps to Reproduce:
1. Log in
2. Log out

Actual results:
Error processing request
Context Path:/zanata
Servlet Path:/home.seam
Path Info:null
Query String:null
Stack Trace
java.lang.IllegalStateException: UT000010: Session not found pNX8iHjW4LWKodtr3KGw988Z
io.undertow.server.session.InMemorySessionManager$SessionImpl.getAttributeNames(InMemorySessionManager.java:329)
io.undertow.servlet.spec.HttpSessionImpl.getFilteredAttributeNames(HttpSessionImpl.java:139)
io.undertow.servlet.spec.HttpSessionImpl.getAttributeNames(HttpSessionImpl.java:134)
com.sun.faces.context.SessionMap.getKeyIterator(SessionMap.java:211)
com.sun.faces.context.BaseContextMap$KeySet.iterator(BaseContextMap.java:181)
...

Expected results:
Homepage is shown

Additional info:
Found using functional tests

Comment 1 Sean Flanigan 2015-03-04 02:51:38 UTC
See Also: https://issues.jboss.org/browse/WFLY-3529

Comment 2 Sean Flanigan 2015-03-24 07:10:09 UTC
Going by https://issues.jboss.org/browse/WFLY-3529?focusedCommentId=13047218&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13047218 , upgrading the version of Undertow to 1.2.0.Beta10 may help.  We would have to package it up as a wildfly module.

Comment 3 Sean Flanigan 2015-04-07 02:48:05 UTC
This actually seems to happen on all sorts of operations, including REST requests, not just logouts.

Comment 6 Sean Flanigan 2015-05-11 02:28:39 UTC
See https://github.com/zanata/zanata-server/pull/784 (WildFly 9 upgrade)

WildFly 9 already includes Undertow 1.2.x, so there's no need for the Undertow module I packaged.

Comment 7 Damian Jansen 2015-05-12 22:33:25 UTC
Verified (master) at 485f1b54ca0b5467e58760091dccc2a0da71dc94