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 189338 - IndexOutOfBoundsException: Index: 451168, Size: 25362
Summary: IndexOutOfBoundsException: Index: 451168, Size: 25362
Status: RESOLVED DUPLICATE of bug 189353
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-10 08:38 UTC by Peter Pis
Modified: 2010-08-11 07:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 171850


Attachments
stacktrace (2.05 KB, text/plain)
2010-08-10 08:38 UTC, Peter Pis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2010-08-10 08:38:07 UTC
Build: NetBeans IDE Dev (Build 201008100001)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01-279, Java(TM) SE Runtime Environment, 1.6.0_20-b02-279-10M3065
OS: Mac OS X

User Comments:
ppis: Executing the query leads to IOOBE.




Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 451168, Size: 25362
   at java.util.ArrayList.RangeCheck(ArrayList.java:547)
   at java.util.ArrayList.get(ArrayList.java:322)
   at org.netbeans.lib.profiler.heap.ClassDumpSegment.getClassDumpByID(ClassDumpSegment.java:127)
   at org.netbeans.lib.profiler.heap.HprofHeap.getJavaClassByID(HprofHeap.java:251)
   at org.netbeans.modules.profiler.oql.engine.api.impl.Snapshot.findClass(Snapshot.java:109)
   at org.netbeans.modules.profiler.oql.engine.api.impl.OQLEngineImpl.executeQuery(OQLEngineImpl.java:215)
Comment 1 Peter Pis 2010-08-10 08:38:11 UTC
Created attachment 101284 [details]
stacktrace
Comment 2 Peter Pis 2010-08-10 08:40:23 UTC
Problematic heapdump is 2nd attachment in issue #188311 while executing query 

"select o from instanceof 0x277c51b8 o"
Comment 3 Tomas Hurka 2010-08-11 07:53:46 UTC

*** This bug has been marked as a duplicate of bug 189353 ***