Dalibor Topic wrote:

Salut Fabien,

Fabien Renaud wrote:

If I compiled kaffe with --with-awt=qt there should be not (too much) errors ?
Now I have this :


tlkDisplayBanner
pc : [<401eccbc>]    lr : [<401eccd0>]    Not tainted
sp : 00253914  ip : 00253908  fp : 002539f4
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: A1148000  DAC: 00000015


That looks suspiciosly like a kernel error. You should ask on your distribution's arm mailing lists how to decode it. That is certainly not a Kaffe error message.

I´d like to know too why there is a soooooo long time before than a message arrives in my box. Sometimes, I receive a message sent 8 hours before !


E-mail is not as much fun as it used to be, these days on the internet ... I'm not sure why we have the ocassional hiccup, but I guess spam plays a big role in that :(

cheers,
dalibor topic



Actually I have this errors because CONFIG_DEBUG_USER is turned on in the kernel.
So, without these messages, I have this :
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

The error occurs here.
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
       at java.lang.Thread.finish(Thread.java:183)


The program that I want to run :

import java.awt.*;
import java.awt.event.*;

public class FirstAWT extends Frame {

      public static void main(String args[]) {
              FirstAWT myWindow = new FirstAWT();
              myWindow.setVisible(true);
      }

       public FirstAWT() {
              // Set the size, background color, and title for our window
              setSize(400,200);
              setBackground(Color.red);
              setTitle("My first AWT application");
              WindowDestroyer listener = new WindowDestroyer();
              addWindowListener(listener);
      }

       public void paint(Graphics g) {
              g.setColor(Color.black);
              g.drawString("Hello world!", 150, 50);
              System.out.println("paint called");
      }

      private class WindowDestroyer extends WindowAdapter {

public void windowClosing(WindowEvent e)
{
System.exit(0);
} }
}



I´m still on ARM with qtlib and --with-awt=qt


_______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to