2 Replies Latest reply on Nov 8, 2012 9:56 AM by shaikhdahood

    Servlet.service() for servlet action threw exception

    shaikhdahood

      My application is deployed successfully on Jboss but when i run the application is get the below error in the console.

      can anybody help in fixing this issue please.

       

       

      02:47:20,453 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/OEpollSched].[action]] (http--127.0.0.1-8080-1) Servlet.service() for servlet action threw exception:

       

       

      java.lang.NullPointerException

                at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processPageFlowRequest(PageFlowRequestProcessor.java:707) [beehive-netui-core.jar:1.0.2]

                at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:474) [beehive-netui-core.jar:1.0.2]

                at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853) [beehive-netui-core.jar:1.0.2]

                at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631) [beehive-netui-core.jar:1.0.2]

                at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158) [beehive-netui-core.jar:1.0.2]

                at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) [struts.jar:1.1]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.10.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.10.Final.jar:]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.10.Final.jar:]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.10.Final.jar:]

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.10.Final.jar:]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.10.Final.jar:]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.10.Final.jar:]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.10.Final.jar:]

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.10.Final.jar:]

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.10.Final.jar:]

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.10.Final.jar:]

                at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_14]

       

       

      02:47:21,615 INFO  [org.apache.struts.util.PropertyMessageResources] (http--127.0.0.1-8080-1) Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true

        • 1. Re: Servlet.service() for servlet action threw exception
          nickarls

          Hard to tell from that. Perhaps the PageFlowRequestProcessor makes some false assumtions about classloading and tries to pull a definition file from somewhere it's not and dies with a NPE. Which is a bit strange since one would think it would come up with some more meaningful error message.

          • 2. Re: Servlet.service() for servlet action threw exception
            shaikhdahood

            Thanks for the reply Nick!

            Its very much true, But is there any way to get much more meaningful message in the console like kind of tracktrace and try to get the detail issue.

            I am looking if there is any configuration in Jboss that can be enabled in jBoss that will show detail error messages.

            Any help in this is highly appreciated!