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

NPE on the startup after updating to metrics 3.0.10 plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I see the following exception on the startup

      May 28, 2015 1:29:37 PM hudson.triggers.SafeTimerTask run
      SEVERE: Timer task jenkins.metrics.util.AutoSamplingHistogram$PeriodicWorkImpl@440d8165 failed
      java.lang.NullPointerException
      at jenkins.metrics.util.AutoSamplingHistogram.update(AutoSamplingHistogram.java:66)
      at jenkins.metrics.util.AutoSamplingHistogram$PeriodicWorkImpl.doRun(AutoSamplingHistogram.java:90)
      at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Stephen Connolly
          Path:
          src/main/java/jenkins/metrics/util/AutoSamplingHistogram.java
          http://jenkins-ci.org/commit/metrics-plugin/453b1f952ce4054c65a308481d2e8e4a1eabf6f1
          Log:
          [FIXED JENKINS-28620] Add better safety to the AutoSamplingHistogram

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/jenkins/metrics/util/AutoSamplingHistogram.java http://jenkins-ci.org/commit/metrics-plugin/453b1f952ce4054c65a308481d2e8e4a1eabf6f1 Log: [FIXED JENKINS-28620] Add better safety to the AutoSamplingHistogram
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Stephen Connolly
          Path:
          src/main/java/jenkins/metrics/util/AutoSamplingHistogram.java
          http://jenkins-ci.org/commit/metrics-plugin/dd09a076b96362e5347ca759cd95fdbcef3ed98e
          Log:
          Merge pull request #9 from jenkinsci/better-safety

          [FIXED JENKINS-28620] Add better safety to the AutoSamplingHistogram

          Compare: https://github.com/jenkinsci/metrics-plugin/compare/f2d3bef26f9e...dd09a076b963

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/jenkins/metrics/util/AutoSamplingHistogram.java http://jenkins-ci.org/commit/metrics-plugin/dd09a076b96362e5347ca759cd95fdbcef3ed98e Log: Merge pull request #9 from jenkinsci/better-safety [FIXED JENKINS-28620] Add better safety to the AutoSamplingHistogram Compare: https://github.com/jenkinsci/metrics-plugin/compare/f2d3bef26f9e...dd09a076b963

            People

            • Assignee:
              Unassigned
              Reporter:
              oleg_nenashev Oleg Nenashev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: