1 Reply Latest reply: Jan 5, 2015 4:06 AM by sj 86 RSS

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

    Nick Gun Newbie

      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]