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

NPE in hudson.model.Executor when a task creates null Executable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • jenkins-1.509.4...1.574

      The code in Executor does not check created tasks for null => NPE appears in logging procedures when calling executable.toString() in Executor::run(). This behavior causes hardly analyzable issues like JENKINS-18164

      The issue sometimes appears for MatrixConfiguration runs, but according to the code it can be also reproduced in 1.574

      Console output for runs:

         Jul 31, 2014 3:04:19 PM hudson.model.Executor run
         SEVERE: Executor threw an exception
         java.lang.NullPointerException
                 at hudson.model.Executor.run(Executor.java:234)
      

          [JENKINS-24110] NPE in hudson.model.Executor when a task creates null Executable

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-18164 [ JENKINS-18164 ]
          Oleg Nenashev made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg Nenashev made changes -
          Labels Original: core executor npe New: core executor lts-candidate npe
          Oleg Nenashev made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Labels Original: core executor lts-candidate npe New: core executor npe
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 156984 ] New: JNJira + In-Review [ 195569 ]

            oleg_nenashev Oleg Nenashev
            oleg_nenashev Oleg Nenashev
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: