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 106879 - Profiled Application doesn't respond message is disappointing
Summary: Profiled Application doesn't respond message is disappointing
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-15 20:39 UTC by Alexander Kouznetsov
Modified: 2007-10-31 15:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (359.99 KB, image/png)
2007-09-28 13:57 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-06-15 20:39:38 UTC
Product Version: NetBeans IDE Dev (Build 200706130000) 
Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)
org.netbeans.modules.profiler/1 [1.1.1 070612]

I've noticed that there are many situations when "Profiled application doesn't respond" message appears. Typical
scenario is as following:
- Profiler has been attached to an application -or- Modify Profiling has been performed.
- "Profiled application doesn't respond" message is shown after a while asking user whether to stop profiling.
- Right after user presses "No", profiling starts.

This behavior gives an impression that profiling is not possible until the dialog is shown and user selects No. The same
time I believe that many users answer Yes to this dialog and do not receive any data.

It would be nice if this dialog was not stopping the profiler and it was automatically dismissed once new profiling data
was obtained.
Comment 1 Alexander Kouznetsov 2007-08-09 17:04:35 UTC
Another situation:
- I modified instrumentation of NetBeans profiling
- There were lines about redefining xxx out of >2000 classes in the profiled NetBeans output.
- When approximately 1800 classes out of >2000 were modified Profiler showed "Profiled application doesn't respond" message.
- This message is disappointing in case user can't see that classes are being redefined at the moment
Comment 2 Alexander Kouznetsov 2007-08-09 17:06:14 UTC
  Product Version         = NetBeans IDE Dev (Build 200708080000)
Comment 3 Alexander Kouznetsov 2007-08-21 12:41:30 UTC
I believe this could be considered as P3 "Highly visible usability problem".
Comment 4 Tomas Hurka 2007-08-30 14:52:10 UTC
Fixed in trunk.
Comment 5 Tomas Hurka 2007-08-30 15:02:14 UTC
It was closed as fixed by mistake.
Comment 6 Tomas Hurka 2007-09-03 09:38:48 UTC
Fixed in trunk.
Comment 7 Alexander Kouznetsov 2007-09-28 13:56:21 UTC
Failed to verify with 
Product Version: NetBeans IDE Dev (Build 200709271200) 
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 
System: SunOS version 5.10 running on x86; ISO646-US; en (nb)

Profiled Application doesn't respond dialog is still shown.
Comment 8 Alexander Kouznetsov 2007-09-28 13:57:03 UTC
Created attachment 49743 [details]
Screenshot
Comment 9 Tomas Hurka 2007-09-28 18:19:42 UTC
Please provide steps how to reproduce it. It works for me.
Comment 10 Alexander Kouznetsov 2007-10-01 09:32:40 UTC
The same steps as in the second comment. Used Profiler to profile second instance of NetBeans. Then slightly modified
profiling. Profiled application doesn't respond appeared during classes redefinition.
Comment 11 Tomas Hurka 2007-10-03 17:04:07 UTC
You are right, the fix is not complete. :-(
Comment 12 Tomas Hurka 2007-10-11 13:47:33 UTC
Additional fix commited to trunk.
Checking in src/org/netbeans/lib/profiler/ProfilerClient.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/ProfilerClient.java,v  <--  ProfilerClient.java
new revision: 1.2; previous revision: 1.1
done
Checking in src/org/netbeans/lib/profiler/server/ProfilerServer.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/server/ProfilerServer.java,v  <--  ProfilerServer.java
new revision: 1.2; previous revision: 1.1
done
Checking in src/org/netbeans/lib/profiler/wireprotocol/WireIO.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/wireprotocol/WireIO.java,v  <--  WireIO.java
new revision: 1.2; previous revision: 1.1
done
Comment 13 Alexander Kouznetsov 2007-10-31 11:27:37 UTC
Verified with 
Product Version: NetBeans IDE Dev (Build 200710301200)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)
Comment 14 Alexander Kouznetsov 2007-10-31 15:33:05 UTC
See also issue 120639