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

NPE in multijob-plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: multijob-plugin
    • Labels:
      None
    • Environment:
      Jenkins weekly 2.288
      Multijob plugin 1.36
      CentOS 7
    • Similar Issues:

      Description

      Noticed this in our Jenkins log:

      2021-04-13 19:45:20.623+0000 [id=387080]        WARNING c.t.j.p.m.QuietPeriodCalculator#calculate: Error calculating quiet time for index 1 and quietPeriodGroovy []: null; returning 0
      java.lang.NullPointerException
              at com.tikal.jenkins.plugins.multijob.QuietPeriodCalculator.calculateOrThrow(QuietPeriodCalculator.java:52)
              at com.tikal.jenkins.plugins.multijob.QuietPeriodCalculator.calculate(QuietPeriodCalculator.java:34)
              at com.tikal.jenkins.plugins.multijob.SubTask.generateFuture(SubTask.java:74)
              at com.tikal.jenkins.plugins.multijob.MultiJobBuilder$SubJobWorker.call(MultiJobBuilder.java:515)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748) 

      Not sure currently about the circumstances or impact, so not setting a priority, but an unhandled NULL dereference is not right anyway

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jimklimov Jim Klimov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: