11 Replies Latest reply on Oct 25, 2010 9:11 AM by Dinesh venkatesan

    Jsp Compliance issue

    Dinesh venkatesan Newbie

      Hi,

        I have created  application in jsp page and try to deploy in JBoss but its showing some error like this...

      i am using JBoss 5.1.0GA.but This application is working fine as the expected behavior with oracle app server.. please anyone help me..

       

      i have attached my jsp page also...

       

       

      org.apache.jasper.JasperException: An exception occurred processing JSP page /BasePage_New.jsp at line 131

      128: MenuVO menuVo=(MenuVO)session.getAttribute("menuLink");
      129: EmpProfileVO empProfile = (EmpProfileVO)itilSession.getAttribute("EmpProfileVO");
      130: Map pageCountMap = new HashMap();
      131: Vector  xmlData = menuVo.getBufReader();
      132:                     
      133:                       String link="",str="";
      134:                       for(int i=0;i<xmlData.size();i++)


      Stacktrace:
           org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:498)
           org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
           org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
           org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      root cause

      java.lang.NullPointerException
           org.apache.jsp.BasePage_005fNew_jsp._jspService(BasePage_005fNew_jsp.java:206)
           org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
           org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
           org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
           org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)