Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53194

InfluxDB error failed to collect data after updates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • influxdb-plugin
    • 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

            aleksisimell Aleksi Simell
            shadow00caster Joe Bob
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: