Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75290

XLDeploy plugin not working with latest Jenkins 2.492.1 - NoClassDefFoundError

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • deployit-plugin
    • Jenkins 2.492.1
      deployit-plugin:24.1.0

      During the execution on Jenkins Job, when we want to run the dsl step xldCreatePackage(), we have this error : 
      Feb 17, 2025 2:38:07 PM hudson.remoting.UserRequest perform
      WARNING: LinkageError while performing UserRequest:com.xebialabs.deployit.ci.workflow.DARPackageUtil@34cc6a8f
      java.lang.NoClassDefFoundError: Could not initialize class de.schlichtherle.truezip.file.TConfig
      at de.schlichtherle.truezip.file.TVFS.sync(TVFS.java:182)
      at de.schlichtherle.truezip.file.TVFS.umount(TVFS.java:60)
      at com.xebialabs.deployit.ci.workflow.DARPackageUtil.call(DARPackageUtil.java:55)
      at com.xebialabs.deployit.ci.workflow.DARPackageUtil.call(DARPackageUtil.java:29)
      at hudson.remoting.UserRequest.perform(UserRequest.java:211)
      at hudson.remoting.UserRequest.perform(UserRequest.java:54)
      at hudson.remoting.Request$2.run(Request.java:377)
      at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:137)
      at java.base/java.lang.Thread.run(Thread.java:840)
      Caused by: java.lang.ExceptionInInitializerError: Exception java.util.ServiceConfigurationError: de.schlichtherle.truezip.fs.spi.FsDriverService: Provider de.schlichtherle.truezip.fs.archive.tar.TarDriverService could not be instantiated [in thread "pool-1-thread-9 for JNLP4-connect connection to jenkins-master/172.20.89.137:50000 id=1334"]
      at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:586)
      at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:813)
      at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:729)
      at java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1403)
      at de.schlichtherle.truezip.fs.sl.FsDriverLocator$Boot.<clinit>(FsDriverLocator.java:59)
      at de.schlichtherle.truezip.fs.sl.FsDriverLocator.get(FsDriverLocator.java:41)
      at de.schlichtherle.truezip.file.TArchiveDetector.extensions(TArchiveDetector.java:80)
      at de.schlichtherle.truezip.file.TArchiveDetector.<init>(TArchiveDetector.java:123)
      at de.schlichtherle.truezip.file.TArchiveDetector.<init>(TArchiveDetector.java:103)
      at de.schlichtherle.truezip.file.TArchiveDetector.<clinit>(TArchiveDetector.java:66)
      at de.schlichtherle.truezip.file.TConfig.<init>(TConfig.java:330)
      at de.schlichtherle.truezip.file.TConfig.<clinit>(TConfig.java:274)
      at de.schlichtherle.truezip.file.TFile.<init>(TFile.java:476)
      at de.schlichtherle.truezip.file.TFile.<init>(TFile.java:455)
      at com.xebialabs.deployit.ci.workflow.DARPackageUtil.addManifest(DARPackageUtil.java:76)
      at com.xebialabs.deployit.ci.workflow.DARPackageUtil.call(DARPackageUtil.java:52)
      ... 10 more

      Can you check and fix it please ?

      It's working on Jenkins 2.462.3 but not on 2.492.1.

      For info on 2.479 there was a major breaking changes about the use of Java 17 version and Spring 6.
      Thank you.

          [JENKINS-75290] XLDeploy plugin not working with latest Jenkins 2.492.1 - NoClassDefFoundError

          There are no comments yet on this issue.

            Unassigned Unassigned
            chrismcx Christophe MICHAUX
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: