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 230236

Summary: ArrayIndexOutOfBoundsException: 6
Product: profiler Reporter: Tomas Hurka <thurka>
Component: BaseAssignee: Jiri Sedlacek <jis>
Status: RESOLVED FIXED    
Severity: normal CC: cyhelsky, rodrigorsantos
Priority: P3 Keywords: RANDOM, VISUALVM
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 200902
Attachments: stacktrace
stacktrace
stacktrace

Description Tomas Hurka 2013-05-24 13:49:14 UTC
Build: NetBeans IDE Dev (Build 20130521-84138d89e59d)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b35, Java(TM) SE Runtime Environment, 1.7.0_14-ea-b16
OS: Mac OS X

User Comments:
thurka: switching instances via keyboard




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 6
   at org.netbeans.modules.profiler.heapwalk.model.AbstractHeapWalkerNode.getChild(AbstractHeapWalkerNode.java:86)
   at org.netbeans.modules.profiler.heapwalk.model.AbstractHeapWalkerNode.getChild(AbstractHeapWalkerNode.java:57)
   at org.netbeans.lib.profiler.ui.components.treetable.AbstractTreeTableModel.getChild(AbstractTreeTableModel.java:97)
   at javax.swing.tree.FixedHeightLayoutCache.getBounds(FixedHeightLayoutCache.java:547)
   at javax.swing.tree.FixedHeightLayoutCache.getBounds(FixedHeightLayoutCache.java:198)
   at javax.swing.plaf.basic.BasicTreeUI.getPathBounds(BasicTreeUI.java:528)
Comment 1 Tomas Hurka 2013-05-24 13:49:15 UTC
Created attachment 134870 [details]
stacktrace
Comment 2 Tomas Hurka 2013-05-24 14:39:21 UTC
It looks like a regression introduced by fix of issue #107502.
Comment 3 Tomas Hurka 2013-06-06 10:41:49 UTC
It looks like this cannot be easily reproduced, lowering priority.
Comment 4 rodrigorsantos 2013-06-29 03:11:53 UTC
Created attachment 136482 [details]
stacktrace

<Please provide a description of the problem or the steps to reproduce>
Comment 5 Petr Cyhelsky 2013-07-02 07:51:07 UTC
Created attachment 136574 [details]
stacktrace

getting path to gc root
Comment 6 Exceptions Reporter 2013-07-08 18:29:38 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=200902
Comment 7 Jiri Sedlacek 2013-07-09 10:51:07 UTC
Hopefully fixed by http://hg.netbeans.org/profiler-main/rev/5e7cd483911c.
Comment 8 Quality Engineering 2013-07-12 02:28:43 UTC
Integrated into 'main-silver', will be available in build *201307112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5e7cd483911c
User: Jiri Sedlacek <jis@netbeans.org>
Log: Hopefully fixed #230236 - recompute saved selection for new model