[
https://issues.apache.org/jira/browse/ARIES-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17709913#comment-17709913
]
Kyle Stiemann commented on ARIES-1219:
--------------------------------------
I believe this issue has been fixed by https://github.com/apache/aries/pull/215
and can be closed.
> Weaving of Aries SPI Fly bundle produces RuntimeException: JSR/RET are not
> supported with computeFrames option
> --------------------------------------------------------------------------------------------------------------
>
> Key: ARIES-1219
> URL: https://issues.apache.org/jira/browse/ARIES-1219
> Project: Aries
> Issue Type: Question
> Environment: Apache Karaf 3.0.1
> Reporter: Eleni Giannakopoulou
> Priority: Major
> Labels: Fly, JSR/RET, Karaf, SPI
>
> Trying to integrate jBPM6 in Apache Karaf 3.0.1, we came across with
> ServiceLoader.load() issues and for that reason we have used dynamic weaving
> of Aries SPI Fly.
> While some classloading of jBPM classes, we get the following exception:
> java.lang.ClassFormatError: Weaving hook failed.
> at
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2074)
> at
> org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501)
> at
> org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
> at
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_45]
> ...
> Caused by: java.lang.RuntimeException: JSR/RET are not supported with
> computeFrames option
> at org.objectweb.asm.Frame.a(Unknown Source)
> at org.objectweb.asm.MethodWriter.visitJumpInsn(Unknown Source)
> at org.objectweb.asm.MethodVisitor.visitJumpInsn(Unknown Source)
> at org.objectweb.asm.ClassReader.a(Unknown Source)
> at org.objectweb.asm.ClassReader.b(Unknown Source)
> at org.objectweb.asm.ClassReader.accept(Unknown Source)
> at org.objectweb.asm.ClassReader.accept(Unknown Source)
> at
> org.apache.aries.spifly.dynamic.ClientWeavingHook.weave(ClientWeavingHook.java:61)
> at
> org.apache.felix.framework.util.SecureAction.invokeWeavingHook(SecureAction.java:1127)
> at
> org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2057)
> It seems that there is a problem with StackMap tables used in jBPM6. jBPM6
> has been built using JDK 1.6.0_45 and the JVM runs 1.7.0_45.
> Any suggestions would be appreciated as this is a blocking issue for us.
> Thank you in advance,
> Eleni.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)