-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: monitoring-plugin
-
None
-
Environment:Jenkins 2.249.2
Monitoring plugin 1.86.0
The monitoring plugin reports a null pointer exception in my Jenkins 2.249.2 logs. The exception stack trace looks like this:
java.lang.NullPointerException
at net.bull.javamelody.internal.web.html.HtmlAbstractReport.getCsrfTokenUrlPart(HtmlAbstractReport.java:199)
at net.bull.javamelody.internal.web.html.HtmlCoreReport.writeSystemActionsLinks(HtmlCoreReport.java:734)
at net.bull.javamelody.internal.web.html.HtmlCoreReport.toHtml(HtmlCoreReport.java:129)
at net.bull.javamelody.internal.web.html.HtmlReport.writeLastShutdown(HtmlReport.java:109)
at net.bull.javamelody.internal.web.HtmlController.writeHtmlToLastShutdownFile(HtmlController.java:381)
at net.bull.javamelody.internal.web.MonitoringController.writeHtmlToLastShutdownFile(MonitoringController.java:291)
at net.bull.javamelody.FilterContext.destroy(FilterContext.java:457)
at net.bull.javamelody.MonitoringFilter.destroy(MonitoringFilter.java:176)
at net.bull.javamelody.PluginMonitoringFilter.destroy(PluginMonitoringFilter.java:74)
at hudson.util.PluginServletFilter.cleanUp(PluginServletFilter.java:181)
at jenkins.model.Jenkins._cleanUpPluginServletFilters(Jenkins.java:3746)
at jenkins.model.Jenkins.cleanUp(Jenkins.java:3439)
at hudson.lifecycle.UnixLifecycle.restart(UnixLifecycle.java:70)
at jenkins.model.Jenkins$22.run(Jenkins.java:4326)
I don't know the detailed steps that cause the null pointer exception, but the Docker image that shows the exception is defined in my docker-lfs repository