Jenkins fails to load due to NPE

Issue

Jenkins fails to load due to Null Pointer Exception (NPE)

Starting Jenkins causes the following stack trace

hudson.util.HudsonFailedToLoad: java.lang.NullPointerException
at hudson.WebAppMain$3.run(WebAppMain.java:237)
Caused by: java.lang.NullPointerException
at org.jvnet.hudson.plugins.monitoring.NodesListener.getNodesCollector(NodesListener.java:77)
at org.jvnet.hudson.plugins.monitoring.NodesListener.onOnline(NodesListener.java:53)
at jenkins.model.Jenkins.<init>(Jenkins.java:851)
at hudson.model.Hudson.<init>(Hudson.java:83)
at hudson.model.Hudson.<init>(Hudson.java:79)
at hudson.WebAppMain$3.run(WebAppMain.java:225)

Environment

  • Cloudbees Jenkins

  • Jenkins

  • Monitoring Plugin <= v1.59.0

Resolution

Install the Monitoring Plugin v1.60.0 or higher.

See JENKINS-34794.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.