Community
Participate
Working Groups
Getting an illegal argument exception for AspectJ code with a bad pointcut. In org.aspectj.org.eclipse.jdt.core.dom.ASTConverter.convert(ASTNode[]) around line 1020, there is a statement: typeDecl.bodyDeclarations().add(convert(false, nextMethodDeclaration)); Please change this to: Declare declareDecl = convert(false, nextMethodDeclaration); if (declareDecl != null; typeDecl.bodyDeclarations().add(declareDecl); } Here is the aspect causing the trouble: package asp; public aspect Asp { declare @constructor : call(static public void main.Main.new(..)) : @Deprecated; }