Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16544

Upgrade org.javassist:javassist to 3.19.0-GA

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Infrastructure

      Description

      Upgrade javassist to a version > 3.18 will allow us to use lambda in Seam beans.

      See https://issues.jboss.org/browse/JASSIST-217

      When using a lambda expression in a Seam bean, we got this exception for now:

      java.lang.RuntimeException: Error loading class file org/nuxeo/ecm/multi/tenant/MultiTenantActions.class
      	at org.jboss.seam.deployment.AbstractScanner$Handler.getClassFile(AbstractScanner.java:115)
      	at org.jboss.seam.deployment.AbstractScanner$Handler.handle(AbstractScanner.java:65)
      	at org.jboss.seam.deployment.AbstractScanner$Handler.handle(AbstractScanner.java:97)
      	at org.jboss.seam.deployment.AbstractScanner.handle(AbstractScanner.java:225)
      	at org.jboss.seam.deployment.URLScanner.handleArchiveByFile(URLScanner.java:129)
      	at org.jboss.seam.deployment.URLScanner.handle(URLScanner.java:107)
      	at org.jboss.seam.deployment.URLScanner.scanResources(URLScanner.java:90)
      	at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:119)
      	at org.jboss.seam.init.Initialization.create(Initialization.java:131)
      	at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4994)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5492)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1861)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.io.IOException: invalid constant type: 18
      	at javassist.bytecode.ConstPool.readOne(ConstPool.java:1027)
      	at javassist.bytecode.ConstPool.read(ConstPool.java:970)
      	at javassist.bytecode.ConstPool.<init>(ConstPool.java:127)
      	at javassist.bytecode.ClassFile.read(ClassFile.java:693)
      	at javassist.bytecode.ClassFile.<init>(ClassFile.java:85)
      	at org.jboss.seam.deployment.AbstractScanner.loadClassFile(AbstractScanner.java:198)
      	at org.jboss.seam.deployment.AbstractScanner$Handler.getClassFile(AbstractScanner.java:111)
      	... 22 more
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: