Re: Javakit and multiprocessor computer problems

Thomas Chenot <tom.chenot-6tN4nzCoH/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Xavier IZARD wrote:

> Hello,
>
> I use javakit 1.12 on two different computers with the same options. 
> Both computers are running windoze 2000 with j2re 1.4.2.
>
> On the mono-processor computer, javakit works perfectly. On the 
> multiprocessor computer, javakit often fails.

I just tried this same configuration on a dual processor machine and 
javakit works fine every time. The system is not the latest and 
greatest. The processors are PII-333s

>
> Problems are various but it fails about one time out of two. When it 
> fails, either javakit window appears very very slowly and slow down 
> the whole computer ; or javakit windows doesn't appears at all and 
> something like this is printed : plese see below.
>
> It seems JavaKit isn't really multiprocessor compliant. note that I 
> never get problems with others applications.
>
> What do you think ? Does javakit is multi threaded, could-it be a race 
> condition ? Does someone else run javakit on a muliprocessor computer 
> ? Any other idea ?
>
> Thanks for your help.
>
> *** console output when javakit window doesn't appears:
>
> java -classpath 
> ../../Logiciels/tini1_12__javakit/tini1_12__javakit/tini1.12/bin/tini.jar 
> JavaKit -flash 40 -ROMSize 1048576 -port COM1 -baud 57600 -allow 
> -macro autoload.mac
> java.lang.NullPointerException
>         at javax.swing.ImageIcon.<init>(Unknown Source)
>         at javax.swing.ImageIcon.<init>(Unknown Source)
>         at 
> com.sun.java.swing.plaf.windows.WindowsFileChooserUI$ShortCutPanel.<init>(Unknown 
> Source)
>         at 
> com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponents(Unknown 
> Source)
>         at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown 
> Source)
>         at 
> com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknown 
> Source)
>         at javax.swing.JComponent.setUI(Unknown Source)
>         at javax.swing.JFileChooser.updateUI(Unknown Source)
>         at javax.swing.JFileChooser.setup(Unknown Source)
>         at javax.swing.JFileChooser.<init>(Unknown Source)
>         at javax.swing.JFileChooser.<init>(Unknown Source)
>         at JavaKit.<init>(JavaKit.java:784)
>         at JavaKit.main(JavaKit.java:4671)
>
> Regards,
>                         Xavier
>


-- 
Thomas Chenot

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.