1 Reply Latest reply on Jun 11, 2003 11:17 AM by 843841

    HELP! VerifyError keep throwing with SunONE application server 7

    843841
      I have deployed web application in SunONE application server 7. Some JSP is worked fine, some is not. The JSP that calling object superclass method cannot work. It always throw VerifyError.

      my code is:
      <%@ page info="page form" session="true" buffer="1024kb" import=" com.SystemException,com.exception.ApplicationException"%>

      ApplicationException ae = new ApplicationException(101010);
      int test = ae.getEventId();

      getEventId() is superclass (SystemException) method.

      I am sure I execute and compile with same jdk.

      the stacktrace is:
      [11/Jun/2003:15:15:03] SEVERE ( 5380): StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
      javax.servlet.ServletException: (class: jasper/jsp/_idex/_sp1/_sys/_sp1_sys_docmgrsendrecv_1_load_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Incompatible object argument for function call
           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.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
           at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
           at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
           at java.security.AccessController.doPrivileged(Native Method)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
           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/jsp/_idex/_sp1/_sys/_sp1_sys_docmgrsendrecv_1_load_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Incompatible object argument for function call
           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:322)
           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.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
           at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
           at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
           at java.security.AccessController.doPrivileged(Native Method)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
           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)

      Thank you very much for your help