This is the mail archive of the
mauve-discuss@sources.redhat.com
mailing list for the Mauve project.
gnu.testlet.java.io.FilterWriter.write NullPointerException
- From: "Andrew Bachmann" <shatty at myrealbox dot com>
- To: mauve-discuss at sources dot redhat dot com
- Date: Mon, 03 Nov 2003 20:33:46 -0800 PST
- Subject: gnu.testlet.java.io.FilterWriter.write NullPointerException
Hello all,
I got the following:
FAIL: uncaught exception loading gnu.testlet.java.io.FilterWriter.write:
java.lang.NullPointerException
And looking at the code for write.java I found that it calls "this(null);" in the constructor.
According to the specs for 1.4.2 this _should_ throw a NullPointerException: http://java.sun.com/
j2se/1.4.2/docs/api/java/io/FilterWriter.html
I suppose the test should have "this(new Writer());" instead?
Andrew Bachmann