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 238044 - ArrayIndexOutOfBoundsException at traceObjAlloc(ProfilerRuntimeObjLiveness.java:268)
Summary: ArrayIndexOutOfBoundsException at traceObjAlloc(ProfilerRuntimeObjLiveness.ja...
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: VISUALVM
Depends on:
Blocks:
 
Reported: 2013-11-06 12:43 UTC by Jiri Skrivanek
Modified: 2014-07-11 09:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace. (1.79 KB, text/plain)
2013-11-06 12:43 UTC, Jiri Skrivanek
Details
Sample project. (931.17 KB, application/octet-stream)
2013-11-06 12:44 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2013-11-06 12:43:15 UTC
Created attachment 141896 [details]
Stack trace.

ArrayIndexOutOfBoundsException appears when profiling memory and 3000 classes is loaded by reflection. To reproduce:

- open attached project
- right-click project node and choose "Profile"
- select "Memory|Advanced"
- select "Record full object lifecycle"
- click Run and exception is printed to profiler console after while

Product Version: NetBeans IDE Dev (Build 201311060001)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 1 Jiri Skrivanek 2013-11-06 12:44:05 UTC
Created attachment 141898 [details]
Sample project.
Comment 2 Tomas Hurka 2014-05-19 17:29:19 UTC
Reproduced in latest dev. build.
Comment 3 Tomas Hurka 2014-05-20 08:44:56 UTC
Fixed in profiler-main.

changeset:   273843:a7ad41549c7e
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue May 20 10:42:53 2014 +0200
summary:     bugfix #238044, update number of instrumented classes in firstTimeVMObjectAlloc()
Comment 4 Quality Engineering 2014-05-21 02:11:09 UTC
Integrated into 'main-silver', will be available in build *201405210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a7ad41549c7e
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #238044, update number of instrumented classes in firstTimeVMObjectAlloc()