harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-5070) [classlib][swing] Harmony may throw NullPointerException in paintIcon
Date Thu, 22 Nov 2007 15:31:43 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-5070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Petrenko resolved HARMONY-5070.
--------------------------------------

    Resolution: Fixed

The patch has been applied.
Please verify.

> [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
>            Assignee: Alexey Petrenko
>         Attachments: H-5070.patch
>
>
>  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