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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: