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 147315 - [65cat] Cannot update after cancel
Summary: [65cat] Cannot update after cancel
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Manager (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-15 22:38 UTC by misterm
Modified: 2008-09-23 21:30 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 misterm 2008-09-15 22:38:11 UTC
[ BUILD # : 200809120201 ]
[ JDK VERSION : 1.6.0_04 ]

I've imported settings from 6.1. Then I try to select a few plugins
to update. Once it starts updating and is taking too long, I decide
to cancel the operation and just select the most important plugins.
Then update won't work anymore; it will just display the Download
window, but the process will never start. You have to shut down the
IDE to get it back to work.
Comment 1 Jaromir Uhrik 2008-09-22 09:36:57 UTC
According to the report you *update* plugins. Since 6.5 update centers do not have updates available you probably do one
of the following:
1/ you do not update but *install* plugins
2/ you update update from some additional update centers registered (which may contain updates)
Please specify which of above do you really do and also could you please attach messages.log to have more information? 
Thanks.
Comment 2 Jiri Rechtacek 2008-09-22 11:36:53 UTC
Could you try to take a thread dump after Cancel invoke while install updates? http://wiki.netbeans.org/GenerateThreadDump
I cannot reproduce it (start installing update, cancel while downloading updates, install updates again). It works for me.
Comment 3 Jaromir Uhrik 2008-09-23 11:48:34 UTC
I am decreasing the priority to P3. It seems that the problem can be reproduced by following steps:
-go to main menu Tools|Plugins
-select Available Plugins tab
-invoke Check All from popup menu
-push Install button
-cancel installer in panel with progress bar when progress is e.g. at 2%
-in Available Plugins tab invoke Uncheck All from pupup menu
-select e.g. C/C++ and try to install it
-->> The installer's panel with progressbar doesn't work because progress bar is gray and it is not moving, no
percentage is displayed.
Once probably when the first canceled thread ends the last invoked installation starts (but it is the problem because it
may take as much time as download of the first thread plugin).

misterm, please confirm if my steps to reproduce are those that you tried.
Thanks.
Comment 4 Jiri Rechtacek 2008-09-23 14:38:05 UTC
fixed in a45c42ecb64d
Comment 5 misterm 2008-09-23 21:30:18 UTC
Yes, I was trying to install plugins. Steps to reproduce mentioned in this thread are similar to the ones I've 
performed.