Skip to content

Commit

Permalink
[FIXED JENKINS-15511] NPE from PluginManager.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Oct 12, 2012
1 parent 87d9a6e commit eb18f08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog.html
Expand Up @@ -62,6 +62,9 @@
<li class=bug>
<code>/computer/*/doDelete</code> should try harder to remove even “zombie” <code>Computer</code>s.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-15369">issue 15369</a>)
<li class=bug>
NPE from <code>PluginManager</code>.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-15511">issue 15511</a>)
<li class=rfe>
Added "manage old data" permanently to the "manage Jenkins" page.
<li class=rfe>
Expand Down
3 changes: 3 additions & 0 deletions core/src/main/java/hudson/PluginManager.java
Expand Up @@ -345,6 +345,9 @@ public void run(Reactor session) throws Exception {
for (final PluginWrapper p : activePlugins.toArray(new PluginWrapper[activePlugins.size()])) {
g.followedBy().notFatal().attains(PLUGINS_STARTED).add("Initializing plugin " + p.getShortName(), new Executable() {
public void run(Reactor session) throws Exception {
if (!activePlugins.contains(p)) {
return;
}
try {
p.getPlugin().postInitialize();
} catch (Exception e) {
Expand Down

0 comments on commit eb18f08

Please sign in to comment.