From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2884 invoked by alias); 4 Nov 2003 04:28:22 -0000 Mailing-List: contact mauve-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sources.redhat.com Received: (qmail 2875 invoked from network); 4 Nov 2003 04:28:21 -0000 Received: from unknown (HELO localhost.localdomain) (4.17.179.4) by sources.redhat.com with SMTP; 4 Nov 2003 04:28:21 -0000 Received: from mail.cyberonic.com (node-40244c8a.sfo.onnet.us.uu.net [64.36.76.138]) by localhost.localdomain (8.12.8/8.12.8) with SMTP id hA44nLkS001334 for ; Mon, 3 Nov 2003 23:49:22 -0500 To: mauve-discuss@sources.redhat.com Subject: gnu.testlet.java.io.FilterWriter.write NullPointerException From: "Andrew Bachmann" Date: Tue, 04 Nov 2003 04:28:00 -0000 Message-Id: <189077702552-BeMail@server> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2003-q4/txt/msg00002.txt.bz2 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