harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-1964) [classlib][awt]Junit AWT TestRunner throws NPE in "Errors and Failures" text area
Date Wed, 07 Mar 2007 12:18:24 GMT

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

Alexei Zakharov closed HARMONY-1964.
------------------------------------


Fine. Closed. 

> [classlib][awt]Junit AWT TestRunner throws NPE in "Errors and Failures" text area
> ---------------------------------------------------------------------------------
>
>                 Key: HARMONY-1964
>                 URL: https://issues.apache.org/jira/browse/HARMONY-1964
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Ilya Okomin
>         Assigned To: Alexei Zakharov
>            Priority: Minor
>         Attachments: Harmony-1964.patch
>
>
> Description: AWT TestRunner throws NPE in "Errors and Failures" text area
> Steps to Reproduce:
> 1. java -cp junit.jar junit.awtui.TestRunner
> 2. press Tab key three times to get to the  "Errors and Failures" text area component
> 3. press arrow key
> Result: 
> java.lang.NullPointerException
>         at org.apache.harmony.awt.text.TextUtils.getRowStart(TextUtils.java:314)
>         at org.apache.harmony.awt.text.TextUtils.getPositionAbove(TextUtils.java:392)
>         at org.apache.harmony.awt.text.TextUtils.getNextVisualPositionFrom(TextUtils.java:587)
>         at javax.swing.text.View.getNextVisualPositionFrom(View.java:188)
>         at javax.swing.text.RootView.getNextVisualPositionFrom(RootView.java:97)
>         at org.apache.harmony.awt.text.ActionSet$NextVisualPositionAction.internalPerformAction(ActionSet.java:218)
>         at org.apache.harmony.awt.text.AWTTextAction.performAction(AWTTextAction.java:27)
>         at java.awt.TextComponent.performTextAction(TextComponent.java:1106)
>         at java.awt.TextComponent$KeyHandler.performAction(TextComponent.java:284)
>         at java.awt.TextComponent$KeyHandler.keyPressed(TextComponent.java:256)
>         at java.awt.Component.processKeyEventImpl(Component.java:3897)
>         at java.awt.Component.preprocessKeyEvent(Component.java:3616)
>         at java.awt.TextComponent.postprocessEvent(TextComponent.java:1095)
>         at java.awt.Component.dispatchEvent(Component.java:3545)
>         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:283)
>         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:373)
>         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:94)
>         at java.awt.Component.dispatchEvent(Component.java:3518)
>         at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java:139)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:144)
>         at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java:67)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:45)

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