From owner-freebsd-java Mon Feb 7 1: 8:32 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by builder.freebsd.org (Postfix) with ESMTP id DA0543D16 for ; Mon, 7 Feb 2000 01:08:27 -0800 (PST) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #35196) with ESMTP id <01JLMEXZLUAG000LVH@research.kpn.com> for freebsd-java@freebsd.org; Mon, 7 Feb 2000 10:09:05 +0100 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Mon, 07 Feb 2000 10:09:04 +0100 Content-return: allowed Date: Mon, 07 Feb 2000 10:09:04 +0100 From: "Koster, K.J." Subject: FW: Linux JDK Swing crashes... To: 'FreeBSD Java mailing list' Message-id: <59063B5B4D98D311BC0D0001FA7E4522013137F1@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I have installed the Blackdown JDK on my machine at home > (home-grown PC, > FreeBSD 3.4 stable, XFree86 3.3.3.1), but any Swing app goes > down with a > scream. I have a feeling it is XFree86 related because it it > complaining > about something called a "Raster ShortInterleavedRaster". > > The error messages when I start the SwingSet demo: > LikeEver% java -jar SwingSet.jar > Error loading L&F: java.lang.IllegalArgumentException: Raster > ShortInterleavedRaster: width = 64 height = 64 #numDataElements 1 is > incompatible with ColorModel DirectColorModel: rmask=7c00 > gmask=3e0 bmask=1f > amask=0 > Exception in thread "main" java.lang.NullPointerException > at java.util.Hashtable.get(Hashtable.java, > To answer my own question: this problem is solved in RC4 of the blackdown JDK. It now runs fine, happily chomping away at my memory. Perhaps C++ was not such a bad idea after all. *duck* As part of my learning experience: if the system tells you to use "brandelf" to brand the Java 2 executable. you have to enable Linux emulation in /etc/cr.conf. It seems FreeBSD's error messages are as cryptic as Java's own. Correct, no doubt, but very cryptic. :-) Kees Jan ============================================== You are only young once, but you can stay immature all your life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message