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 60987 - AIOOB Exception with Method.invoke reflection in Eager or Lazy CPU Instrumentation scheme
Summary: AIOOB Exception with Method.invoke reflection in Eager or Lazy CPU Instrument...
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-14 14:55 UTC by Jiri Sedlacek
Modified: 2007-03-14 09:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (3.92 KB, text/plain)
2005-07-14 14:56 UTC, Jiri Sedlacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2005-07-14 14:55:34 UTC
java.lang.ArrayIndexOutOfBoundsException: 1

Analyze Performance / Part of Application / java2d.Java2Demo / methods 
createRunWindow(), start() and main().

Reproducible always.
Comment 1 Jiri Sedlacek 2005-07-14 14:56:27 UTC
Created attachment 23103 [details]
IDE log
Comment 2 iformanek 2005-07-28 17:13:26 UTC
I am able to reproduce it.

Narrowing the conditions that lead to this bug:
- CPU Profiling
- Exclusive filter containing "java" is used
- Lazy or Eager (not Total) instrumentation scheme is used
Comment 3 iformanek 2005-07-29 08:24:28 UTC
Update on the bug conditions:

Eager scheme:
- happens regardless of instrumentation filter if Method.invoke is turned on

Lazy cheme:
- happens only in method.invoke is on, and filter excluding Java is used
Comment 4 iformanek 2005-07-29 15:42:00 UTC
Integrated patch into Má, that prints warning about classloader id not known on 
tool side, instead of choking on this situation.

Still needs more investigation as to why this is happening.
Comment 5 Tomas Hurka 2006-08-11 09:47:30 UTC
Fixed. 
Comment 6 Alexander Kouznetsov 2007-03-14 09:47:26 UTC
Closing old issues