You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey A. Ivanov (JIRA)" <ji...@apache.org> on 2006/12/20 09:42:22 UTC

[jira] Commented: (HARMONY-2810) [classlib][awt] JUnit AWT-based TestRunner can't be started

    [ http://issues.apache.org/jira/browse/HARMONY-2810?page=comments#action_12459857 ] 
            
Alexey A. Ivanov commented on HARMONY-2810:
-------------------------------------------

The problem seems to be caused by HARMONY-1605 commit.

> [classlib][awt] JUnit AWT-based TestRunner can't be started
> -----------------------------------------------------------
>
>                 Key: HARMONY-2810
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2810
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib, App-Oriented Bug Reports
>            Reporter: Alexey A. Ivanov
>
> Trying to launch AWT-based TestRunner of JUnit throws NPE:
> java.exe -cp junit.jar junit.awtui.TestRunner
> Exception in thread "main" java.lang.NullPointerException
>         at java.awt.List.getMaxCharSize(List.java:1413)
>         at java.awt.List.getMinimumSize(List.java:875)
>         at java.awt.List.getPreferredSize(List.java:890)
>         at java.awt.List.updatePrefWidth(List.java:1486)
>         at java.awt.List.addNotify(List.java:842)
>         at java.awt.Container.addNotify(Container.java:443)
>         at java.awt.Panel.addNotify(Panel.java:69)
>         at java.awt.Container.addNotify(Container.java:443)
>         at java.awt.Window.addNotify(Window.java:29)
>         at java.awt.Frame.addNotify(Frame.java:187)
>         at java.awt.Component.mapToDisplay(Component.java:1413)
>         at java.awt.Container.mapToDisplay(Container.java:1189)
>         at java.awt.Window.pack(Window.java:693)
>         at junit.awtui.TestRunner.createUI(TestRunner.java:287)
>         at junit.awtui.TestRunner.start(TestRunner.java:530)
>         at junit.awtui.TestRunner.main(TestRunner.java:382)
> Swing-based TestRunner works fine.

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