2 Replies Latest reply on Jul 17, 2016 8:17 AM by jayanthkashyap

    error running jsp page in jboss, any ideas how to fix?

    reggsoft

      error running jsp page in jboss, any ideas how to fix?

       

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      org.apache.jasper.JasperException: java.lang.NullPointerException org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:413) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) 

       

      root cause

      java.lang.NullPointerException javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1858) org.apache.jsp.temp_jsp._jspx_meth_f_005fview_005f0(temp_jsp.java:110) org.apache.jsp.temp_jsp._jspService(temp_jsp.java:88) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) javax.servlet.http.HttpServlet.service(HttpServlet.java:847) 

       

      note The full stack trace of the root cause is available in the JBoss Web/7.0.1.Final logs.

       

       

       

      ---------------

       

      04:42:44,245 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-

      host].[/citypress-1.0-SNAPSHOT].[jsp]] (http--127.0.0.1-8080-1) Servlet.service(

      ) for servlet jsp threw exception: java.lang.NullPointerException

              at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClas

      sicTagBase.java:1858) [jboss-jsf-api_2.1_spec-2.0.0.Beta1.jar:2.0.0.Beta1]

              at org.apache.jsp.temp_jsp._jspx_meth_f_005fview_005f0(temp_jsp.java:110

      )

              at org.apache.jsp.temp_jsp._jspService(temp_jsp.java:88)

              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [j

      bossweb-7.0.1.Final.jar:7.0.2.Final]

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-s

      ervlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper

      .java:369) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3

      26) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [jb

      ossweb-7.0.1.Final.jar:7.0.2.Final]

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-s

      ervlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl

      icationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF

      ilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV

      alve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV

      alve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

              at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(Secu

      rityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

       

       

              at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-we

      b-7.0.2.Final.jar:7.0.2.Final]

              at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmC

      loserValve.java:49) [jboss-as-jpa-7.0.2.Final.jar:7.0.2.Final]

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j

      ava:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j

      ava:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal

      ve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav

      a:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java

      :877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce

      ss(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:95

      2) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

              at java.lang.Thread.run(Thread.java:722) [:1.7.0]

        • 1. Re: error running jsp page in jboss, any ideas how to fix?
          sowjanya86

          Did you find the solution i have strucked with this.

          • 2. Re: error running jsp page in jboss, any ideas how to fix?
            jayanthkashyap

            I too get a similar error while running a jsp file:-

            Error processing request

            Context Path:/LoginApp

            Servlet Path:/success.jsp

            Path Info:null

            Query String:null

            Stack Trace

            org.apache.jasper.JasperException: java.lang.NullPointerException

            org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:473)

            org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:402)

            org.apache.jasper.servlet.JspServlet.service(JspServlet.java:346)

            javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

            io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)

            io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

            io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)

            io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

            org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)

            io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

            io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)

            io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

            io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

            io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

            io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

            io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)

            io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)

            io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)

            io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)

            io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

            org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)

            io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

            io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

            io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)

            io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)

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

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

            io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)

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

            java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

            java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

            java.lang.Thread.run(Thread.java:745)