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 93169 - Progress doesn't finish after calling ProgressHandle.finish()
Summary: Progress doesn't finish after calling ProgressHandle.finish()
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Progress (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: t_h
URL:
Keywords: RANDOM
: 87556 104818 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-25 09:32 UTC by Ivan Sidorkin
Modified: 2009-02-19 22:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Progress bar (4.64 KB, image/png)
2007-01-25 09:33 UTC, Ivan Sidorkin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Sidorkin 2007-01-25 09:32:21 UTC
profiler buil 070124
jdk 1.5

- open Anagram Game project
- start memory analyze task
- after starting application try to Dump Heap
- it failed with error message
- try to Dump Heap one more time
- close error message
look at progress bar (see attachment)
Dumping Heap process still exists in progress bar
Comment 1 Ivan Sidorkin 2007-01-25 09:33:27 UTC
Created attachment 37653 [details]
Progress bar
Comment 2 Alexander Kouznetsov 2007-02-05 10:56:54 UTC
Reproduced with

Profiler 070205
NetBeans IDE Dev (Build 200702011900)
1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251

Doesn't look pretty.
Comment 3 Jiri Sedlacek 2007-02-12 15:02:29 UTC
Illustrative code:

boolean success = false;
ProgressHandle pHandle = null;
try {
  pHandle = ProgressHandleFactory.createHandle("Peforming operation...");
  pHandle.setInitialDelay(0);
  pHandle.start();
  success = performSomeAction();
} finally {
  if (pHandle != null) pHandle.finish();
}
if (!success) {
  DialogDisplayer.notify(new NotifyDescriptor.Message("Operation failed", 
NotifyDescriptor.ERROR_MESSAGE));
}


Can provide concrete code offline, Profiler is closed-source.
Comment 4 Milos Kleint 2007-08-20 15:02:35 UTC
I cannot reproduce with current trunk. (20070820)

What is the error message you get in your steps? is it a exception dialog with stacktraces? can you paste the stacktrace?
Comment 5 Milos Kleint 2007-08-22 08:54:51 UTC
*** Issue 104818 has been marked as a duplicate of this issue. ***
Comment 6 Sherold Dev 2007-08-23 08:35:52 UTC
*** Issue 87556 has been marked as a duplicate of this issue. ***
Comment 7 Lukas Hasik 2008-04-10 21:22:28 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 8 Lukas Hasik 2008-12-04 10:46:46 UTC
is it still reproducible?

please, provide requested info.