harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-1627) [classlib][awt] CaffeineMark 3.0 sometimes fails with NPE on Dialog benchmark
Date Wed, 01 Nov 2006 15:21:23 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1627?page=all ]

Tim Ellison closed HARMONY-1627.
--------------------------------


Verified by Dmitry.


> [classlib][awt] CaffeineMark 3.0 sometimes fails with NPE on Dialog benchmark
> -----------------------------------------------------------------------------
>
>                 Key: HARMONY-1627
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1627
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports
>            Reporter: Dmitry A. Durnev
>         Assigned To: Tim Ellison
>         Attachments: H1627-fix.patch
>
>
> Start CaffeineMark 3.0, choose "Run all tests locally" from the "Test" menu. Dialog benchmark
runs for a while & then throws NPE with the following stack trace:
> java.lang.NullPointerException
>         at java.lang.NullPointerException.<init>(NullPointerException.java:32)
>         at java.lang.String.<init>(String.java)
>         at javax.swing.text.Segment.toString(Segment.java:144)
>         at org.apache.harmony.awt.text.TextUtils.getTabbedTextEnd(TextUtils.java)
>         at org.apache.harmony.awt.text.TextUtils.getTabbedTextWidth(TextUtils.java:202)
>         at javax.swing.text.FieldView.getPreferredSpan(FieldView.java:68)
>         at javax.swing.text.PasswordView.getPreferredSpan(PasswordView.java:71)
>         at org.apache.harmony.awt.text.TextUtils.getFieldViewAllocation(TextUtils.java)
>         at javax.swing.text.FieldView.adjustAllocation(FieldView.java:39)
>         at javax.swing.text.FieldView.paint(FieldView.java:106)
>         at javax.swing.text.RootView.paint(RootView.java:210)
>         at java.awt.TextComponent.prepaint(TextComponent.java:1047)
>         at java.awt.Component.initGraphics(Component.java:3903)
>         at java.awt.Component.processPaintEvent(Component.java:3881)
>         at java.awt.Component.dispatchEvent(Component.java:3680)
>         at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java:138)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:143)
>         at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java:74)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:47)
>         at java.lang.Thread.runImpl(Unknown Source)
> The bug is not 100% reproducible, usually it shows up after 3-5 repeated runs of all
tests.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message