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

NullPointerException if Workspace does not exist

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Line 178 in MultiJobBuilder.java can trigger an NPE because lastBuild.getWorkspace() can return null (namely if the workspace has been deleted meanwhile). All my jobs delete their workspace at the end of the build...

      Additionally, the check is bogus anyway. Not all SCMs require a workspace to exist to detect if there are changes. If they do, then subjob.poll() should return true anyway.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rk R K
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: