mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-04 07:35:53 +00:00
[FIXED JENKINS-15511] NPE from PluginManager.
This commit is contained in:
1 parent
87d9a6e413
commit
eb18f080bb
2 files changed
+6
No files matched your search
@@ -345,6 +345,9 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
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) {
|
||||
|
||||
Reference in new issue
Block a user