[aspectwerkz-user] java.lang.IllegalAccessError: gnu.trove.TObjectHash tried to access method java/lang/Object.clone()

[email protected] (Jason E. Stewart) Sun, 24 Jul 2005 20:26:11 +0530
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
Hey,

I started to use AspectWerkz-2.0 final to test AOP on my J2EE
application. I tried running online mode but I get the above error
whenever an aspect tries to run. 

So I tested some simple examples from the tutorial in offline mode and
got them to work. I then ran my J2EE code through offline mode and
deployed it. But I get the same error.

Here is the interesting bit of a stack-trace starting at the method in
my code that had it's method wrapped with an around aspect.

All help appreciated,
jas.
--

java.lang.IllegalAccessError: gnu.trove.TObjectHash tried to access method java/lang/Object.clone()Ljava/lang/Object;
	at gnu.trove.TObjectHash.clone(TObjectHash.java:123)
	at org.codehaus.aspectwerkz.expression.ArgsIndexVisitor.visit(ArgsIndexVisitor.java:93)
	at org.codehaus.aspectwerkz.expression.ast.ASTPointcutReference.jjtAccept(ASTPointcutReference.java:33)
	at org.codehaus.aspectwerkz.expression.ExpressionVisitor.visit(ExpressionVisitor.java:133)
	at org.codehaus.aspectwerkz.expression.ast.ASTExpression.jjtAccept(ASTExpression.java:18)
	at org.codehaus.aspectwerkz.expression.ExpressionVisitor.visit(ExpressionVisitor.java:121)
	at org.codehaus.aspectwerkz.expression.ExpressionVisitor.match(ExpressionVisitor.java:107)
	at org.codehaus.aspectwerkz.expression.ArgsIndexVisitor.updateContextForRuntimeInformation(ArgsIndexVisitor.java:62)
	at org.codehaus.aspectwerkz.joinpoint.management.JoinPointManager.getAdviceInfoContainerForJoinPoint(JoinPointManager.java:304)
	at org.codehaus.aspectwerkz.joinpoint.management.JoinPointManager.compileJoinPoint(JoinPointManager.java:230)
	at org.codehaus.aspectwerkz.joinpoint.management.JoinPointManager.loadJoinPoint(JoinPointManager.java:118)
	at com.pantoto.lib.Log4jInit.aw$initJoinPoints(Log4jInit.java)