Skip to content

Commit

Permalink
[FIXED JENKINS-12201] NullPointerException during SVN update
Browse files Browse the repository at this point in the history
  • Loading branch information
sogabe committed Jan 29, 2012
1 parent a7b2cfa commit 2459a51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/hudson/scm/subversion/UpdateUpdater.java
Expand Up @@ -45,6 +45,7 @@
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
Expand Down Expand Up @@ -155,7 +156,7 @@ public List<External> perform() throws IOException, InterruptedException {
if (e.getErrorMessage().getErrorCode() == SVNErrorCode.WC_NOT_LOCKED) {
listener.getLogger().println("Polled jobs are " + Hudson.getInstance().getDescriptorByType(SCMTrigger.DescriptorImpl.class).getItemsBeingPolled());
}
return null;
return Collections.EMPTY_LIST;
}

return externals;
Expand Down

0 comments on commit 2459a51

Please sign in to comment.