5 Replies Latest reply on Apr 16, 2015 3:55 AM by abucs01

    UT005023: Exception handling request to /page/home.ar.html: java.lang.NullPointerException

    abucs01

      Dear All,

       

      I have recently update my wildfly 8.2 in my production cluster environment and i am getting this exception UT005023: Exception handling request to /page/home.ar.html: java.lang.NullPointerException in server log  and finally i end up with below link

       

      [WFLY-3718] UT005023: Exception handling request to /frontend/images/favicon.ico: java.lang.NullPointerException - JBoss

       

      above link is not provided the information as expected so  can you guys help me to fix this issue or any workaround so that i will not get this exception .

       

      Rgds,

      Aboo

       

      Message was edited by: Aboo salimon

        • 1. Re: UT005023: Exception handling request to /page/home.ar.html: java.lang.NullPointerException
          abucs01

          I can see this exception in my production log very frequently so Can Anyone clarify on this issue belong wildfly 8.2 issue ? are they resolved in which version ?

          • 2. Re: UT005023: Exception handling request to /page/home.ar.html: java.lang.NullPointerException
            jaikiran

            Can you post the entire exception stacktrace that you are seeing?

            • 3. Re: UT005023: Exception handling request to /page/home.ar.html: java.lang.NullPointerException
              abucs01

              Hi Jai Kiran ,

               

              2015-04-15 00:14:30,798 ERROR [io.undertow.request] (default task-71) UT005023: Exception handling request to /airlines/Supplier-Airlines.ar.html: java.lang.NullPointerException

                at io.undertow.util.Cookies.createCookie(Cookies.java:295) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

                at io.undertow.util.Cookies.parseCookie(Cookies.java:230) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

                at io.undertow.util.Cookies.parseRequestCookies(Cookies.java:199) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

                at io.undertow.server.HttpServerExchange.getRequestCookies(HttpServerExchange.java:1035) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

                at io.undertow.server.session.SessionCookieConfig.findSessionId(SessionCookieConfig.java:83) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

                at io.undertow.servlet.spec.SessionCookieConfigImpl.findSessionId(SessionCookieConfigImpl.java:58) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

                at org.wildfly.extension.undertow.session.CodecSessionConfig.findSessionId(CodecSessionConfig.java:56)

                at io.undertow.server.session.InMemorySessionManager.getSession(InMemorySessionManager.java:144) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

                at io.undertow.servlet.spec.ServletContextImpl.getSession(ServletContextImpl.java:688) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

                at io.undertow.servlet.spec.HttpServletRequestImpl.getSession(HttpServletRequestImpl.java:364) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

                at org.jboss.weld.servlet.SessionHolder.requestInitialized(SessionHolder.java:47) [weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]

                at org.jboss.weld.servlet.HttpContextLifecycle.requestInitialized(HttpContextLifecycle.java:212) [weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]

                at org.jboss.weld.servlet.WeldInitialListener.requestInitialized(WeldInitialListener.java:160) [weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]

                at io.undertow.servlet.core.ApplicationListeners.requestInitialized(ApplicationListeners.java:216) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

                at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:260) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

                at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

                at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

                at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:166) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

                at io.undertow.server.Connectors.executeRootHandler(Connectors.java:197) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

                at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_20]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_20]

                at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_20]

               

               

              2015-04-15 00:14:30,936 ERROR [io.undertow.request] (default task-71) Undertow request failed HttpServerExchange{ POST /pages/common/errorHome.xhtml}: java.lang.NullPointerException

                at io.undertow.util.Cookies.createCookie(Cookies.java:295)

                at io.undertow.util.Cookies.parseCookie(Cookies.java:230)

                at io.undertow.util.Cookies.parseRequestCookies(Cookies.java:199)

                at io.undertow.server.HttpServerExchange.getRequestCookies(HttpServerExchange.java:1035)

                at io.undertow.server.session.SessionCookieConfig.findSessionId(SessionCookieConfig.java:83)

                at io.undertow.servlet.spec.SessionCookieConfigImpl.findSessionId(SessionCookieConfigImpl.java:58)

                at org.wildfly.extension.undertow.session.CodecSessionConfig.findSessionId(CodecSessionConfig.java:56)

                at io.undertow.server.session.InMemorySessionManager.getSession(InMemorySessionManager.java:144)

                at io.undertow.servlet.spec.ServletContextImpl.getSession(ServletContextImpl.java:688)

                at io.undertow.servlet.spec.ServletContextImpl.getSession(ServletContextImpl.java:718)

                at io.undertow.servlet.spec.ServletContextImpl.updateSessionAccessTime(ServletContextImpl.java:722)

                at io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:578)

                at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:308)

                at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247)

                at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76)

                at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:166)

                at io.undertow.server.Connectors.executeRootHandler(Connectors.java:197)

                at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_20]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_20]

                at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_20]

              • 4. Re: UT005023: Exception handling request to /page/home.ar.html: java.lang.NullPointerException
                jaikiran

                That NullPointerExecption looks like a bug. Apparently, the name of the cookie is being passed as null to the method which is trying to create the cookie. Can you file a JIRA here please Undertow - JBoss Issue Tracker. If possible, please attach an application which reproduces the issue.

                • 5. Re: UT005023: Exception handling request to /page/home.ar.html: java.lang.NullPointerException
                  abucs01