NPE in gnu.java.awt.java2d.AbstractGraphics2D.renderScanline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

Another NPE when building openjdk with GNU Classpath:

$ cat /home/twisti/cacao/sun/openjdk/jdk/j2se/src/solaris/classes/sun/awt/X11/java-icon16.png | /home/twisti/tmp/cacao/bin/java -client -Xmx896m -Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m -classpath /home/twisti/cacao/sun/openjdk/jdk/control/build/linux-ppc-fastdebug/classes  -Dawt.toolkit=sun.awt.motif.MToolkit -Djava.awt.headless=true sun.awt.X11.ToBin
Header Chunk. Image width:16 height:16 depth:8 color type:6 compression type:0 filter type:0 interlace:0
Got profile:java.awt.color.ICC_ProfileRGB@10122be0
Exception in thread "main" java.lang.NullPointerException
   at gnu.java.awt.java2d.AbstractGraphics2D.renderScanline(AbstractGraphics2D.java:1729)
   at gnu.java.awt.java2d.ScanlineConverter.doScanline(ScanlineConverter.java:297)
   at gnu.java.awt.java2d.ScanlineConverter.renderShape(ScanlineConverter.java:208)
   at gnu.java.awt.java2d.AbstractGraphics2D.fillShape(AbstractGraphics2D.java:1571)
   at gnu.java.awt.java2d.AbstractGraphics2D.drawRenderedImageImpl(AbstractGraphics2D.java:433)
   at gnu.java.awt.java2d.AbstractGraphics2D.drawImageImpl(AbstractGraphics2D.java:326)
   at gnu.java.awt.java2d.AbstractGraphics2D.drawImage(AbstractGraphics2D.java:296)
   at gnu.java.awt.java2d.AbstractGraphics2D.drawImage(AbstractGraphics2D.java:1423)
   at sun.awt.X11.ToBin.main(ToBin.java:43)

Also notice the debug output, which makes the output unusable.

- twisti



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux