[jboss-user] [JBoss AOP] - Re: Dynamic AOP and User-Defined Class Loader

shu_boston do-not-reply at jboss.com
Mon May 12 13:40:58 EDT 2008


Flavia,

I still have a problem. Revised code throws the following exception. My class loader loads the test.Test$JoinPoint_print4216308509294254048 class , but javassist cannot see it. I have no idea what's happening.
Can you please help me out?


  | java.lang.RuntimeException: Error generating joinpoint class for joinpoint Method[method=public void test.Test.print()]
  | 	at org.jboss.aop.instrument.JoinPointGenerator.doGenerateJoinPointClass(JoinPointGenerator.java:321)
  | 	at org.jboss.aop.instrument.JoinPointGenerator.access$100(JoinPointGenerator.java:77)
  | 	at org.jboss.aop.instrument.JoinPointGenerator$GenerateJoinPointClassAction$2.generateJoinPointClass(JoinPointGenerator.java:1672)
  | 	at ...
  | 
  | Caused by: javassist.NotFoundException: test.Test$JoinPoint_print4216308509294254048
  | 	at javassist.ClassPool.get(ClassPool.java:436)
  | 	at org.jboss.aop.instrument.JoinPointGenerator.generateJoinpointClass(JoinPointGenerator.java:401)
  | 	at org.jboss.aop.instrument.JoinPointGenerator.doGenerateJoinPointClass(JoinPointGenerator.java:287)
  |        at ...
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150166#4150166

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150166



More information about the jboss-user mailing list