[
https://issues.redhat.com/browse/WFLY-13502?page=com.atlassian.jira.plugi...
]
Cristian VL commented on WFLY-13502:
------------------------------------
The error is in fact an Exception thrown by Undertow system but it is not caught or
handled by Weld. There are multiple threads working on that session and one of them
invalidate the session and the state it is not propagated by Undertow.
UT000010: Session is invalid
-----------------------------
Key: WFLY-13502
URL:
https://issues.redhat.com/browse/WFLY-13502
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 14.0.0.Final, 16.0.0.Final
Reporter: Cristian VL
Assignee: Flavia Rainone
Priority: Critical
2020-05-21 06:00:22,239 ERROR [org.jboss.threads.errors] (default task-1145) Thread
Thread[default task-1145,5,main] threw an uncaught exception: java.lang.RuntimeException:
java.lang.IllegalStateException: UT000010: Session is invalid
X0SZbaIu078s8ChCz8YIJON59sTmY7gV2bopjwlm
at
io.undertow.servlet.spec.ServletContextImpl.invokeRunnable(ServletContextImpl.java:1029)
at io.undertow.servlet.spec.AsyncContextImpl.onAsyncComplete(AsyncContextImpl.java:614)
at io.undertow.servlet.spec.AsyncContextImpl.access$100(AsyncContextImpl.java:73)
at io.undertow.servlet.spec.AsyncContextImpl$3.run(AsyncContextImpl.java:316)
at io.undertow.servlet.spec.AsyncContextImpl$6.run(AsyncContextImpl.java:485)
at
io.undertow.servlet.spec.AsyncContextImpl$TaskDispatchRunnable.run(AsyncContextImpl.java:604)
at
org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: UT000010: Session is invalid
X0SZbaIu078s8ChCz8YIJON59sTmY7gV2bopjwlm
at
io.undertow.server.session.InMemorySessionManager$SessionImpl.getAttribute(InMemorySessionManager.java:512)
at io.undertow.servlet.spec.HttpSessionImpl.getAttribute(HttpSessionImpl.java:122)
at
org.jboss.weld.module.web.context.http.HttpConversationContextImpl.getSessionAttribute(HttpConversationContextImpl.java:37)
at
org.jboss.weld.module.web.context.http.HttpConversationContextImpl.getSessionAttribute(HttpConversationContextImpl.java:18)
at
org.jboss.weld.contexts.AbstractConversationContext.copyConversationIdGeneratorAndConversationsToSession(AbstractConversationContext.java:179)
at
org.jboss.weld.contexts.AbstractConversationContext.dissociate(AbstractConversationContext.java:157)
at
org.jboss.weld.module.web.servlet.ConversationContextActivator.activateConversationContext(ConversationContextActivator.java:116)
at
org.jboss.weld.module.web.servlet.HttpContextLifecycle.requestInitialized(HttpContextLifecycle.java:254)
at
org.jboss.weld.module.web.servlet.WeldInitialListener.requestInitialized(WeldInitialListener.java:152)
at
io.undertow.servlet.core.ApplicationListeners.requestInitialized(ApplicationListeners.java:246)
at
io.undertow.servlet.spec.AsyncContextImpl.setupRequestContext(AsyncContextImpl.java:706)
at io.undertow.servlet.spec.AsyncContextImpl.access$700(AsyncContextImpl.java:73)
at io.undertow.servlet.spec.AsyncContextImpl$7.run(AsyncContextImpl.java:619)
at io.undertow.servlet.spec.ServletContextImpl$2.call(ServletContextImpl.java:181)
at io.undertow.servlet.spec.ServletContextImpl$2.call(ServletContextImpl.java:178)
at
io.undertow.servlet.spec.ServletContextImpl.invokeRunnable(ServletContextImpl.java:1027)
... 10 more
--
This message was sent by Atlassian Jira
(v7.13.8#713008)