mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
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:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user