Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-11003] Fixed NPE
  • Loading branch information
vjuranek committed Sep 21, 2011
1 parent 78db8e6 commit 659c736
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -118,7 +118,7 @@ private Object readResolve() {
initVariables();

// let's wait until Hudson's initialized
Hudson.getInstance().getJobListeners().add(new ItemListener() {
Hudson.getInstance().getExtensionList(ItemListener.class).add(new ItemListener() {
@Override
public void onLoaded() {
restoreQueue();
Expand Down

0 comments on commit 659c736

Please sign in to comment.