Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1582

Initial request to previously deployed application fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.1.2.Final, 2.2.0.Alpha1
    • 2.1.1.Final
    • None
    • None
    • Hide

      1. Deploy application
      2. Navigate to main page (localhost:8080/testapp)
      3. Undeploy application
      4. Deploy again
      5. Navigate to main page and notice the error

      Show
      1. Deploy application 2. Navigate to main page (localhost:8080/testapp) 3. Undeploy application 4. Deploy again 5. Navigate to main page and notice the error

      Request fails with following exception:

      09:42:38,459 ERROR [io.undertow.request] (default I/O-2) Blocking request failed HttpServerExchange{ GET /testapp/home.jsf}: java.lang.NullPointerException
      	at org.jboss.weld.context.http.HttpConversationContextImpl.getRequestAttribute(HttpConversationContextImpl.java:47)
      	at org.jboss.weld.context.http.HttpConversationContextImpl.getRequestAttribute(HttpConversationContextImpl.java:13)
      	at org.jboss.weld.context.AbstractConversationContext.copyConversationIdGeneratorAndConversationsToSession(AbstractConversationContext.java:177)
      	at org.jboss.weld.context.AbstractConversationContext.sessionCreated(AbstractConversationContext.java:185)
      	at org.jboss.weld.servlet.ConversationContextActivator.sessionCreated(ConversationContextActivator.java:187)
      	at org.jboss.weld.servlet.HttpContextLifecycle.sessionCreated(HttpContextLifecycle.java:122)
      	at org.jboss.weld.servlet.WeldInitialListener.sessionCreated(WeldInitialListener.java:107)
      	at io.undertow.servlet.core.ApplicationListeners.sessionCreated(ApplicationListeners.java:256)
      	at io.undertow.servlet.core.SessionListenerBridge.sessionCreated(SessionListenerBridge.java:36)
      	at io.undertow.server.session.SessionListeners.sessionCreated(SessionListeners.java:32)
      	at io.undertow.server.session.InMemorySessionManager.createSession(InMemorySessionManager.java:121)
      	at io.undertow.servlet.spec.ServletContextImpl.getSession(ServletContextImpl.java:677)
      	at io.undertow.servlet.spec.ServletContextImpl.getSession(ServletContextImpl.java:691)
      	at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:110)
      	at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:56)
      	at io.undertow.server.handlers.NameVirtualHostHandler.handleRequest(NameVirtualHostHandler.java:53)
      	at io.undertow.server.handlers.error.SimpleErrorPageHandler.handleRequest(SimpleErrorPageHandler.java:76)
      	at io.undertow.server.handlers.CanonicalPathHandler.handleRequest(CanonicalPathHandler.java:43)
      	at io.undertow.server.handlers.ChannelUpgradeHandler.handleRequest(ChannelUpgradeHandler.java:158)
      	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:164)
      	at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:142)
      	at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:46)
      	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.2.0.Beta4.jar:3.2.0.Beta4]
      	at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) [xnio-api-3.2.0.Beta4.jar:3.2.0.Beta4]
      	at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:87) [xnio-nio-3.2.0.Beta4.jar:3.2.0.Beta4]
      	at org.xnio.nio.WorkerThread.run(WorkerThread.java:531) [xnio-nio-3.2.0.Beta4.jar:3.2.0.Beta4]
      

              rhn-engineering-jharting Jozef Hartinger
              tremes1@redhat.com Tomas Remes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: