[
http://jira.jboss.com/jira/browse/JBPM-139?page=all ]
Thomas Diesler resolved JBPM-139.
---------------------------------
Resolution: Out of Date
Unable to apply aop interceptors to Node
----------------------------------------
Key: JBPM-139
URL:
http://jira.jboss.com/jira/browse/JBPM-139
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM 3.0 alpha 4
Environment: JBoss 4.0.1 sp1, jboss-aop-1.1.1, (jboss-aop-jdk50.deployer),
jdk1.5.0_02, Win XP sp2
Reporter: David Good
Assigned To: Tom Baeyens
Priority: Minor
When attempting to apply any interceptor to org.jbpm.graph.Node the exception below is
reported. The result is the same for all subclasses of Node.
This is a major problem for predictive scheduling.
java.lang.RuntimeException: failed to transform: org.jbpm.graph.def.Node
at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:626)
at org.jboss.aop.AspectManager.translate(AspectManager.java:572)
at org.jboss.aop.AspectManager.transform(AspectManager.java:490)
at org.jboss.aop.standalone.AOPTransformer.aspectTransform(AOPTransformer.java:59)
at org.jboss.aop.standalone.AOPTransformer.transform(AOPTransformer.java:51)
at sun.instrument.TransformerManager.transform(TransformerManager.java:122)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at org.jbpm.jpdl.par.ProcessArchive.createProcessDefinition(ProcessArchive.java:92)
at
com.axxia.workflow.afcl.service.AbstractProcessTest.deployArchive(AbstractProcessTest.java:67)
at
com.axxia.workflow.afcl.service.TestProcessService.<init>(TestProcessService.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at junit.framework.TestSuite.createTest(TestSuite.java:135)
at junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
at junit.framework.TestSuite.<init>(TestSuite.java:75)
at junit.framework.TestSuite.addTestSuite(TestSuite.java:101)
at com.axxia.workflow.afcl.service.AllTests.suite(AllTests.java:26)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.getTest(RemoteTestRunner.java:401)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:441)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:342)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:194)
Caused by: javassist.CannotCompileException: [source error] sorry, synchronized is not
supported
at javassist.CtNewMethod.make(CtNewMethod.java:78)
at javassist.CtNewMethod.make(CtNewMethod.java:44)
at org.jboss.aop.instrument.Instrumentor.addBaseElements(Instrumentor.java:642)
at org.jboss.aop.instrument.Instrumentor.setupBasics(Instrumentor.java:875)
at
org.jboss.aop.instrument.MethodExecutionTransformer.instrument(MethodExecutionTransformer.java:191)
at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:574)
... 38 more
Caused by: compile error: sorry, synchronized is not supported
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:346)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
at javassist.compiler.CodeGen.atStmnt(CodeGen.java:325)
at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:266)
at javassist.compiler.CodeGen.atMethodDecl(CodeGen.java:248)
at javassist.compiler.ast.MethodDecl.accept(MethodDecl.java:43)
at javassist.compiler.Javac.compileMethod(Javac.java:158)
at javassist.compiler.Javac.compile(Javac.java:93)
at javassist.CtNewMethod.make(CtNewMethod.java:73)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira