Jenkins fails to startup JSyncArtifactManagerFactory

Article ID:204890510
1 minute readKnowledge base

Issue

hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException
  at hudson.WebAppMain$3.run(WebAppMain.java:237)
Caused by: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException
  at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
  at jenkins.InitReactorRunner.run(InitReactorRunner.java:44)
  at jenkins.model.Jenkins.executeReactor(Jenkins.java:914)
  at jenkins.model.Jenkins.<init>(Jenkins.java:813)
  at hudson.model.Hudson.<init>(Hudson.java:83)
  at hudson.model.Hudson.<init>(Hudson.java:79)
  at hudson.WebAppMain$3.run(WebAppMain.java:225)
Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException
  at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:109)
  at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:169)
  at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
  at jenkins.model.Jenkins$7.runTask(Jenkins.java:903)
  at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
  at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
  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:724)
Caused by: java.lang.reflect.InvocationTargetException
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)
  ... 8 more
Caused by: java.lang.NullPointerException
  at com.cloudbees.jenkins.plugins.jsync.archiver.JSyncArtifactManagerFactory.upgrade(JSyncArtifactManagerFactory.java:46)
  ... 13 more

Environment

  • CloudBees Jenkins Enterprise

  • CloudBees Fast Archiver Plugin <= 5.3

Resolution

A fix is in the works to prevent this error from appearing, however as a temporary solution you can disable the CloudBees Fast Archiver plugin. To do that:

  1. CD to $JENKINS_HOME/plugins

  2. Execute the command: touch cloudbees-jsync-archiver.jpi.disabled

  3. Restart Jenkins.

This will disable the CloudBees fast archiver plugin.