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 247116 - Exception in thread "*** Profiler Agent Special Execution Thread 2" java.lang.ArrayIndexOutOfBoundsException: 10
Summary: Exception in thread "*** Profiler Agent Special Execution Thread 2" java.lang...
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-15 09:40 UTC by Jiri Skrivanek
Modified: 2014-09-22 11:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace. (2.10 KB, text/plain)
2014-09-15 09:40 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2014-09-15 09:40:31 UTC
Created attachment 149212 [details]
Stack trace.

I tried to verify bug 246847 and attached exception started to appear repeatedly when I was switching between "All classes" and "Project classes". Original steps were:

- create Anagram sample project
- right-click project node and choose Profile
- select Methods
- click Profile
- when some live results appear click the pause button in the profiler toolbar
- change settings to profile only project classes and click Apply

Product Version: NetBeans IDE Dev (Build 201409150001)
Java: 1.8.0_20; Java HotSpot(TM) 64-Bit Server VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 1 Tomas Hurka 2014-09-18 12:08:22 UTC
To reproduce the issue you need to switch between "All classes" and "Project classes" six times in one profiling session.
Comment 2 Tomas Hurka 2014-09-18 12:16:11 UTC
Fixed in profiler-main

changeset:   277926:4749e56b6cb6
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Sep 18 14:14:39 2014 +0200
summary:     bugfix #247116, make sure that sampling thread is removed from profiler server threads
Comment 3 Quality Engineering 2014-09-19 15:50:36 UTC
Integrated into 'main-silver', will be available in build *201409191429* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4749e56b6cb6
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #247116, make sure that sampling thread is removed from profiler server threads