felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sten Roger Sandvik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-4991) http bundle fails with IncompatibleClassChangeError
Date Mon, 31 Aug 2015 21:38:46 GMT

    [ https://issues.apache.org/jira/browse/FELIX-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14724095#comment-14724095
] 

Sten Roger Sandvik commented on FELIX-4991:
-------------------------------------------

I have also the same problem with the same bundles. Using the following versions:

{noformat}
OSX 10.11
Felix Framework 5.2.0

java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
{noformat}

Tested also using Java 1.7 with same exception.

{noformat}
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
{noformat}

Will try to see if I can find the error. Seems to be with the Http Bundle. If I use seperate
bundles (api, base, jetty, whiteboard) it seems to work.



> http bundle fails with IncompatibleClassChangeError
> ---------------------------------------------------
>
>                 Key: FELIX-4991
>                 URL: https://issues.apache.org/jira/browse/FELIX-4991
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http.bundle-3.0.0
>         Environment: linux amd64 openjdk/oracle/ibm 1.7/1.8 framework 5.0.1
>            Reporter: Ed Schaller
>             Fix For: http.bundle-3.1.0
>
>
> Jetty fails to load with an IncompatibleClassChangeException.
> ERROR: Bundle org.apache.felix.http.bundle [8] Error starting file:.../felix-framework-5.0.1/bundle/org.apache.felix.http.bundle-3.0.0.jar
(org.osgi.framework.BundleException: Activator start error in bundle org.apache.felix.http.bundle
[8].)
> java.lang.IncompatibleClassChangeError: Implementing class
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2350)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2134)
>         at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1526)
>         at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2350)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2134)
>         at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1526)
>         at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2350)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2134)
>         at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1526)
>         at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2350)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2134)
>         at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1526)
>         at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2350)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2134)
>         at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1526)
>         at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
>         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at org.apache.felix.http.jetty.internal.JettyService.initializeJetty(JettyService.java:239)
>         at org.apache.felix.http.jetty.internal.JettyService.startJetty(JettyService.java:199)
>         at org.apache.felix.http.jetty.internal.JettyService.start(JettyService.java:132)
>         at org.apache.felix.http.jetty.internal.JettyActivator.doStart(JettyActivator.java:29)
>         at org.apache.felix.http.base.internal.AbstractActivator.start(AbstractActivator.java:41)
>         at org.apache.felix.http.bundle.internal.CombinedActivator.start(CombinedActivator.java:56)
>         at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
>         at org.apache.felix.framework.Felix.activateBundle(Felix.java:2220)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:2138)
>         at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1365)
>         at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
>         at java.lang.Thread.run(Thread.java:745)
> Bundles installed
> org.apache.felix.bundlerepository-2.0.4.jar
> org.apache.felix.configadmin-1.8.6.jar
> org.apache.felix.eventadmin-1.4.2.jar
> org.apache.felix.gogo.command-0.14.0.jar
> org.apache.felix.gogo.runtime-0.16.2.jar
> org.apache.felix.gogo.shell-0.10.0.jar
> org.apache.felix.http.bundle-3.0.0.jar
> org.apache.felix.webconsole-4.2.10-all.jar



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message