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

NPE occured in AbstractItem.resolveForCLI when AbstractProject.findNearest() return null

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      Problematic code in method AbstractItem.resolveForCLI():

      throw new CmdLineException(null,Messages.AbstractItem_NoSuchJobExists(name,AbstractProject.findNearest(name).getFullName()));

      NPE occurred when AbstractProject.findNearest(name) returns null.

          [JENKINS-30629] NPE occured in AbstractItem.resolveForCLI when AbstractProject.findNearest() return null

          Pavel Janoušek created issue -
          Pavel Janoušek made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Pavel Janoušek made changes -
          Link New: This issue is related to JENKINS-30742 [ JENKINS-30742 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 165743 ] New: JNJira + In-Review [ 197799 ]

            pajasoft Pavel Janoušek
            pajasoft Pavel Janoušek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: