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 118421 - ArrayIndexOutOfBoundsException when opening instance for heapwalking
Summary: ArrayIndexOutOfBoundsException when opening instance for heapwalking
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: RANDOM
Depends on: 118416
Blocks:
  Show dependency tree
 
Reported: 2007-10-10 17:50 UTC by Jiri Sedlacek
Modified: 2010-04-29 09:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (673 bytes, text/plain)
2007-10-10 17:51 UTC, Jiri Sedlacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2007-10-10 17:50:57 UTC
Product Version: NetBeans IDE Dev (Build 071010)
Java: 1.6.0_03-ea; Java HotSpot(TM) Client VM 1.6.0_03-ea-b02
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Userdir: E:\Dev\userdirdev

Probably sideeffect of Issue 118416 - debugged Anagram Game, opened Loaded Classes without stopping the VM and tried to
open instance for a class with 1 instance (sun.security.action.LoadLibraryAction in this particular case). The exception
goes from profiler code but the root cause is in debugger - heap model needs to be in consistent state, heapwalking
doesn't support dynamic changes.

java.lang.ArrayIndexOutOfBoundsException: 0
	at org.netbeans.modules.profiler.heapwalk.model.AbstractHeapWalkerNode.getChild(AbstractHeapWalkerNode.java:76)
	at org.netbeans.modules.profiler.heapwalk.ui.InstancesListControllerUI.refreshView(InstancesListControllerUI.java:303)
Comment 1 Jiri Sedlacek 2007-10-10 17:51:17 UTC
Created attachment 50609 [details]
Exception
Comment 2 Martin Entlicher 2007-10-10 18:32:12 UTC
Hopefully, the fix of issue #118416 will fix this as well.
Comment 3 Martin Entlicher 2007-10-15 17:03:00 UTC
The stack trace is whole under org.netbeans.modules.profiler.heapwalk, thus in profiler module. I did not study the code
which has thrown the ArrayIndexOutOfBoundsException, but I did not get this problem after the fix of issue #118416.
So I believe that it's fixed.
Comment 4 Quality Engineering 2010-04-29 09:36:01 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.