Trying to diagnose possibly random error.

Exception in thread "hg ...args...: stdout copier" java.lang.NullPointerException
        at hudson.util.StreamCopyThread.run(StreamCopyThread.java:58)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28845 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
jglick committed 2010-03-18 17:05:48 +00:00
1 parent b6faac6868
commit 741d94a542
1 file changed
+3
@@ -40,6 +40,9 @@ public class StreamCopyThread extends Thread {
public StreamCopyThread(String threadName, InputStream in, OutputStream out, boolean closeOut) {
super(threadName);
this.in = in;
if (out == null) {
throw new NullPointerException("out is null");
}
this.out = out;
this.closeOut = closeOut;
}