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 74500 - IndexOutOfBoundsException in Usages window
Summary: IndexOutOfBoundsException in Usages window
Status: RESOLVED DUPLICATE of bug 75955
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: All Linux
: P4 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-06 13:00 UTC by andresgr
Modified: 2008-12-22 20:48 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 andresgr 2006-04-06 13:00:30 UTC
I did the same "Find Usages" twice, so i get two tabs in the Usages window. I
clicked on the X (close window) of one and (fastly) clicked on the other one. I
get this exception:

java.lang.IndexOutOfBoundsException: Index: 1, Tab count: 0
	at javax.swing.JTabbedPane.checkIndex(JTabbedPane.java:1562)
	at javax.swing.JTabbedPane.getMnemonicAt(JTabbedPane.java:1072)
	at
javax.swing.plaf.metal.MetalToolTipUI.getAcceleratorString(MetalToolTipUI.java:141)
	at
javax.swing.plaf.metal.MetalToolTipUI.getAcceleratorString(MetalToolTipUI.java:108)
	at javax.swing.plaf.metal.MetalToolTipUI.paint(MetalToolTipUI.java:73)
	at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
	at javax.swing.JComponent.paintComponent(JComponent.java:742)
	at javax.swing.JComponent.paint(JComponent.java:1005)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:559)
	at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4963)
	at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916)
	at javax.swing.JComponent._paintImmediately(JComponent.java:4859)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4666)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
[catch] at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Marian Mirilovic 2006-04-06 13:14:50 UTC
No line from NetBeans, probably JDK bug, but could you please attach the whole
stack trace, or/and exception before this one?
Thanks in advance.
Comment 2 andresgr 2006-04-06 15:05:18 UTC
The stack trace i sent is complete. There's nothing more than that in netbeans log.

Cheers.
Comment 3 David Simonek 2006-08-08 16:07:28 UTC
This is another version of famous JDK bug, see 75955 for details.

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