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 72435

Summary: "Updating Modules" dialog not closed when removing autoload
Product: platform Reporter: Martin Krauskopf <mkrauskopf>
Component: AutoupdateAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: blocker CC: jglick
Priority: P2 Keywords: UI
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 72102, 74819    
Bug Blocks:    
Attachments: threaddump during uninstallation

Description Martin Krauskopf 2006-02-08 20:20:31 UTC
I haven't tried another modules. But steps to reproduce.

1) Try to uninstall "Commons Logging Integration" module within the Module Manager.

One probably should not do this. But it happens also in case when you have NB
based application (suite) and try to uninstall one of its library wrapper.

Attaching threadump.
Comment 1 Martin Krauskopf 2006-02-08 20:21:33 UTC
Created attachment 28803 [details]
threaddump during uninstallation
Comment 2 Martin Krauskopf 2006-02-08 20:28:20 UTC
Deadlock is not so bad. I can press ESC and continue working, but Module
Manager's behaviour becomes unstable/unpredictable...
Comment 3 Jiri Rechtacek 2006-02-13 13:09:12 UTC
Ok, I see it's a problem. Wrong indication about unsuccessfully uninstallation.
Need to fix UI, such as error state.
Comment 4 Jiri Rechtacek 2006-06-26 15:26:24 UTC
*** Issue 78931 has been marked as a duplicate of this issue. ***
Comment 5 Jesse Glick 2006-06-26 17:35:33 UTC
If it doesn't work for autoloads, we should at a minimum disable the Uninstall
button so people don't get confused.
Comment 6 Jesse Glick 2006-06-26 17:36:23 UTC
Isn't this just a dupe of issue #74819?
Comment 7 Jiri Rechtacek 2006-06-27 07:26:13 UTC
Ok, I'm going to disable this action in UI on autoload modules and for eager
modules as well. The action will be enabled since issue 74819 fixed.
Comment 8 Jiri Rechtacek 2006-06-27 09:18:38 UTC
Modified:  
autoupdate/src/org/netbeans/modules/autoupdate/catalog/ModuleDeleterImpl.java,rev.1.6
autoupdate/src/org/netbeans/modules/autoupdate/catalog/ModuleNodeUtils.java,rev.1.8
autoupdate/src/org/netbeans/modules/autoupdate/catalog/ModuleNode.java.rev.1.12
Comment 9 Jiri Rechtacek 2006-09-11 12:27:54 UTC
*** Issue 84085 has been marked as a duplicate of this issue. ***
Comment 10 Jiri Rechtacek 2007-02-13 17:08:00 UTC
*** Issue 95348 has been marked as a duplicate of this issue. ***
Comment 11 Jiri Rechtacek 2007-05-21 11:35:08 UTC
module manager subcomponent is gone => resolved issues are assigned to
autoupdate/code