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

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

XMLWordPrintable

    • 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.

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

              Created:
              Updated:
              Resolved: