Community
Participate
Working Groups
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)
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.
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...
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 ;)