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

NPE when polling after node removed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Jenkins 1.399/1.400, Clearcase plugin 1.3.5
    • Similar Issues:

      Description

      I have removed master node from the list of nodes by setting executors number to 0. After such operation projects which had their last build performed on the master node began failing when polling:

      {{
      Started on Mar 10, 2011 8:33:50 AM
      ERROR: Failed to record SCM polling
      java.lang.NullPointerException
      at hudson.model.AbstractProject.poll(AbstractProject.java:1276)
      at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420)
      at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449)
      at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
      }}

        Attachments

          Issue Links

            Activity

            Hide
            vlatombe Vincent Latombe added a comment -

            This is a core issue. The line with NPE is
            WorkspaceList l = lb.getBuiltOn().toComputer().getWorkspaceList(); in AbstractProject#poll

            Show
            vlatombe Vincent Latombe added a comment - This is a core issue. The line with NPE is WorkspaceList l = lb.getBuiltOn().toComputer().getWorkspaceList(); in AbstractProject#poll
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Christoph Kutzinski
            Path:
            changelog.html
            core/src/main/java/hudson/model/AbstractProject.java
            http://jenkins-ci.org/commit/jenkins/0b01182b8dc4aaaf7edba2bbf047b4594441ea35
            Log:
            [FIXED JENKINS-9003] NPE when polling after node removed

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: changelog.html core/src/main/java/hudson/model/AbstractProject.java http://jenkins-ci.org/commit/jenkins/0b01182b8dc4aaaf7edba2bbf047b4594441ea35 Log: [FIXED JENKINS-9003] NPE when polling after node removed
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #806
            [FIXED JENKINS-9003] NPE when polling after node removed

            Christoph Kutzinski : 0b01182b8dc4aaaf7edba2bbf047b4594441ea35
            Files :

            • changelog.html
            • core/src/main/java/hudson/model/AbstractProject.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #806 [FIXED JENKINS-9003] NPE when polling after node removed Christoph Kutzinski : 0b01182b8dc4aaaf7edba2bbf047b4594441ea35 Files : changelog.html core/src/main/java/hudson/model/AbstractProject.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Christoph Kutzinski
            Path:
            changelog.html
            core/src/main/java/hudson/model/AbstractProject.java
            http://jenkins-ci.org/commit/jenkins/0b01182b8dc4aaaf7edba2bbf047b4594441ea35
            Log:
            [FIXED JENKINS-9003] NPE when polling after node removed

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: changelog.html core/src/main/java/hudson/model/AbstractProject.java http://jenkins-ci.org/commit/jenkins/0b01182b8dc4aaaf7edba2bbf047b4594441ea35 Log: [FIXED JENKINS-9003] NPE when polling after node removed
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Christoph Kutzinski
            Path:
            changelog.html
            core/src/main/java/hudson/model/AbstractProject.java
            http://jenkins-ci.org/commit/jenkins/0b01182b8dc4aaaf7edba2bbf047b4594441ea35
            Log:
            [FIXED JENKINS-9003] NPE when polling after node removed

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: changelog.html core/src/main/java/hudson/model/AbstractProject.java http://jenkins-ci.org/commit/jenkins/0b01182b8dc4aaaf7edba2bbf047b4594441ea35 Log: [FIXED JENKINS-9003] NPE when polling after node removed

              People

              Assignee:
              kutzi kutzi
              Reporter:
              raspy Krzysztof Malinowski
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: