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 84111 - ArrayIndexOutOfBoundsException : While closing the last output tab in the output window
Summary: ArrayIndexOutOfBoundsException : While closing the last output tab in the out...
Status: RESOLVED DUPLICATE of bug 75955
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-04 07:56 UTC by baskarspiretek
Modified: 2008-12-22 23:59 UTC (History)
0 users

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 baskarspiretek 2006-09-04 07:56:49 UTC
When we Clean & Build two projects simultaneously, there is two tab in the
output window. If you close the second tab, the following exception occurs :

java.lang.ArrayIndexOutOfBoundsException: 3 >= 3
	at java.util.Vector.elementAt(Vector.java:431)
	at javax.swing.JTabbedPane.getComponentAt(JTabbedPane.java:1201)
	at
javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.layoutContainer(BasicTabbedPaneUI.java:2392)
	at java.awt.Container.layout(Container.java:1419)
	at java.awt.Container.doLayout(Container.java:1408)
	at java.awt.Container.validateTree(Container.java:1491)
	at java.awt.Container.validateTree(Container.java:1498)
	at java.awt.Container.validateTree(Container.java:1498)
	at java.awt.Container.validateTree(Container.java:1498)
	at java.awt.Container.validateTree(Container.java:1498)
	at java.awt.Container.validateTree(Container.java:1498)
	at java.awt.Container.validateTree(Container.java:1498)
	at java.awt.Container.validateTree(Container.java:1498)
	at java.awt.Container.validateTree(Container.java:1498)
	at java.awt.Container.validate(Container.java:1466)
	at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:626)
	at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:127)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:598)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Milos Kleint 2006-09-06 07:10:06 UTC
i suppose you were using a jdk 1.6 build?

looks like aq duplicate of #75955, should be fixed/workarounded in trunk and 5.5
branch. 

*** This issue has been marked as a duplicate of 75955 ***