1 Reply Latest reply on Jul 12, 2004 4:53 PM by Bill Burke

    jboss-aop-beta3 failed to transform

    Eduardo Yáñez Parareda Newbie

      Hi all, I'm newbe to JbossAOP.
      I'm using jboss-aop-beta3, hibernate 2.1.4, j2sdk 1.4.2_04, ant 1.6.1.

      When I process .class files with aopc I get this error:

      [aopc] java.lang.RuntimeException: failed to transform: support.database.DBBasicManager
      [aopc] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:805)
      [aopc] at org.jboss.aop.AspectManager.translate(AspectManager.java:508)
      [aopc] at org.jboss.aop.AspectManager.transform(AspectManager.java:462)
      [aopc] at org.jboss.aop.standalone.Compiler.compileFile(Compiler.java:196)
      [aopc] at org.jboss.aop.standalone.Compiler.compile(Compiler.java:157)
      [aopc] at org.jboss.aop.standalone.Compiler.main(Compiler.java:61)
      [aopc] Caused by: java.lang.RuntimeException: es.bancoval.bfci18n.support.database.DBBasicManager_getTgrText_N8745461484430553026_OptimizedMethodInvocation is in a parent ClassPool. Use the parent.
      [aopc] at javassist.ClassPool.checkNotFrozen(ClassPool.java:462)
      [aopc] at javassist.ClassPool.makeClass(ClassPool.java:574)
      [aopc] at org.jboss.aop.instrument.MethodExecutionTransformer.createOptimizedInvocationClass(MethodExecutionTransformer.java:116)
      [aopc] at org.jboss.aop.instrument.MethodExecutionTransformer.optimized(MethodExecutionTransformer.java:342)
      [aopc] at org.jboss.aop.instrument.MethodExecutionTransformer.instrument(MethodExecutionTransformer.java:227)
      [aopc] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:769)
      [aopc] ... 5 more

      What's the matter with my class?