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 166298 - [67cat] ArrayIndexOutOfBoundsException: 4318
Summary: [67cat] ArrayIndexOutOfBoundsException: 4318
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: J Bachorik
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-31 08:06 UTC by nleck
Modified: 2011-10-04 10:32 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 146344


Attachments
stacktrace (20.02 KB, text/plain)
2009-05-31 08:06 UTC, nleck
Details
stacktrace (11.18 KB, text/plain)
2009-12-04 03:35 UTC, nleck
Details
stacktrace (14.62 KB, text/plain)
2010-03-30 17:57 UTC, adam_myatt
Details
stacktrace (7.19 KB, text/plain)
2010-03-31 02:07 UTC, adam_myatt
Details
stacktrace (6.69 KB, text/plain)
2010-04-08 19:19 UTC, adam_myatt
Details
stacktrace (22.06 KB, text/plain)
2010-04-15 11:16 UTC, jhwist
Details
stacktrace (21.95 KB, text/plain)
2011-03-14 14:25 UTC, malakim
Details
stacktrace (14.52 KB, text/plain)
2011-06-27 08:37 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nleck 2009-05-31 08:06:35 UTC
Build: NetBeans IDE Dev (Build 200905211401)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.27.21-170.2.56.fc10.x86_64, amd64

User Comments:
nleck: profiling

GUEST: running a profile of my code, previously I received an error stating that a java process had been terminated

ecastro: Viewing live result of a Java project

GUEST: Trying out new sampling profiler on VisualVM 1.1.1 as I connected back to NetBeans with in VisualVM.



Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 4318
        at org.netbeans.lib.profiler.results.cpu.cct.CCTFlattener.visit(CCTFlattener.java:213)
        at org.netbeans.lib.profiler.results.cpu.cct.CompositeCPUCCTWalker.visit(CompositeCPUCCTWalker.java:90)
        at org.netbeans.lib.profiler.results.cpu.cct.nodes.MethodCPUCCTNode.accept(MethodCPUCCTNode.java:110)
        at org.netbeans.lib.profiler.results.cpu.cct.nodes.BaseCPUCCTNode$ArrayChildren.accept(BaseCPUCCTNode.java:71)
        at org.netbeans.lib.profiler.results.cpu.cct.CPUCCTWalker.walkTree(CPUCCTWalker.java:91)
        at org.netbeans.lib.profiler.results.cpu.cct.CPUCCTWalker.visit(CPUCCTWalker.java:62)
Comment 1 nleck 2009-05-31 08:06:45 UTC
Created attachment 83024 [details]
stacktrace
Comment 2 J Bachorik 2009-06-08 12:35:43 UTC
Please, turn on logging (-J-Xorg.netbeans.lib.profiler.results.cpu.level=100) and try to reproduce the problem. Then
attach the IDE log file to this message.
Comment 3 Exceptions Reporter 2009-07-07 23:31:26 UTC
This issue already has 8 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=146344
Comment 4 Exceptions Reporter 2009-09-03 22:27:42 UTC
This issue already has 11 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=146344
Comment 5 mklaehn 2009-09-03 22:58:51 UTC
sorry, i'd like to help but on my machiene i get a message telling me "Could not create the Java virtual machine" once i
set the specified property in netbeans_default_options.
Comment 6 matusdekanek 2009-09-18 12:46:53 UTC
I have similar problem with the mentioned default setting, profiler does not start: 

Profiler Agent Error: Exception when trying to establish connection with client:
java.net.SocketException: Unrecognized Windows Sockets error: 10106: create

I think getting the required log is not very probable right now, but it has to be fixed, due to large number of 
duplicates. Removing the keyword invalid.
Comment 7 nleck 2009-12-04 03:35:10 UTC
Created attachment 92091 [details]
stacktrace
Comment 8 adam_myatt 2010-03-30 17:57:46 UTC
Created attachment 96377 [details]
stacktrace

profiling a Java web app.
Comment 9 adam_myatt 2010-03-31 02:07:49 UTC
Created attachment 96392 [details]
stacktrace

profiling java wbe app
Comment 10 adam_myatt 2010-04-08 19:19:59 UTC
Created attachment 96924 [details]
stacktrace
Comment 11 jhwist 2010-04-15 11:16:47 UTC
Created attachment 97434 [details]
stacktrace
Comment 12 malakim 2011-03-14 14:25:03 UTC
Created attachment 106982 [details]
stacktrace

Profiling a Java EE application
Comment 13 Petr Cyhelsky 2011-06-27 08:37:47 UTC
Created attachment 109121 [details]
stacktrace
Comment 14 J Bachorik 2011-10-04 10:32:06 UTC
Most probably a different manifestation of #188227

Should be fixed by http://hg.netbeans.org/profiler-main/rev/5c05e0855e3c

Please, feel free to reopen if the problem persists in builds with the changeset incorporated.