-
Bug
-
Resolution: Fixed
-
Major
-
None
-
OS: Windows 2012 R2
Jenkins Version: 2.121.3
InfluxDB Plugin Version: 1.18
Updated to Jenkins 2.121.3, as well as updated all other plugins with updates and suddenly all of my projects are getting an error shown below. Prior to updating, this issue did not pesist; I attempted on 2 prior versions of the Jenkins WAR and the issues continues, so I assume it's something to do with a different plugin.
[InfluxDB Plugin] Publishing data to: [url=http://10.10.101.142:8086, description=jenkins_data, username=admin, password=*****, database=jenkins_data]
[InfluxDB Plugin] Failed to collect data. Ignoring Exception:java.lang.NullPointerException
ERROR: Build step failed with exception
java.lang.NullPointerException
{{ at jenkinsci.plugins.influxdb.generators.CustomDataPointGenerator.<init>(CustomDataPointGenerator.java:27)}}
{{ at jenkinsci.plugins.influxdb.InfluxDbPublisher.perform(InfluxDbPublisher.java:341)}}
{{ at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)}}
{{ at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)}}
{{ at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)}}
{{ at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)}}
{{ at hudson.model.Build$BuildExecution.cleanUp(Build.java:196)}}
{{ at hudson.model.Run.execute(Run.java:1845)}}
{{ at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)}}
{{ at hudson.model.ResourceController.execute(ResourceController.java:97)}}
{{ at hudson.model.Executor.run(Executor.java:429)}}
Build step 'Publish build data to InfluxDb target' marked build as failure
After downgrading Jenkins told me that i have some incompatible settings in the InfluxDB part, but i forgot to write it down. And can't reproduce it.
It looked for me like there should be an empty array but there was null.