1 Reply Latest reply on Jun 27, 2004 12:17 AM by 807581

    jsp error-javax.servlet.ServletException

    807581
      hi:
      When I run this application on Tomcat , it 's ok
      but when the application run on SUN ONE application server . It' showed error message like below:


      Sun ONE Application Server - HTTP Status 500 Error
      The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.

      Type: Exception Report

      Message: Internal Server Error

      Exception

      javax.servlet.ServletException: (class: jasper/MEOI/_newCardAddIC_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal target of jump or branch
           at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:296)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
           at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
           at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:444)
           at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:123)
           at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:138)
           at java.security.AccessController.doPrivileged(Native Method)
           at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:355)
           at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)
           at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
           at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
           at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
           at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
           at java.security.AccessController.doPrivileged(Native Method)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
           at com.eds.tj.struts.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:101)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
           at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
           at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
           at java.security.AccessController.doPrivileged(Native Method)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:265)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
           at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
           at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)



      Root Cause
      java.lang.VerifyError: (class: jasper/MEOI/_newCardAddIC_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal target of jump or branch
           at java.lang.Class.getDeclaredConstructors0(Native Method)
           at java.lang.Class.privateGetDeclaredConstructors(Class.java:1576)
           at java.lang.Class.getConstructor0(Class.java:1748)
           at java.lang.Class.newInstance0(Class.java:266)
           at java.lang.Class.newInstance(Class.java:249)
           at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadAndInit(JspServlet.java:669)
           at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:642)
           at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:501)
           at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:333)
           at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
           at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
           at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:444)
           at org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:123)
           at org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:138)
           at java.security.AccessController.doPrivileged(Native Method)
           at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:355)
           at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)
           at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
           at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
           at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
           at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
           at java.security.AccessController.doPrivileged(Native Method)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
           at com.eds.tj.struts.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:101)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
           at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
           at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
           at java.security.AccessController.doPrivileged(Native Method)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:265)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
           at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
           at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
           at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)

      This situation take place when I try from one jsp page forward to another jsp page.

      Maybe you can help me to solve this problem!
      Thanks a lot!

      Daniel