Skip to content
Permalink
Browse files
[FIXED JENKINS-12201] NullPointerException during SVN update
  • Loading branch information
sogabe committed Jan 29, 2012
1 parent a7b2cfa commit 2459a51731b76a093b976204327f6f8cf5cddeab
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/java/hudson/scm/subversion/UpdateUpdater.java
@@ -45,6 +45,7 @@
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
@@ -155,7 +156,7 @@ private SVNInfo parseSvnInfo(File workspace) throws SVNException {
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;

0 comments on commit 2459a51

Please sign in to comment.