You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Dmitry A. Durnev (JIRA)" <ji...@apache.org> on 2006/10/27 13:46:57 UTC

[jira] Updated: (HARMONY-1627) [classlib][awt] CaffeineMark 3.0 sometimes fails with NPE on Dialog benchmark

     [ http://issues.apache.org/jira/browse/HARMONY-1627?page=all ]

Dmitry A. Durnev updated HARMONY-1627:
--------------------------------------

    Patch Info: [Patch Available]

> [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
>         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