Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 14.0.0.Final, 16.0.0.Final
    • Fix Version/s: None
    • Component/s: Web (Undertow)
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      It happens randomly from time to time.
      I am using Weld with JSP/Servlets.

      Sessions are created and invalidate on ServletRequestListener (requestInitialized/requestDestroyed)

      Show
      It happens randomly from time to time. I am using Weld with JSP/Servlets. Sessions are created and invalidate on ServletRequestListener (requestInitialized/requestDestroyed)

      Description

      
      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
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                flavia.rainone Flavia Rainone
                Reporter:
                cveli Cristian VL
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: