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

Guice error from artifact-manager-s3 on 2.321

XMLWordPrintable

    • 1.18

      most builds get this error now:

      java.lang.NoSuchMethodError: 'java.lang.ClassLoader com.google.inject.internal.BytecodeGen.getClassLoader(java.lang.Class)'
      	at com.google.inject.assistedinject.FactoryProvider2.<init>(FactoryProvider2.java:322)
      	at com.google.inject.assistedinject.FactoryModuleBuilder$1.configure(FactoryModuleBuilder.java:334)
      	at com.google.inject.AbstractModule.configure(AbstractModule.java:64)
      	at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409)
      	at com.google.inject.AbstractModule.install(AbstractModule.java:106)
      	at org.jclouds.rest.config.RestModule.configure(RestModule.java:59)
      	at org.jclouds.rest.config.HttpApiModule.configure(HttpApiModule.java:53)
      	at org.jclouds.s3.config.S3HttpApiModule.configure(S3HttpApiModule.java:169)
      	at org.jclouds.aws.s3.config.AWSS3HttpApiModule.configure(AWSS3HttpApiModule.java:56)
      	at com.google.inject.AbstractModule.configure(AbstractModule.java:64)
      	at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409)
      	at com.google.inject.spi.Elements.getElements(Elements.java:108)
      	at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:160)
      	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
      	at com.google.inject.Guice.createInjector(Guice.java:87)
      	at org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:405)
      	at org.jclouds.ContextBuilder.buildInjector(ContextBuilder.java:328)
      	at org.jclouds.ContextBuilder.buildView(ContextBuilder.java:615)
      	at org.jclouds.ContextBuilder.buildView(ContextBuilder.java:595)
      	at io.jenkins.plugins.artifact_manager_jclouds.s3.S3BlobStore.getContext(S3BlobStore.java:136)
      	at io.jenkins.plugins.artifact_manager_jclouds.JCloudsArtifactManager.getContext(JCloudsArtifactManager.java:377)
      	at io.jenkins.plugins.artifact_manager_jclouds.JCloudsArtifactManager.stash(JCloudsArtifactManager.java:216)
      	at org.jenkinsci.plugins.workflow.flow.StashManager.stash(StashManager.java:117)
      	at org.jenkinsci.plugins.workflow.support.steps.stash.StashStep$Execution.run(StashStep.java:116)
      	at org.jenkinsci.plugins.workflow.support.steps.stash.StashStep$Execution.run(StashStep.java:104)
      	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at java.base/java.lang.Thread.run(Thread.java:829) 

      downgrading to 2.230 fixes this

            jglick Jesse Glick
            b_dean Ben Dean
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: