tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anjan Bacchu <anjan....@gmail.com>
Subject Fix for java.lang.VerifyError in tomcat 7.0.19 all the way thru tomcat 7.0.27!!
Date Thu, 31 May 2012 13:26:05 GMT
Hi all,

  I've been a tomcat user for about 10 years -- starting with 3.x. So
thanks the user and dev community for all the help.

I recently tried moving our appserver from 5.5 to 7. as soon as I deployed
our webapp to tomcat 7.0.27 and tried the app, I got a
java.lang.VerifyError.
down below is the stack Trace. this happens after I have entered the
credentials to the login page and POSTing it to another jsp (ChLogin.jsp).

I noticed that this error doesn't happen in tomcat 7.0.16 but happens in
tomcat 7.0.19 and all the way to 7.0.27.

Should I stay back with tomcat 7.0.16 OR can tomcat dev fix the bug so we
get the latest /nicest version ?

P.S : I downloaded the tar.gz version of tomcat and deployed it on RHEL 5.3
on tomcat 1.6.0_26 all thru 1.6.0_31.

Thank you very much,

BR,
~A


javax.servlet.ServletException: java.lang.VerifyError: (class:
org/apache/jsp/ChLogin_jsp, method: _jspService signature:
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V)
Inconsistent stack height 0 != 1

	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:342)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	web.AuthFilter.doFiltering(AuthFilter.java:74)
	web.AuthFilter.doFilter(AuthFilter.java:58)

*root cause*

java.lang.VerifyError: (class: org/apache/jsp/ChLogin_jsp, method:
_jspService signature:
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V)
Inconsistent stack height 0 != 1
	java.lang.Class.getDeclaredConstructors0(Native Method)
	java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
	java.lang.Class.getConstructor0(Class.java:2699)
	java.lang.Class.newInstance0(Class.java:326)
	java.lang.Class.newInstance(Class.java:308)
	org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:172)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	web.AuthFilter.doFiltering(AuthFilter.java:74)
	web.AuthFilter.doFilter(AuthFilter.java:58


BR,
~A

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message