harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chunrong Lai (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5070) [classlib][swing] Harmony may throw NullPointerException in paintIcon
Date Tue, 06 Nov 2007 07:08:50 GMT
[classlib][swing] Harmony may throw NullPointerException in paintIcon
---------------------------------------------------------------------

                 Key: HARMONY-5070
                 URL: https://issues.apache.org/jira/browse/HARMONY-5070
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: Linux32
            Reporter: Chunrong Lai



 The exception can be visited when running demo/jfc/Notepad.
 The stackTrace is as following:

java.lang.NullPointerException
        at org.apache.harmony.awt.gl.Surface.getType(Surface.java:210)
        at org.apache.harmony.awt.gl.ImageSurface.<init>(ImageSurface.java:68)
        at org.apache.harmony.awt.gl.linux.XSurface.getImageSurface(XSurface.java:292)
        at org.apache.harmony.awt.gl.linux.XBlitter.imBlit(XBlitter.java:368)
        at org.apache.harmony.awt.gl.linux.XBlitter.blit(XBlitter.java:330)
        at org.apache.harmony.awt.gl.linux.XBlitter.blit(XBlitter.java:165)
        at org.apache.harmony.awt.gl.CommonGraphics2D.drawImage(CommonGraphics2D.java:358)
        at org.apache.harmony.awt.gl.CommonGraphics2D.drawImage(CommonGraphics2D.java:365)
        at javax.swing.ImageIcon.paintIcon(ImageIcon.java:198)
        at javax.swing.plaf.basic.BasicButtonUI.paintIcon(BasicButtonUI.java:111)
        at javax.swing.plaf.basic.BasicButtonUI.paint(BasicButtonUI.java:98)
        at javax.swing.plaf.ComponentUI.update(ComponentUI.java:38)
        at javax.swing.JComponent.paintComponent(JComponent.java:897)
        at javax.swing.JComponent.paint(JComponent.java:994)
        at javax.swing.JComponent.paintChildren(JComponent.java:973)
        at javax.swing.JComponent.paint(JComponent.java:996)
        at javax.swing.JComponent.paintChildren(JComponent.java:973)
        at javax.swing.JComponent.paint(JComponent.java:996)
        at javax.swing.JComponent.paintChildren(JComponent.java:973)
        at Notepad.paintChildren(Notepad.java:77)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message