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

Workflow exception after Jenkins restart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • pipeline
    • None

      A customer had this exception after restarting Jenkins:

      com.google.inject.ConfigurationException: Guice configuration errors:
      
      1) Could not find a suitable constructor in org.jenkinsci.plugins.workflow.support.steps.ExecutorStep. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.
      at org.jenkinsci.plugins.workflow.support.steps.ExecutorStep.class(Unknown Source)
      while locating org.jenkinsci.plugins.workflow.support.steps.ExecutorStep
      for field at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution.step(Unknown Source)
      while locating org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution
      
      1 error
      at com.google.inject.internal.InjectorImpl.getMembersInjector(InjectorImpl.java:981)
      at com.google.inject.internal.InjectorImpl.getMembersInjector(InjectorImpl.java:986)
      at com.google.inject.internal.InjectorImpl.injectMembers(InjectorImpl.java:972)
      at org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl.inject(AbstractStepExecutionImpl.java:35)
      at org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl.onResume(AbstractStepExecutionImpl.java:30)
      at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$ItemListenerImpl$1.onSuccess(FlowExecutionList.java:171)
      at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$ItemListenerImpl$1.onSuccess(FlowExecutionList.java:167)
      at com.google.common.util.concurrent.Futures$6.run(Futures.java:975)
      at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253)
      at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:149)
      at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:134)
      at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:170)
      at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53)
      at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$5.onSuccess(CpsFlowExecution.java:561)
      at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$5.onSuccess(CpsFlowExecution.java:549)
      at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$4$1.run(CpsFlowExecution.java:503)
      at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:32)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:111)
      at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
      Finished: FAILURE 
      

            jglick Jesse Glick
            ydubreuil Yoann Dubreuil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: