Abt appletviewer?

Edouard G. Parmelan Edouard.Parmelan at quadratec.fr
Wed Apr 26 06:34:00 PDT 2000


Ganesh Sivaraman wrote:

> But then TicTacToe demo which plays audio gives errors. This is what I
> get.. whever i click the mouse. Any idea.
> 
> [root at fobar TicTacToe]# /usr/local/bin/appletviewer example1.html
> java.lang.NullPointerException
>         at kaffe/applet/AudioPlayer.play(AudioPlayer.java:32)
>         at java/applet/Applet.play(Applet.java:151)
>         at java/applet/Applet.play(Applet.java:156)
>         at TicTacToe.mouseReleased(TicTacToe.java:301)
>         at java/awt/Component.processMouseEvent(Component.java:1210)
>         at java/awt/Component.processEvent(Component.java:1077)
>         at java/awt/Component.processMouse(Component.java:1196)
>         at java/awt/MouseEvt.dispatch(MouseEvt.java:224)
>         at java/awt/EventDispatchThread.run(EventDispatchThread.java:39)

Could you give us Kaffe version (snapshot or CVS Tree with date), os
release...

With current CVS Tree, on GNU/Linux kernel 2.2.14, I have this
backtrace:

java.io.IOException: Operation not supported by device
        at kaffe.applet.AudioPlayer.play(AudioPlayer.java:32)
        at java.applet.Applet.play(Applet.java:122)
        at java.applet.Applet.play(Applet.java:128)
        at TicTacToe.mouseReleased(TicTacToe.java:278)
        at java.awt.Component.processMouseEvent(Component.java:1210)
        at java.awt.Component.processEvent(Component.java:1077)
        at java.awt.Component.processMouse(Component.java:1196)
        at java.awt.MouseEvt.dispatch(MouseEvt.java:224)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:39)

But I does not have sound card ;-P
-- 
Edouard G. Parmelan
http://egp.free.fr


More information about the kaffe mailing list