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 79163 - closing 1 of many usage tabs causes "java.lang.ArrayIndexOutOfBoundsException: 1 >= 1"
Summary: closing 1 of many usage tabs causes "java.lang.ArrayIndexOutOfBoundsException...
Status: RESOLVED DUPLICATE of bug 75955
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-27 04:39 UTC by jclee
Modified: 2008-12-22 17:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the message.log file (351.37 KB, text/plain)
2006-06-27 04:42 UTC, jclee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jclee 2006-06-27 04:39:17 UTC
Hi,

I'm using nb55 daily build 200606260200 with mustang b89. The issue arises when
I tries to close one of many opened usage windows. The red alarm sign on right
bottom corner sparkles and It's clicked to pop up the exception windows with
exception like following:

java.lang.ArrayIndexOutOfBoundsException: 1 >= 1
	at java.util.Vector.elementAt(Vector.java:431)
	at javax.swing.JTabbedPane.getTitleAt(JTabbedPane.java:1089)
	at javax.swing.plaf.basic.BasicTabbedPaneUI.paintTab(BasicTabbedPaneUI.java:837)
	at
javax.swing.plaf.basic.BasicTabbedPaneUI.paintTabArea(BasicTabbedPaneUI.java:818)
	at javax.swing.plaf.basic.BasicTabbedPaneUI.paint(BasicTabbedPaneUI.java:772)
	at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
	at javax.swing.JComponent.paintComponent(JComponent.java:738)
	at javax.swing.JComponent.paint(JComponent.java:1002)
	at
org.netbeans.modules.refactoring.ui.CloseButtonTabbedPane.paint(CloseButtonTabbedPane.java:168)
	at javax.swing.JComponent.paintChildren(JComponent.java:839)
	at javax.swing.JComponent.paint(JComponent.java:1011)
	at javax.swing.JComponent.paintChildren(JComponent.java:839)
	at javax.swing.JComponent.paint(JComponent.java:1011)
	at javax.swing.JComponent.paintChildren(JComponent.java:839)
	at javax.swing.JComponent.paint(JComponent.java:1011)
	at javax.swing.JComponent.paintChildren(JComponent.java:839)
	at javax.swing.JComponent.paint(JComponent.java:1011)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:559)
	at javax.swing.JComponent.paintChildren(JComponent.java:839)
	at javax.swing.JComponent.paint(JComponent.java:1011)
	at javax.swing.JComponent.paintChildren(JComponent.java:839)
	at javax.swing.JComponent.paint(JComponent.java:1011)
	at javax.swing.JComponent.paintChildren(JComponent.java:839)
	at javax.swing.JComponent.paint(JComponent.java:1011)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:559)
	at javax.swing.JComponent.paintChildren(JComponent.java:839)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5091)
	at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1360)
	at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1291)
	at
javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:295)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1106)
	at javax.swing.JComponent.paint(JComponent.java:988)
	at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
	at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
	at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
	at java.awt.Container.paint(Container.java:1727)
	at org.netbeans.core.windows.view.ui.MainWindow.paint(MainWindow.java:530)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:725)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:670)
	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:650)
	at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:598)
...

regards
JC.L
Comment 1 jclee 2006-06-27 04:42:22 UTC
Created attachment 31401 [details]
the message.log file
Comment 2 _ rkubacki 2006-06-28 10:39:15 UTC
regression in JDK, I guess Dafe commited some workaround.
Comment 3 David Simonek 2006-06-28 16:42:58 UTC
Yes now it's workarounded, please see 75955.

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