You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Oliver Deakin (JIRA)" <ji...@apache.org> on 2009/05/15 14:32:45 UTC

[jira] Resolved: (HARMONY-6009) [classlib][beans] NPE launching swingset2 example

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

Oliver Deakin resolved HARMONY-6009.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M10

I've applied the fix described on the mailing list  ("Re: [jira] Commented: (HARMONY-6009) [classlib][beans] NPE launching swingset2 example" thread) at repo revision r775105. Please check that fixes the failure for you Tim, thanks.

> [classlib][beans] NPE launching swingset2 example
> -------------------------------------------------
>
>                 Key: HARMONY-6009
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6009
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Win32
> Harmony r715566
>            Reporter: Tim Ellison
>            Assignee: Oliver Deakin
>             Fix For: 5.0M10
>
>         Attachments: HARMONY-6009.diff
>
>
> harmony thorws a NullPointerException when launching swingset2 example
> hdk\jdk\jre\bin\java.exe -jar c:\apachecon\swingset\SwingSet2.jar
> Uncaught exception in main:
> java.lang.reflect.InvocationTargetException
>         at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
>         at java.lang.reflect.Method.invoke(Method.java:317)
>         at org.apache.harmony.vm.JarRunner.main(JarRunner.java:89)
> Caused by: java.lang.NullPointerException
>         at java.beans.PropertyChangeSupport.doFirePropertyChange(PropertyChangeSupport.java:263)
>         at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:54)
>         at java.awt.Component.firePropertyChangeImpl(Component.java:1669)
>         at java.awt.Component.firePropertyChange(Component.java:1683)
>         at javax.swing.JComponent.setBorder(JComponent.java:747)
>         at javax.swing.LookAndFeel.uninstallBorder(LookAndFeel.java:163)
>         at javax.swing.plaf.basic.BasicInternalFrameUI.uninstallDefaults(BasicInternalFrameUI.java:790)
>         at javax.swing.plaf.basic.BasicInternalFrameUI.uninstallUI(BasicInternalFrameUI.java:560)
>         at javax.swing.plaf.metal.MetalInternalFrameUI.uninstallUI(MetalInternalFrameUI.java:105)
>         at javax.swing.JComponent.setUI(JComponent.java:1294)
>         at javax.swing.JInternalFrame.setUI(JInternalFrame.java:539)
>         at javax.swing.JInternalFrame.updateUI(JInternalFrame.java:558)
>         at javax.swing.SwingUtilities.updateComponentTreeUILevel(SwingUtilities.java:374)
>         at javax.swing.SwingUtilities.updateComponentTreeUILevel(SwingUtilities.java:386)
>         at javax.swing.SwingUtilities.updateComponentTreeUILevel(SwingUtilities.java:386)
>         at javax.swing.SwingUtilities.updateComponentTreeUI(SwingUtilities.java:365)
>         at SwingSet2.setDemo(SwingSet2.java:726)
>         at SwingSet2.preloadFirstDemo(SwingSet2.java:684)
>         at SwingSet2.<init>(SwingSet2.java:225)
>         at SwingSet2.main(SwingSet2.java:248)
>         at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
>         ... 2 more

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