Hello,
I am using Kaffe for expetimenting with the VM implementation yet I
encountered another problem with its graphics. I am compiling and
running it on Linux 2.4.9-13 with gcc version 2.95.3.
I do something like this:
g.drawImage(EL_ARR[ak_nr].Picture, 0, 0, this);
//where g = Graphics ...
// EL_ARR.Picture = Image ...
// this = Applet ...
and I do not get any graphics on the screen yet I get this exception:
java.lang.ArithmeticException
at java.awt.image.DirectColorModel.getBlue(DirectColorModel.java:82)
at
java.awt.image.DirectColorModel.getRGB(DirectColorModel.java:101)
at java.awt.ImageLoader.setPixels(Image.java:660)
at
java.awt.image.MemoryImageSource.transferPels(MemoryImageSource.java:171)
at
java.awt.image.MemoryImageSource.startProduction(MemoryImageSource.java:158)
at java.awt.ImageLoader.loadSync(Image.java:553)
at java.awt.Image.loadImage(Image.java:316)
at java.awt.NativeGraphics.drawImage(NativeGraphics.java:207)
at MPEG_Play.update(MPEG_Play.java:386)
at java.awt.Panel.processPaintEvent(Panel.java:63)
at java.awt.PaintEvt.dispatch(PaintEvt.java:31)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:35)
Does anybody has encoutered this problem or fixed it already? Could you
please let me know how to fix it or what might be the problem in there?
Thank you very much in advance.
Best regards,
Richard
_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
- [kaffe] Bug Report Paul M Hounslow
- Re: [kaffe] Bug Report Timothy Stack
- Re: [kaffe] Bug Report Archie Cobbs
- Re: [kaffe] Bug Report Timothy Stack
- Re: [kaffe] Bug Report Dalibor Topic
- Re: [kaffe] Bug Report Timothy Stack
- [kaffe] Bug Report Stanislav Oulmer
- Re: [kaffe] Bug Report Richard Stahl
- Re: [kaffe] Bug Report Dalibor Topic
- Re: [kaffe] JNI load Richard Stahl
- Re: [kaffe] JNI load Helmer Kr�mer
- Re: [kaffe] JNI load Dalibor Topic
- [kaffe] Bug report Hermanni Hyyti�l�
- Re: [kaffe] Bug report (java.io.StreamTokenizer... Ito Kazumitsu
- Re: [kaffe] Bug report (java.io.StreamTokenizer... Hermanni Hyyti�l�
- Re: [kaffe] Bug report (java.io.StreamToken... Ito Kazumitsu
- Re: [kaffe] Bug report (java.io.StreamToken... Hermanni Hyyti�l�
- Re: [kaffe] Bug report (java.io.StreamT... Dalibor Topic
