Quantcast

[JIRA] (JENKINS-15369) NPE from Jenkins.removeNode

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15369) NPE from Jenkins.removeNode

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Assignee: Jesse Glick
Components: core
Created: 01/Oct/12 3:58 PM
Description:

Observed an exception trying to remove a slave which failed to launch:

java.lang.NullPointerException
	jenkins.model.Jenkins.removeNode(Jenkins.java:1645)
	hudson.model.Computer.doDoDelete(Computer.java:1131)

Easy to fix the NPE; @CheckForNull is being ignored here. Unclear whether fixing the NPE would really help the original problem which was apparently a zombie slave of some kind.

Environment: 1.466.2
Project: Jenkins
Labels: slave exception
Priority: Minor Minor
Reporter: Jesse Glick
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15369) NPE from Jenkins.removeNode

JIRA noreply@jenkins-ci.org
Change By: SCM/JIRA link daemon (01/Oct/12 4:51 PM)
Status: Open Resolved
Resolution: Fixed
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15369) NPE from Jenkins.removeNode

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Code changed in jenkins
User: Jesse Glick
Path:
changelog.html
core/src/main/java/hudson/model/Computer.java
core/src/main/java/hudson/model/labels/LabelAtom.java
core/src/main/java/jenkins/model/Jenkins.java
http://jenkins-ci.org/commit/jenkins/300bfc463bc4377d6124fa538f64ff6e2b8d7813
Log:
[FIXED JENKINS-15369] NPE deleting a slave.

Compare: https://github.com/jenkinsci/jenkins/compare/202903aaef6e...300bfc463bc4

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15369) NPE from Jenkins.removeNode

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: Jesse Glick (01/Oct/12 4:58 PM)
Component/s: ssh-slaves
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15369) NPE from Jenkins.removeNode

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
dogfood commented on Bug JENKINS-15369

Integrated in jenkins_main_trunk #1963
[FIXED JENKINS-15369] NPE deleting a slave. (Revision 300bfc463bc4377d6124fa538f64ff6e2b8d7813)

Result = SUCCESS
Jesse Glick : 300bfc463bc4377d6124fa538f64ff6e2b8d7813
Files :

  • core/src/main/java/hudson/model/labels/LabelAtom.java
  • core/src/main/java/hudson/model/Computer.java
  • core/src/main/java/jenkins/model/Jenkins.java
  • changelog.html
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15369) NPE from Jenkins.removeNode

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: Jesse Glick (12/Oct/12 3:20 PM)
Component/s: ssh-slaves
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15369) NPE from Jenkins.removeNode

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Code changed in jenkins
User: Jesse Glick
Path:
changelog.html
core/src/main/java/hudson/model/Computer.java
http://jenkins-ci.org/commit/jenkins/87d9a6e413c11eda69f7c2966c3f2a5f97381585
Log:
JENKINS-15369 NPE from Jenkins.removeNode continued.
/computer/*/doDelete should try harder to remove even a “zombie” Computer with no associated Node.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15369) NPE from Jenkins.removeNode

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
dogfood commented on Bug JENKINS-15369

Integrated in jenkins_main_trunk #1997
JENKINS-15369 NPE from Jenkins.removeNode continued. (Revision 87d9a6e413c11eda69f7c2966c3f2a5f97381585)

Result = SUCCESS
Jesse Glick : 87d9a6e413c11eda69f7c2966c3f2a5f97381585
Files :

  • core/src/main/java/hudson/model/Computer.java
  • changelog.html
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...