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.

Bug 35198 - ArrayIndexOutOfBoundsException generated in AquaTabbedPaneUI
Summary: ArrayIndexOutOfBoundsException generated in AquaTabbedPaneUI
Status: VERIFIED DUPLICATE of bug 34284
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-29 21:17 UTC by emarsh
Modified: 2008-12-23 09:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emarsh 2003-07-29 21:17:15 UTC
Since I switched to 3.5 I've repeatedly received an ArrayIndexOutOfBoundsException. 
The exception appears to be associated with my trying to open source files from the 
project menu or open the source editor when it is minimized/closed/hidden.  Here is 
the error from my log file:

*********** Exception occurred ************ at Tue Jul 29 15:03:39 CDT 2003
java.lang.ArrayIndexOutOfBoundsException: 0
	at apple.laf.AquaTabbedPaneUI.isTabVisible(AquaTabbedPaneUI.java:1561)
	at 
apple.laf.AquaTabbedPaneUI$AquaTabSelectionHandler.stateChanged(AquaTabbedPane
UI.java:1479)
	at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:287)
	at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:219)
	at 
javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.
java:116)
	at 
javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.j
ava:50)
	at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:468)
	at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:461)
	at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:573)
	at javax.swing.JTabbedPane.addTab(JTabbedPane.java:607)
	at 
org.netbeans.core.windows.frames.SplitContainerImpl.addTCIntoTab(SplitContainerImpl
.java:596)
	at 
org.netbeans.core.windows.frames.SplitContainerImpl.attachComponents(SplitContainer
Impl.java:322)
	at 
org.netbeans.core.windows.frames.DefaultContainerImpl.setAttached(DefaultContainerI
mpl.java:801)
	at 
org.netbeans.core.windows.frames.SplitContainerImpl.setAttached(SplitContainerImpl.ja
va:1000)
	at org.netbeans.core.windows.ModeImpl.setVisible(ModeImpl.java:1369)
	at 
org.netbeans.core.windows.WorkspaceVisibilityManager.setModesVisibility(WorkspaceVi
sibilityManager.java:481)
	at 
org.netbeans.core.windows.WorkspaceVisibilityManager.processModes(WorkspaceVisibil
ityManager.java:381)
	at 
org.netbeans.core.windows.WorkspaceVisibilityManager.doSetVisible(WorkspaceVisibilit
yManager.java:187)
	at 
org.netbeans.core.windows.WorkspaceVisibilityManager.setVisible(WorkspaceVisibilityM
anager.java:101)
	at org.netbeans.core.windows.WorkspaceImpl.setVisible(WorkspaceImpl.java:864)
	at org.netbeans.core.windows.WorkspaceImpl.setVisible(WorkspaceImpl.java:854)
	at 
org.netbeans.core.windows.MainWindow$IconifyManager.windowDeiconified(MainWindo
w.java:378)
	at java.awt.AWTEventMulticaster.windowDeiconified(AWTEventMulticaster.java:317)
	at java.awt.AWTEventMulticaster.windowDeiconified(AWTEventMulticaster.java:317)
	at java.awt.Window.processWindowEvent(Window.java:1111)
	at javax.swing.JFrame.processWindowEvent(JFrame.java:266)
	at 
org.netbeans.core.windows.MainWindow.processWindowEvent(MainWindow.java:336)
	at java.awt.Window.processEvent(Window.java:1061)
	at java.awt.Component.dispatchEventImpl(Component.java:3598)
	at java.awt.Container.dispatchEventImpl(Container.java:1623)
	at java.awt.Window.dispatchEventImpl(Window.java:1585)
	at java.awt.Component.dispatchEvent(Component.java:3439)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
[catch] at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:23
0)
	at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Comment 1 _ tboudreau 2003-07-29 23:09:12 UTC
Refiling against core window system - was filed under 
workspaceswitcher
Comment 2 mslama 2003-08-11 14:16:30 UTC
Assigning to thurka.
Comment 3 Tomas Hurka 2003-08-11 14:46:17 UTC

*** This issue has been marked as a duplicate of 34284 ***
Comment 4 Marian Mirilovic 2003-09-03 17:06:10 UTC
verifying duplication