Index: LogStream.java =================================================================== --- LogStream.java (revision 431574) +++ LogStream.java (working copy) @@ -113,6 +113,9 @@ * @com.intel.drl.spec_ref */ public synchronized void setOutputStream(OutputStream out) { + if (out == null) { + throw new NullPointerException(); + } this.out = out; }