What steps will reproduce the problem?
1. create workspace in window mode
2. add one ore more perspectives
3. minimize perspective window
4. exception occurs
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException:
cannot add to
layout: constraint must be a string (or null)
at java.awt.BorderLayout.addLayoutComponent(BorderLayout.java:409)
at java.awt.Container.addImpl(Container.java:1074)
at javax.swing.JLayeredPane.addImpl(JLayeredPane.java:212)
at javax.swing.JDesktopPane.addImpl(JDesktopPane.java:470)
at java.awt.Container.add(Container.java:927)
at com.apple.laf.AquaInternalFramePaneUI.getDock(AquaInternalFramePaneUI.java:76)
at
com.apple.laf.AquaInternalFramePaneUI$AquaDockingDesktopManager.addIcon(AquaInte
rnalFra
mePaneUI.java:205)
at
com.apple.laf.AquaInternalFrameManager.iconifyFrame(AquaInternalFrameManager.jav
a:92)
at
com.apple.laf.AquaInternalFramePaneUI$AquaDockingDesktopManager.iconifyFrame(Aqu
aInterna
lFramePaneUI.java:200)
at javax.swing.plaf.basic.BasicInternalFrameUI.iconifyFrame(BasicInternalFrameUI.java:576)
at
javax.swing.plaf.basic.BasicInternalFrameUI$Handler.propertyChange(BasicInternal
FrameUI.java:1
414)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
at java.awt.Component.firePropertyChange(Component.java:8213)
at javax.swing.JInternalFrame.setIcon(JInternalFrame.java:930)
at
com.apple.laf.AquaInternalFrameBorder.doButtonAction(AquaInternalFrameBorder.jav
a:279)
at
com.apple.laf.AquaInternalFrameUI$AquaBorderListener.mouseReleased(AquaInternalF
rameUI.jav
a:405)
at java.awt.Component.processMouseEvent(Component.java:6348)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
at java.awt.Component.processEvent(Component.java:6113)
at java.awt.Container.processEvent(Container.java:2085)
at java.awt.Component.dispatchEventImpl(Component.java:4714)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
at java.awt.Container.dispatchEventImpl(Container.java:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Expected: minimized perspective icon.
Original issue reported on code.google.com by amo.a...@gmail.com on 15 May 2010 at 9:15
Original issue reported on code.google.com by
amo.a...@gmail.com
on 15 May 2010 at 9:15