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 60031 - Progress dialog stay opened
Summary: Progress dialog stay opened
Status: VERIFIED DUPLICATE of bug 98955
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-06-15 13:02 UTC by ehucka
Modified: 2007-06-22 11:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log (15.49 KB, application/x-compressed)
2005-06-22 16:06 UTC, ehucka
Details
tomcat's log (14.23 KB, text/plain)
2005-06-22 16:10 UTC, ehucka
Details
ide's threaddump (7.55 KB, text/plain)
2005-09-26 14:30 UTC, ehucka
Details
screenshot (23.58 KB, image/png)
2006-07-26 10:43 UTC, ehucka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2005-06-15 13:02:17 UTC
NB 4.1, Profiler dev 050615, JDK 1.5.0_04, Linux FC3

I was testing attaching and profiling of some remote application and sometimes a
Progress... dialog stay opened and empty after the profiler attached to application.
Comment 1 iformanek 2005-06-16 09:23:59 UTC
Please attach a thread dump (possibly of both the IDE and the profiled app) of 
a situation when this happens, I cannot reproduce this.
Comment 2 iformanek 2005-06-22 13:38:08 UTC
Please reopen if you manage to reproduce.
Comment 3 ehucka 2005-06-22 16:06:01 UTC
Created attachment 22852 [details]
ide log
Comment 4 ehucka 2005-06-22 16:10:17 UTC
Created attachment 22853 [details]
tomcat's log
Comment 5 ehucka 2005-06-22 16:11:55 UTC
i've seen it again, i attached to remote tomcat 5.5 on solaris sparc
Comment 6 iformanek 2005-06-23 15:21:32 UTC
The most important thing I need is the IDE thred dump, please attach it next 
time this happens
Comment 7 iformanek 2005-08-04 11:14:35 UTC
Emane, can you please update this issue as requested and reassign back to me?
Comment 8 ehucka 2005-08-04 13:20:16 UTC
I cannot reproduce it since my last comment. You can resolve it as 'worksforme'.
Comment 9 iformanek 2005-08-04 14:25:04 UTC
Doing so
Comment 10 ehucka 2005-09-26 14:30:14 UTC
Created attachment 25182 [details]
ide's threaddump
Comment 11 ehucka 2005-09-26 14:33:49 UTC
I saw it again in build 050926 during initialization of code fragment profiling.
Comment 12 iformanek 2005-12-02 14:59:08 UTC
Should be fixed again in M12
Comment 13 ehucka 2006-05-16 14:20:22 UTC
It is still there. It is always "Performing instrumentation, please wait..."
dialog. I cannot reproduce it but I can see it cca once per a week.
Comment 14 J Bachorik 2006-06-27 14:06:09 UTC
Fixed in trunk

There was a possibility of race condition when opening/closing the dilog window.
The closing is being executed in a separate thread so it might happen that the
sequence of commands was "close"-"open" instead of "open"-"close"
Added synchronization + dialog state signalization; the dialog shouldn't be
opened if it had been closed previosly
Comment 15 J Bachorik 2006-06-27 14:12:51 UTC
see previous comment
Comment 16 ehucka 2006-07-26 10:42:26 UTC
I've seen it in trunk profiler. It occured after the profiler cannot connect to
profiled application.
Comment 17 ehucka 2006-07-26 10:43:47 UTC
Created attachment 32218 [details]
screenshot
Comment 18 ehucka 2006-08-11 15:15:34 UTC
I profiled a web application - manual attach to local tomcat 5.5, cpu profiling,
part of application on jdk 1.6.0. I could see it almost after each start of
profiling. The progress bar in the dialog is stopped.
Comment 19 Tomas Hurka 2006-09-26 12:51:54 UTC
Fixed in trunk.
Please verify.
Comment 20 ehucka 2006-09-27 16:24:29 UTC
I've performed the scenario with manual attach to local tomcat and I can
reproduce it with profiler 5.5 and trunk builds 060927.
Comment 21 Tomas Hurka 2006-09-27 16:31:04 UTC
The issue is not fixed in 5.5 so there is no point to try it with profiler 5.5
Comment 22 ehucka 2006-09-27 17:22:04 UTC
I know. I've only noticed I made the same profiling on both versions and the
progress has the same behaviour there. So no progress for progress in trunk :).
Comment 23 Tomas Hurka 2006-09-27 19:23:12 UTC
You need to show it to us, since it works fine for me on Linux and Mac OS X. 
Comment 24 Tomas Hurka 2006-09-27 19:24:29 UTC
BTW: There is (at least some) progress, since I was able to reproduce it on Mac OS X.
Comment 25 ehucka 2006-09-27 20:26:20 UTC
I needed to profile performance of an web application from a specified root
method. I tried the trunk version but I forgot there is the live results issue
so I switched to 5.5 version. In both cases the instrumentation progress dialog
worked for a while than was blocked and stay opened without any chance to be
closed by its titlebar button.
Comment 26 Tomas Hurka 2006-10-05 08:24:11 UTC
It will not be fixed in 5.5
Comment 27 J Bachorik 2007-06-21 14:24:37 UTC

*** This issue has been marked as a duplicate of 98955 ***
Comment 28 ehucka 2007-06-22 11:00:16 UTC
verified