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 103489 - No results are being gathered
Summary: No results are being gathered
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@profiler
URL:
Keywords: REGRESSION
: 103449 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-08 16:01 UTC by Alexander Kouznetsov
Modified: 2007-05-17 15:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-05-08 16:01:42 UTC
Profiler 070504
NetBeans IDE Dev (Build 070507)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251

Steps to reproduce:
- Create New Anagram Game Sample Application
- Try any Analyze Performance or Analyze Memory Profiling Task
- RESULT: No Live Results shown, no information is available on Take Snapshot
action.
Comment 1 Alexander Kouznetsov 2007-05-08 16:02:35 UTC
Regression since M9
Comment 2 Jiri Sedlacek 2007-05-09 01:03:20 UTC
Seems to appear randomly for me, cannot easily reproduce. Could you please 
determine exact steps how to reproduce or discover which configuration breaks 
the profiling?
Comment 3 Alexander Kouznetsov 2007-05-10 10:12:49 UTC
All you need is to perform one run having "Use defined Profiling Points" option
disabled.
Comment 4 Tomas Hurka 2007-05-14 18:26:19 UTC
Profiler 070504
NetBeans IDE Dev (Build 070507)
I am still not able to reproduce it. See the steps bellow:

1) start nebeans with clean userdir
2) crete Anagram game
3) profile main project  / analyze performance (default setting)
4) click run
5) click live results icon
6) live results are there
7) stop application from control panel
8) profile main project  / analyze performance (default setting) 
9) deselect 'Use defined profiling points'
10) click run
11) live results are there
12) stop application from control panel
13) profile main project  / analyze performance (default setting) 
14) select 'Use defined profiling points'
15) click run
16) live results are there

Comment 5 Tomas Hurka 2007-05-14 18:34:45 UTC
*** Issue 103449 has been marked as a duplicate of this issue. ***
Comment 6 Ivan Sidorkin 2007-05-14 20:52:15 UTC
NetBeans IDE Dev (Build 070514)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows Vista version 6.0 running on x86

First run was ok, than this bug reproduced for me all times I run CPU profiling.
Comment 7 J Bachorik 2007-05-14 20:57:54 UTC
I wasn't able to reproduce the behaviour using the given steps either. However,
it seems that closing the profiled application externally (not from the profiler
control panel) will lead to the described situation when no live results are
received.
So the steps to reproduce the bug 100% are:
1. Start anagram game, generate live results. Make sure they are displayed correctly
2. Stop the anagram game application by selecting "File/Exit" from its menu.
3. Start the anagram game again - no results are being received (consequently no
PPs are processed)

Note, that the fact the application is being terminated externally is crucial
for locating the problem source! Next time I would appreciate if you could
include the description of how a profiled application is being closed in the
steps to reproduce.

Fix is being ready for trunk.
Comment 8 Alexander Kouznetsov 2007-05-15 09:14:10 UTC
Thank you, Yardus, that was my fault to discover this necessary step.
Comment 9 Alexander Kouznetsov 2007-05-17 15:02:33 UTC
Verified with
Profiler 070515
NetBeans IDE Dev (Build 070516)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251