Community
Participate
Working Groups
Created attachment 213256 [details] error screen shot Note dark border shadow on screenshot indicating the sheer number of windows. Have to click "OK" dozens of times to close all. Details pane contains: org.aspectj.apache.bcel.classfile.ClassFormatException at org.aspectj.apache.bcel.classfile.Utility.typeOfSignature(Utility.java:781) at org.aspectj.apache.bcel.generic.Type.getType(Type.java:184) at org.aspectj.weaver.bcel.BcelWorld.makeBcelType(BcelWorld.java:337) at org.aspectj.weaver.bcel.BcelTypeMunger.makeMethodGen(BcelTypeMunger.java:742) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeNewMethod(BcelTypeMunger.java:888) This is the STS 2.9.1 release.
Such a shame that method didn't tell us which class was causing the problem. Are you able to share your project with me or shall I push out a debug build that will include the information we need? One of the classes in your build has something 'funny' about it and it is tripping up AspectJ. Are you by any chance using groovy code anywhere?
No groovy that I'm aware of. However it's a huge workspace with many projects, although most are spring j2ee based. Can I email more stack details to you directly when it happens again? I have to keep some details off the web at large. Apologies for making this harder than it needs to be.
i'll craft a debug build where we can get some info about the problem class.
Created attachment 213348 [details] patch for a class to introduce more diagnostics This is a patch for the weaver. To apply it, shutdown eclipse then go into the plugins folder for your eclipse installation. Find the most recent org.aspectj.weaver plugin. In there backup aspectjweaver.jar: cp aspectjweaver.jar aspectjweaver.jar.original then unzip this patch jar -xvf bug375477.zip then apply it jar -uvf aspectjweaver.jar org now restart eclipse. It should produce a diagnostic message like this: throw new RuntimeException("Problem with makeMethodGen for method "+member.getName()+" in type "+gen.getName()+" ret="+member.getReturnType(),cfe); the return type value is likely the funny looking signature we need to investigate.
Running with patch, have not seen problem since.
thanks for the feedback. At least if it happens again we should get a more detailed stacktrace, I might commit this debug patch for now.
I'm having the exact issue but a bit different. Should try the patch as well?
Created attachment 226358 [details] aspectJ-error error I"m getting