[kaffe] kaffe-awt-static exception

Sanjeev Manral sanjeevm at sanyo.co.in
Mon Dec 9 00:53:36 PST 2002


Hi 

I'm getting following error when running appletviewer-

I'm compiling with these options-

qt-
./configure -embedded x86 -static -release

kaffe-

./configure --with-awt=qt --with-engine=intrp --with-staticilib
--with-staticbin --enable-static --disable-debug

when I'm trying to run appletviewer I'm getting following exception-
/***following log is coming when I run - "appletviewer hello.html"  ***/

tlkProperties
qapp initialization.
tlkInit Done.
tlkGetScreenWidth
tlkGetScreenHeight
tlkGetResolution
java.lang.ExceptionInInitializerError: [exception was
java.lang.NullPointerException]
	at java.lang.ClassLoader.resolveClass0(ClassLoader.java:native)
	at java.lang.ClassLoader.resolveClass(ClassLoader.java:148)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:105)
	at java.lang.Class.forName(Class.java:90)
	at java.lang.Class.forName(Class.java:42)

/*********************************************************/

/********hello.html***/
	<HTML>
	<HEAD>
	<TITLE>The Hello World Applet</TITLE>
	</HEAD>
	<BODY>
	<APPLET CODE="HelloWorld.class" WIDTH=150 HEIGHT=25>
	</APPLET>
	</BODY>
	</HTML>
/***************************/
/************HelloWord.java******************/



	import java.applet.Applet;
	import java.awt.Graphics;

	public class HelloWorld extends Applet {
	    public void paint(Graphics g) {
	        g.drawString("Hello world!", 50, 25);
	    }
	}
	/****************************************/

	don't know how to debug this-

	any suggestions?

	Thanks in advance,
	Sanjeev





More information about the kaffe mailing list