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 215330 - ArrayIndexOutOfBoundsException: 3
Summary: ArrayIndexOutOfBoundsException: 3
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 223716 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-10 07:41 UTC by Exceptions Reporter
Modified: 2013-01-04 02:31 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 190580


Attachments
stacktrace (5.30 KB, text/plain)
2012-07-10 07:41 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-07-10 07:41:39 UTC
This bug was originally marked as duplicate of bug 198374, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.1.2 (Build 201204101705)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.8-b03-424, Java(TM) SE Runtime Environment, 1.6.0_33-b03-424-11M3720
OS: Mac OS X

User Comments:
GUEST: writing a java swing label array




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 3
   at org.openide.explorer.view.OutlineView$OutlineViewOutline.getTreePreferredWidth(OutlineView.java:1644)
   at org.openide.explorer.view.OutlineView$OutlineViewOutline$TranslatedTableCellRenderer.setBounds(OutlineView.java:1888)
   at javax.swing.CellRendererPane.paintComponent(CellRendererPane.java:120)
   at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2073)
   at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974)
   at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1770)
Comment 1 Exceptions Reporter 2012-07-10 07:41:41 UTC
Created attachment 121869 [details]
stacktrace
Comment 2 Marian Mirilovic 2012-12-19 10:17:17 UTC
See also issue 223716
Comment 3 Martin Entlicher 2012-12-19 10:24:38 UTC
P2 and a REGRESSION keyword in a bug, that have just 3 reports from NB 7.1?
The one occurrence in issue #223716 is likely a duplicate (will check).
Any steps to reproduce?
Comment 4 Martin Entlicher 2012-12-19 10:35:03 UTC
*** Bug 223716 has been marked as a duplicate of this bug. ***
Comment 5 Martin Entlicher 2012-12-19 10:45:48 UTC
Removing REGRESSION keyword. I do not see any reason for it, since apparently this problem is there since NB 7.1 RC1.
Comment 6 Marian Mirilovic 2012-12-19 14:29:16 UTC
regression ... see issue 198374 (or it wasn't fixed even before)
Comment 7 Martin Entlicher 2012-12-19 17:39:25 UTC
Most probably it was not fully fixed by issue #198374.
It's hard to verify, since there are no steps to reproduce...
Comment 8 Martin Entlicher 2013-01-02 16:40:20 UTC
Fixed by changeset:   243686:35ccc8b4af06
http://hg.netbeans.org/core-main/rev/35ccc8b4af06
Comment 9 Quality Engineering 2013-01-04 02:31:58 UTC
Integrated into 'main-golden', will be available in build *201301040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/35ccc8b4af06
User: mentlicher@netbeans.org
Log: #215330: Prevent from ArrayIndexOutOfBoundsException when not yet rendered rows are in the model.