jenkins critical error after plugin update

I attempted to update a couple of my jenkins plugins (don’t remember which) but got hung. After about 15 mins, I decided to restart the jenkins server. This is what I get on the jenkins UI:

org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException
    at org.jvnet.hudson.reactor.Reactor.execute(
    at jenkins.model.Jenkins.executeReactor(
    at jenkins.model.Jenkins.<init>(
    at hudson.model.Hudson.<init>(
    at hudson.model.Hudson.<init>(
    at hudson.WebAppMain$
Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException
    at hudson.init.InitializerFinder.invoke(
    at hudson.init.InitializerFinder$
    at org.jvnet.hudson.reactor.Reactor.runTask(
    at jenkins.model.Jenkins$7.runTask(
    at org.jvnet.hudson.reactor.Reactor$
    at org.jvnet.hudson.reactor.Reactor$
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
    at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at hudson.init.InitializerFinder.invoke(
    ... 8 more
Caused by: java.lang.NoClassDefFoundError: hudson/PluginManager$PluginUpdateMonitor
    at hudson.maven.PluginImpl.init(
    ... 13 more
Caused by: java.lang.ClassNotFoundException: hudson.PluginManager$PluginUpdateMonitor
    at Method)
    at java.lang.ClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    ... 14 more

I attempted to update the war from 1.486 to 1.502 but no change in behavior. What can I do to get Jenkins operational again?

  • maven deploy to tomcat cluster (multiple) in one line
  • Jenkins automatically commit artifacts
  • Aggregating results of downstream is no test in Jenkins
  • Git PullRequest job failed. Couldn't find any revision to build. Verify the repository and branch configuration for this job
  • Error building iOS project with Jenkins on MacOS X Lion
  • jenkins is slow resopnding to main page request
  • Jenkins transferring 0 files using publish over SSH plugin
  • Jenkins - passing updated revision to downstream jobs
  • Google App Engine Jenkins Integration
  • How to deploy a plugin to Jenkins Hosting?
  • git stash, jenkins pipeline, No git jobs using repository
  • Using maven and jenkins, how to test the programmers did some test cases?
  • 4 Solutions collect form web for “jenkins critical error after plugin update”

    It’s a known bug.

    Copy/pasted for reference:

    Start 1.490 on a clean home dir, then ask to upgrade the Maven plugin to version 1.491, and restart. After the restart, there are linkage errors from the Maven plugin, predictably enough (since it is using 1.491+ core APIs); but all of Jenkins fails to start, making it impossible to use the GUI to back out the update. (Workaround: delete $JENKINS_HOME/plugins/maven-plugin.jpi.pinned.)

    Didn’t work for me, so I just deleted every $JENKINS_HOME/plugins/maven-plugin* file.


    I got the Same Error When Trying to Update the Plugins & Delete \Unpin some Plugins at the Same time.

    Finally was able to Solve the issue by, Deleting all the “DISABLED” files in Plugins folder, restored back all the Maven files (if deleted on suggestion by previous Solutions), restarted the Jenkins Instance.

    Understood this is because of Conflict with Plugins loading.

    None of the above mentioned method is working for me.

    1. Workaround: delete $JENKINS_HOME/plugins/maven-plugin.jpi.pinned
    2. Deleting all the “DISABLED” files in Plugins folder, restored back all the Maven files

    As per :

    I downgraded my maven to version 3.3.9 and It worked for me.

    Git Baby is a git and github fan, let's start git clone.