This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Mac OS X 10.2.8 and Netbeans 3.5.1. Didn't happen in 10.2.6. I verified it wasn't my setup by deleting my netbeans directory and reinstalling the app. Switching from editing to gui editing workspace, then back again throws this error: java.lang.ArrayIndexOutOfBoundsException: 0 at apple.laf.AquaTabbedPaneUI.isTabVisible(AquaTabbedPane UI.java:1561) at apple.laf.AquaTabbedPaneUI$AquaTabSelectionHandler.stat eChanged(AquaTabbedPaneUI.java:1479) at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.jav a:287) at javax.swing.JTabbedPane$ModelListener.stateChanged(JTab bedPane.java:219) at javax.swing.DefaultSingleSelectionModel.fireStateChanged( DefaultSingleSelectionModel.java:116) at javax.swing.DefaultSingleSelectionModel.setSelectedIndex( DefaultSingleSelectionModel.java:50) at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPan e.java:468) at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.jav a:461) at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:573) at javax.swing.JTabbedPane.addTab(JTabbedPane.java:607) at org.netbeans.core.windows.frames.SplitContainerImpl.addT CIntoTab(SplitContainerImpl.java:596) at org.netbeans.core.windows.frames.SplitContainerImpl.attac hComponents(SplitContainerImpl.java:322) at org.netbeans.core.windows.frames.DefaultContainerImpl.se tAttached(DefaultContainerImpl.java:801) at org.netbeans.core.windows.frames.SplitContainerImpl.setAt tached(SplitContainerImpl.java:1000) at org.netbeans.core.windows.ModeImpl.setVisible(ModeImpl.j ava:1369) at org.netbeans.core.windows.WorkspaceVisibilityManager.set ModesVisibility(WorkspaceVisibilityManager.java:481) at org.netbeans.core.windows.WorkspaceVisibilityManager.pro cessModes(WorkspaceVisibilityManager.java:381) at org.netbeans.core.windows.WorkspaceVisibilityManager.do SetVisible(WorkspaceVisibilityManager.java:187) at org.netbeans.core.windows.WorkspaceVisibilityManager.set Visible(WorkspaceVisibilityManager.java:101) at org.netbeans.core.windows.WorkspaceImpl.setVisible(Work spaceImpl.java:864) at org.netbeans.core.windows.WindowManagerImpl$2.run(Win dowManagerImpl.java:645) at org.netbeans.core.windows.WindowManagerImpl.setCurrent Workspace(WindowManagerImpl.java:579) at org.netbeans.core.windows.WorkspaceImpl.activate(Worksp aceImpl.java:256) at org.netbeans.core.windows.WorkspaceSwitcher$PoolListene r.propertyChange(WorkspaceSwitcher.java:136) at javax.swing.event.SwingPropertyChangeSupport.firePropert yChange(SwingPropertyChangeSupport.java:264) at javax.swing.event.SwingPropertyChangeSupport.firePropert yChange(SwingPropertyChangeSupport.java:270) at javax.swing.event.SwingPropertyChangeSupport.firePropert yChange(SwingPropertyChangeSupport.java:232) at javax.swing.JComponent.firePropertyChange(JComponent.ja va:3885) at org.netbeans.core.awt.TabControl.fireIndexChange(TabCon trol.java:809) at org.netbeans.core.awt.TabControl.setSelectedIndex(TabCon trol.java:176) at org.netbeans.core.awt.TabControl.processMouseEvent(Tab Control.java:774) at java.awt.Component.processEvent(Component.java:4890) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:35 98) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.LightweightDispatcher.retargetMouseEvent(Contain er.java:3450) at java.awt.LightweightDispatcher.processMouseEvent(Contain er.java:3174) at java.awt.LightweightDispatcher.dispatchEvent(Container.jav a:3095) at java.awt.Container.dispatchEventImpl(Container.java:1609) at java.awt.Window.dispatchEventImpl(Window.java:1585) at java.awt.Component.dispatchEvent(Component.java:3439) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy( EventDispatchThread.java:230) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Eve ntDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEvents(EventDispatchTh read.java:177) at java.awt.EventDispatchThread.pumpEvents(EventDispatchTh read.java:169) at java.awt.EventDispatchThread.run(EventDispatchThread.jav a:99)
Because Window System v1 will not be supported from now by our team, all old winsys issues (now "core/window system v1" issues) are going to be closed as WONTFIX. Changes in API which emerged both from UI spec and problems with adjusting to the older API are described in the document http://core.netbeans.org/windowsystem/changes.html. It shows also recommends how the client code should be adjusted to the new window system. If you think this issue apply also to the new winsys then change the subcomponent (to "core/window system") and REOPEN it.
issue doesn't apply to new window system - verified