problem running kaffe with GUI

Jean-Ferdy SUSINI jfsusini at cma.inria.fr
Fri Jul 4 03:11:32 PDT 1997


On Jeu 3 Juil 1997 16:23, Prahladavaradan Sampath <mailto:ps8 at doc.ic.ac.uk>
wrote:
>
>> javac Booktest1.java
>> kaffe Booktest1
>java.lang.NullPointerException
>        at biss/awt/kernel/Toolkit.<init>(line unknown, pc 200b1c)
>        at biss/awt/kernel/Toolkit.<init>(line unknown, pc 20a0f0)
>        at java/awt/Toolkit.getDefaultToolkit(243)
>        at biss/awt/Awt.<clinit>(92)
>        at biss/awt/TopWindow.<init>(120)
>        at biss/awt/BookTest1.<init>(36)
>        at biss/awt/BookTest1.main(50)
>
>Can anyone help me with this problem.
>

I experience the same problem on mklinux and can't found why. I suspect a
problem in the java classes in bizz.zip. If I trace with simple printf all
native calls they are never printed, so I think the problem is perhaps in
the implementation of the biss.awt.kernel.Toolkit class in java. Any idea?
All other packages seem to work fine (net, io...).

--
Jean-Ferdy




More information about the kaffe mailing list