Quantcast

[JIRA] (JENKINS-15511) NPE from PluginManager

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

[JIRA] (JENKINS-15511) NPE from PluginManager

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 12/Oct/12 7:27 PM
Description:

When you try to install a plugin that is missing some dependencies or otherwise fails to start, SEVERE: Failed Loading plugin … or SEVERE: Failed Initializing plugin … with a detailed stack trace is shown, which is fine. But then you also get

… jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Initializing plugin …
java.lang.NullPointerException
	at hudson.PluginManager$2$1$2.run(PluginManager.java:349)
	at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
	at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
	at jenkins.model.Jenkins$7.runTask(Jenkins.java:883)
	at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
	at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)

which is pretty clumsy—p.getPlugin() is null yet this is not being checked.

Project: Jenkins
Labels: exception plugin
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-15511) NPE from PluginManager

JIRA noreply@jenkins-ci.org
Change By: SCM/JIRA link daemon (12/Oct/12 7:34 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-15511) NPE from PluginManager

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/PluginManager.java
http://jenkins-ci.org/commit/jenkins/eb18f080bb7e1842ee8031c6a8e6c665e527badf
Log:
[FIXED JENKINS-15511] NPE from PluginManager.

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-15511) NPE from PluginManager

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: Jesse Glick (12/Oct/12 7:33 PM)
Assignee: 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-15511) NPE from PluginManager

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

Integrated in jenkins_main_trunk #1999
[FIXED JENKINS-15511] NPE from PluginManager. (Revision eb18f080bb7e1842ee8031c6a8e6c665e527badf)

Result = SUCCESS
Jesse Glick : eb18f080bb7e1842ee8031c6a8e6c665e527badf
Files :

  • changelog.html
  • core/src/main/java/hudson/PluginManager.java
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...