From owner-freebsd-java Mon Jan 27 23:44:48 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB6B837B401 for ; Mon, 27 Jan 2003 23:44:46 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id A087F43F43 for ; Mon, 27 Jan 2003 23:44:45 -0800 (PST) (envelope-from andreas.kohn@gmx.net) Received: (qmail 32444 invoked by uid 0); 28 Jan 2003 07:44:44 -0000 Received: from unknown (HELO ?172.16.32.190?) (212.204.32.190) by mail.gmx.net (mp017-rz3) with SMTP; 28 Jan 2003 07:44:44 -0000 Subject: Re: problem debugging java app From: Andreas Kohn To: bruno schwander Cc: java@freebsd.org In-Reply-To: References: Content-Type: text/plain Organization: Message-Id: <1043739880.10968.58.camel@klamath.ankon.homeip.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 28 Jan 2003 08:44:41 +0100 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Am Tue, 2003-01-28 um 05.32 schrieb bruno schwander: > I would like to debug a java app, but when I run my app in jdb I get the > following exception: > > Exception occurred: sun.io.MalformedInputException > (uncaught) thread="main", sun.io.CharToByteSingleByte.convert(), line=154, > bci=202 > > This is a class that is part of the distribution apparently, so how can > this be happening ? > > I have no CLASSPATH set, is there a special runtime to use for debugging ? > > any help appreciated... > > Thank you > > bruno > > Hello, If you start java without the debugger, do you see a lot of warning messages regarding some fonts he could not load? In that case, you have to edit your font.properties file (/ust/local/jdk.../jre/lib/font.properties), and remove/edit all the fonts your Java VM normally complains about. I had the same problem, and commenting out all lines that referred to the "--symbolic-medium-r-..." font did the trick. Hope this helps, -- Andreas Kohn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message