Jenkins UI shows NullPointerException on start

Issue

  • Upgrading Jenkins plugins throws error message:
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:915)
at jenkins.model.Jenkins.(Jenkins.java:814)
at hudson.model.Hudson.(Hudson.java:83)
at hudson.model.Hudson.(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:110)
at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:176)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:904)
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:745)
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:106)
... 8 more
Caused by: java.lang.NullPointerException at hudson.plugins.git.GitSCM.onLoaded(GitSCM.java:1632) ... 13 more
  • Jenkins free-license plugin is missing.
  • Jenkins CloudBees Back-up Cloud Plugin fails to load.
  • Jenkins throws the following error at startup:
SEVERE: Failed Loading plugin CloudBees Back-up Cloud Plugin v3.3 (cloudbees-cloud-backup) 
java.io.IOException: CloudBees Back-up Cloud Plugin v3.3 failed to load. 
- free-license v3.1 is missing. To fix, install v3.1 or later. 
at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:621) 
at hudson.PluginManager$2$1$1.run(PluginManager.java:516) 
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) 
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) 
at jenkins.model.Jenkins$7.runTask(Jenkins.java:1085) 
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:1142) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
at java.lang.Thread.run(Thread.java:745)

Environment

  • Jenkins
  • CloudBees Jenkins Enterprise

Resolution

This error message indicates an issue with the startup process (most likely related to plugin incompatibility issues). Please disable the following plugins:

  • cloudbees-cloud-backup
  • cloudbees-credentials-plugin

And restart the Jenkins instance.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.