Bug 79368 - java.lang.VerifyError
Summary: java.lang.VerifyError
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.2.1   Edit
Hardware: PC Windows 2000
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Andrew Clement CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-24 06:16 EST by Albert Gorski CLA
Modified: 2006-05-27 16:30 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Gorski CLA 2004-11-24 06:16:54 EST
JDK1.5 + Tomcat + Struts. aspectj arounds every 'exceute' method of Struts 
Action instance. 
I got following exception trace (works fine when comiled with SUN compiler):
java.lang.VerifyError: (class: 
de/auco/web/portal/xtra/formulars/struts/investment/DetailsAction, method: 
execute_aroundBody0 signature: 
(Lde/auco/web/portal/xtra/formulars/struts/investment/DetailsAction;Lorg/apache/
struts/action/ActionMapping;Lorg/apache/struts/action/ActionFoØñû*T»
	java.lang.Class.getDeclaredConstructors0(Native Method)
	java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
	java.lang.Class.getConstructor0(Class.java:2640)
	java.lang.Class.newInstance0(Class.java:321)
	java.lang.Class.newInstance(Class.java:303)
	org.apache.struts.util.RequestUtils.applicationInstance
(RequestUtils.java:145)
	org.apache.struts.action.RequestProcessor.processActionCreate
(RequestProcessor.java:282)
	org.apache.struts.action.RequestProcessor.process
(RequestProcessor.java:220)
	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
Comment 1 Albert Gorski CLA 2004-11-24 07:41:01 EST
Here is some more detailed desription:
I declared constant:
private(or public) static final Logger LOGGER = Logger.getLogger(MyClass.class);

then in execure there was a if/else deep for 7 levels.
Access to LOGGER provides described before problems.
Comment 2 Andrew Clement CLA 2006-05-25 05:28:40 EDT
hmmm - not sure why we didn't get round to looking at this one?  I dont suppose you can tell if it still happens with the latest version of AspectJ, 1.5.1a - we have fixed a ton of bugs since 24th Nov when it was raised...
Comment 3 Albert Gorski CLA 2006-05-27 16:30:34 EDT
I will download new AspectJ version - when it will raise again I will reopen this issue. Anyway 7 levels are not nice ... and it is good to hear that TONS on problems are resolved ;)