Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-11216

PAX-CDI with Jackson stopped working on JDK 1.7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • jboss-fuse-6.3
    • jboss-fuse-6.3
    • Karaf
    • None

      Karaf bundles which use PAX-CDI and Jackson stopped working on last Fuse 6.3 build on JDK 1.7.

      Caused by:

      Caused by: java.lang.UnsupportedClassVersionError: org/codehaus/jackson/annotate/JsonIgnoreProperties : Unsupported major.minor version 52.0
      

      Full log

      2019-08-15 07:49:13,875 | INFO  | edhat-413/deploy | AbstractCdiContainer             | 299 - org.ops4j.pax.cdi.spi - 1.0.0.RC1 | Starting CDI container for bundle org.jboss.qe.fsw.shared-tools [377]
      2019-08-15 07:49:13,910 | INFO  | edhat-413/deploy | Bootstrap                        | 302 - org.jboss.weld.osgi-bundle - 2.3.2.Final | WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
      2019-08-15 07:49:13,990 | ERROR | lixDispatchQueue | extender                         | 297 - org.ops4j.pax.cdi.extender - 1.0.0.RC1 | FrameworkEvent ERROR - org.ops4j.pax.cdi.extender
      org.jboss.weld.exceptions.DeploymentException: org/codehaus/jackson/annotate/JsonIgnoreProperties : Unsupported major.minor version 52.0
      	at org.jboss.weld.executor.AbstractExecutorServices.checkForExceptions(AbstractExecutorServices.java:66)[302:org.jboss.weld.osgi-bundle:2.3.2.Final]
      	at org.jboss.weld.executor.AbstractExecutorServices.invokeAllAndCheckForExceptions(AbstractExecutorServices.java:43)[302:org.jboss.weld.osgi-bundle:2.3.2.Final]
      	at org.jboss.weld.executor.AbstractExecutorServices.invokeAllAndCheckForExceptions(AbstractExecutorServices.java:51)[302:org.jboss.weld.osgi-bundle:2.3.2.Final]
      	at org.jboss.weld.bootstrap.ConcurrentBeanDeployer.addClasses(ConcurrentBeanDeployer.java:62)[302:org.jboss.weld.osgi-bundle:2.3.2.Final]
      	at org.jboss.weld.bootstrap.BeanDeployment.createClasses(BeanDeployment.java:203)[302:org.jboss.weld.osgi-bundle:2.3.2.Final]
      	at org.jboss.weld.bootstrap.WeldStartup.startInitialization(WeldStartup.java:375)[302:org.jboss.weld.osgi-bundle:2.3.2.Final]
      	at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:76)[302:org.jboss.weld.osgi-bundle:2.3.2.Final]
      	at org.ops4j.pax.cdi.weld.impl.WeldCdiContainer.createBeanManager(WeldCdiContainer.java:113)[303:org.ops4j.pax.cdi.weld:1.0.0.RC1]
      	at org.ops4j.pax.cdi.weld.impl.WeldCdiContainer.access$000(WeldCdiContainer.java:55)[303:org.ops4j.pax.cdi.weld:1.0.0.RC1]
      	at org.ops4j.pax.cdi.weld.impl.WeldCdiContainer$1.call(WeldCdiContainer.java:95)[303:org.ops4j.pax.cdi.weld:1.0.0.RC1]
      	at org.ops4j.pax.cdi.weld.impl.WeldCdiContainer$1.call(WeldCdiContainer.java:91)[303:org.ops4j.pax.cdi.weld:1.0.0.RC1]
      	at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)[31:org.ops4j.pax.swissbox.core:1.8.2]
      	at org.ops4j.pax.cdi.weld.impl.WeldCdiContainer.doStart(WeldCdiContainer.java:91)[303:org.ops4j.pax.cdi.weld:1.0.0.RC1]
      	at org.ops4j.pax.cdi.spi.AbstractCdiContainer.start(AbstractCdiContainer.java:87)[299:org.ops4j.pax.cdi.spi:1.0.0.RC1]
      	at org.ops4j.pax.cdi.extender.impl.CdiExtender.createContainer(CdiExtender.java:184)[297:org.ops4j.pax.cdi.extender:1.0.0.RC1]
      	at org.ops4j.pax.cdi.extender.impl.CdiExtender.addingBundle(CdiExtender.java:133)[297:org.ops4j.pax.cdi.extender:1.0.0.RC1]
      	at org.ops4j.pax.cdi.extender.impl.CdiExtender.addingBundle(CdiExtender.java:64)[297:org.ops4j.pax.cdi.extender:1.0.0.RC1]
      	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:467)[karaf.jar:2.4.0.redhat-630413]
      	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1)[karaf.jar:2.4.0.redhat-630413]
      	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[karaf.jar:2.4.0.redhat-630413]
      	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)[karaf.jar:2.4.0.redhat-630413]
      	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:443)[karaf.jar:2.4.0.redhat-630413]
      	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:869)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:790)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:515)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4429)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2100)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260)[10:org.apache.felix.fileinstall:3.6.4]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233)[10:org.apache.felix.fileinstall:3.6.4]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221)[10:org.apache.felix.fileinstall:3.6.4]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515)[10:org.apache.felix.fileinstall:3.6.4]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365)[10:org.apache.felix.fileinstall:3.6.4]
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316)[10:org.apache.felix.fileinstall:3.6.4]
      Caused by: java.lang.UnsupportedClassVersionError: org/codehaus/jackson/annotate/JsonIgnoreProperties : Unsupported major.minor version 52.0
      	at java.lang.ClassLoader.defineClass1(Native Method)[:1.7.0_79]
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)[:1.7.0_79]
      	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2318)
      	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1524)
      	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)
      	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_79]
      	at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1397)
      	at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1577)
      	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1507)
      	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)
      	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_79]
      	at java.lang.Class.forName0(Native Method)[:1.7.0_79]
      	at java.lang.Class.forName(Class.java:274)[:1.7.0_79]
      	at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:114)[:1.7.0_79]
      	at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125)[:1.7.0_79]
      	at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)[:1.7.0_79]
      	at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:432)[:1.7.0_79]
      	at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:238)[:1.7.0_79]
      	at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:117)[:1.7.0_79]
      	at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:70)[:1.7.0_79]
      	at java.lang.Class.initAnnotationsIfNecessary(Class.java:3271)[:1.7.0_79]
      	at java.lang.Class.getAnnotation(Class.java:3219)[:1.7.0_79]
      	at java.lang.Class.isAnnotationPresent(Class.java:3232)[:1.7.0_79]
      	at org.jboss.weld.util.Beans.isVetoed(Beans.java:562)
      	at org.jboss.weld.bootstrap.AnnotatedTypeLoader.loadAnnotatedType(AnnotatedTypeLoader.java:75)
      	at org.jboss.weld.bootstrap.AnnotatedTypeLoader.loadAnnotatedType(AnnotatedTypeLoader.java:60)
      	at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:97)
      	at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$1.doWork(ConcurrentBeanDeployer.java:65)
      	at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$1.doWork(ConcurrentBeanDeployer.java:62)
      	at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:63)
      	at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:56)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_79]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_79]
      	at java.lang.Thread.run(Thread.java:745)[:1.7.0_79]
      

              Unassigned Unassigned
              tturek@redhat.com Tomas Turek
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: