[kaffe] [Kafe] qte, kaffe & AWT

Fabio fabiovero123 at yahoo.it
Wed May 26 09:45:02 PDT 2004


Hi,

I have the same problem... my output is 
Native AWT ---->evtInit
tlkVersion
Native AWT ---->fntInitFont...Default
Native AWT ---->fntInitFont...Default
Native AWT ---->fntInitFont...Default
Native AWT ---->fntInitFont...Monospaced
Native AWT ---->fntInitFont...Default
Native AWT ---->fntInitFont...Default
Native AWT ---->fntInitFont...Default
Native AWT ---->fntInitFont...Default
Native AWT ---->fntGetFixedWidth 0
Native AWT ---->fntIsWideFont
tlkDisplayBanner
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException at
java.lang.Thread.finish(Thread.java:183)

I cannot understand which is the unhandled exception.
Somoby helps ?

bye
fabio

----- Reply ----
Message: 4
Date: Wed, 26 May 2004 11:47:22 +0200
From: Fabien Renaud <renaud at nentec.de>
Reply-To: renaud at nentec.de
Organization: NenTec GmbH
To: kaffe at kaffe.org
Subject: [kaffe] [Kafe] qte, kaffe & AWT

Hello,

Finaly I can run some java programs written with qt on
my ARM box ( hurra :) ) I have qte-2.3.4 and a
libqtjava hacked by Richard Dale (thanks Richard ;) )
Now I?d like to run awt applications. I compiled kaffe
with awt=qt but I have this message :

[CommBox(root)]:~# kaffe-bin Snowman
tlkProperties
Cannot open /dev/psaux (No such device)
qapp initialization.

tlkInit Done.
tlkGetScreenWidth
tlkGetScreenHeight
tlkGetResolution
Native AWT ---->evtInit
tlkVersion
Native AWT ---->fntInitFont...Default
Native AWT ---->fntInitFont...Default
Native AWT ---->fntInitFont...Default
Native AWT ---->fntInitFont...Monospaced
Native AWT ---->fntInitFont...Default
Native AWT ---->fntInitFont...Default
Native AWT ---->fntInitFont...Default
Native AWT ---->fntInitFont...Default
Native AWT ---->fntGetFixedWidth 0
Native AWT ---->fntIsWideFont
tlkDisplayBanner
pc : [<401eccbc>] lr : [<401eccd0>] Not tainted
sp : 00255914 ip : 00255908 fp : 002559f4
r10: 402f4cb8 r9 : 00008d8c r8 : 402f7390
r7 : 00000002 r6 : 0000acec r5 : 00000005 r4 :
00000005
r3 : 00000014 r2 : 40a599c0 r1 : 00000000 r0 :
00000000
Flags: nZCv IRQs on FIQs on Mode USER_32 Segment user
Control: 397F Table: A1354000 DAC: 00000015
pc : [<401eccbc>] lr : [<401eccd0>] Not tainted
sp : 00255bf8 ip : 00255bec fp : 00255cd0
r10: 402f4cb8 r9 : 00008d8c r8 : 402f7390
r7 : 00000002 r6 : 0000acec r5 : 00000005 r4 :
00000005
r3 : 00000014 r2 : 40a599c0 r1 : 00000000 r0 :
00000000
Flags: nZCv IRQs on FIQs on Mode USER_32 Segment user
Control: 397F Table: A1354000 DAC: 00000015
pc : [<401eccbc>] lr : [<401eccd0>] Not tainted
sp : 00255344 ip : 00255338 fp : 00255424
r10: 402f4cb8 r9 : 00008d8c r8 : 402f7390
r7 : 00000002 r6 : 0000acec r5 : 00000005 r4 :
00000005
r3 : 00000014 r2 : 40a599c0 r1 : 00000000 r0 :
00000000
Flags: nZCv IRQs on FIQs on Mode USER_32 Segment user
Control: 397F Table: A1354000 DAC: 00000015
pc : [<401eccbc>] lr : [<401eccd0>] Not tainted
sp : 00255d50 ip : 00255d44 fp : 00255e28
r10: 402f4cb8 r9 : 00008d8c r8 : 402f7390
r7 : 00000002 r6 : 0000acec r5 : 00000005 r4 :
00000005
r3 : 00000014 r2 : 40a599c0 r1 : 00000000 r0 :
00000000
Flags: nZCv IRQs on FIQs on Mode USER_32 Segment user
Control: 397F Table: A1354000 DAC: 00000015
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException at
java.lang.Thread.finish(Thread.java:183)





This is the source I want to run :
import java.awt.*;
import java.awt.event.*;

public class Snowman extends Frame {
public static void main (String [] argv){
Snowman theSnowman = new Snowman();
}
public Snowman(){
setTitle("The Coloured Snowman");
Panel buttons = new Panel();
Button redButton = new Button("Red");
Button blueButton = new Button("Blue");
Button greenButton = new Button("Green");
buttons.add(redButton); buttons.add(blueButton);
buttons.add(greenButton); add("South", buttons);
setSize(300,300); setVisible(true);
addWindowListener(new WindowAdapter(){ public void
windowClosing(WindowEvent e){ System.exit(0); } }); }
}



If someone can help me :)


Cheers,

Fabien





--__--__--

_______________________________________________
kaffe mailing list
kaffe at kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe




	

	
		
____________________________________________________________
Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo! 
http://companion.yahoo.it




More information about the kaffe mailing list