You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Chunrong Lai (JIRA)" <ji...@apache.org> on 2009/03/10 10:40:50 UTC

[jira] Assigned: (HARMONY-6114) [classlib][awt] Harmony fails to execute the sample code(Composite.java) of the Java Tutorial.

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

Chunrong Lai reassigned HARMONY-6114:
-------------------------------------

    Assignee: Chunrong Lai

> [classlib][awt] Harmony fails to execute the sample code(Composite.java) of the Java Tutorial.
> ----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6114
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6114
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports
>    Affects Versions: 5.0M8
>         Environment: Operating system: Windows XP, Hardware specifications: Intel Core 2 Duo E6759, 2GB RAM, and NVIDIA GeForce 8600GT
>            Reporter: Veawor Liu
>            Assignee: Chunrong Lai
>
> Download the source (http://java.sun.com/docs/books/tutorial/2d/advanced/examples/Composite.java) and compile it. Execute C:\Java\harmony-jdk-713673\jre\bin\java.exe -cp . Composite and throw the exception as below. 
> Uncaught exception in main:
> java.lang.IllegalArgumentException: MinimumLayoutSize: <null>
>         at java.awt.GridBagLayout.minimumLayoutSize(GridBagLayout.java:227)
>         at javax.swing.JComponent.getMinimumSize(JComponent.java:442)
>         at javax.swing.JRootPane$RootLayout.minimumLayoutSize(JRootPane.java:124)
>         at javax.swing.JComponent.getMinimumSize(JComponent.java:442)
>         at java.awt.BorderLayout.validateArrays(BorderLayout.java:435)
>         at java.awt.BorderLayout.validate(BorderLayout.java:394)
>         at java.awt.BorderLayout.minimumLayoutSize(BorderLayout.java:273)
>         at java.awt.Container.getDefaultMinimumSize(Container.java:753)
>         at java.awt.Component.minimumSize(Component.java:3291)
>         at java.awt.Container.minimumSize(Container.java:741)
>         at java.awt.Container.getMinimumSize(Container.java:726)
>         at java.awt.BorderLayout.validateArrays(BorderLayout.java:435)
>         at java.awt.BorderLayout.validate(BorderLayout.java:394)
>         at java.awt.BorderLayout.minimumLayoutSize(BorderLayout.java:273)
>         at javax.swing.JComponent.getMinimumSize(JComponent.java:442)
>         at javax.swing.JRootPane$RootLayout.minimumLayoutSize(JRootPane.java:124)
>         at javax.swing.JComponent.getMinimumSize(JComponent.java:442)
>         at java.awt.BorderLayout.validateArrays(BorderLayout.java:435)
>         at java.awt.BorderLayout.validate(BorderLayout.java:394)
>         at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:291)
>         at java.awt.Container.getDefaultPreferredSize(Container.java:789)
>         at java.awt.Component.preferredSize(Component.java:3317)
>         at java.awt.Container.preferredSize(Container.java:777)
>         at java.awt.Container.getPreferredSize(Container.java:762)
>         at java.awt.Window.pack(Window.java:701)
>         at Composite.main(Composite.java:151)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.