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 113796

Summary: can not uninstall plugin in error state
Product: platform Reporter: err <err>
Component: Plugin ManagerAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED WORKSFORME    
Severity: blocker CC: dsimonek, rmatous
Priority: P3 Keywords: RANDOM
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 113188    
Bug Blocks:    
Attachments: plugin in error state (with unreadable information)
warning when installing into shared directories

Description err 2007-08-25 17:41:30 UTC
Build 200708250000
Had a problem during installation of my plugin, on the "Installed (##)" tab the active column has a red X for the
plugin, see attachment. Checking "Uninstall" column for this plugin does nothing.

(BTW, notice in attachment that when row of grey'd plugin is selected it is difficult, if not impossible, to read the
line. Default color scheme on WinXp)
Comment 1 err 2007-08-25 17:42:28 UTC
Created attachment 47387 [details]
plugin in error state (with unreadable information)
Comment 2 Jiri Rechtacek 2007-08-27 16:39:25 UTC
It works for me in my test modules (red X means that this module is not currently active) - I can uninstall them and
modules disappear from Installed tab and for local disk as well. Please, describe more steps how to reproduce this
problem. Thanks
Comment 3 err 2007-08-27 19:05:53 UTC
Finally figured out how to reproduce it.

With dailies, I've recently started using "Install into shared directories" feature for standard plugins. I think I must
have forgotten to uncheck this. By checking this, then installing, gets the newly attached warning dialog, and then the
error occurs, can not check the uninstall box.

I'm 90% certain that there were no jvi*jar files in either the install or userdir directories before trying this. After
the failure there is:
/dev/ $ pwd
/erra/.netbeans/dev
/dev/ $ find . -name '*jvi*jar'
./modules/docs/org-netbeans-modules-jvi.jar
./modules/org-netbeans-modules-jvi.jar
which indicates that it did not so the install into the shared area

The NBMs for testing are in nbvi-1.1.0.x4.zip at https://sourceforge.net/project/showfiles.php?group_id=3653
Comment 4 err 2007-08-27 19:07:04 UTC
Created attachment 47511 [details]
warning when installing into shared directories
Comment 5 err 2007-08-27 19:38:41 UTC
Just noticed that when the licenses are displayed, only jViKeyBinding is in the combo box. That doesn't seem right.
Comment 6 err 2007-08-27 20:14:31 UTC
This does not easily reproduce, not sure what's going on. While trying to reproduce, the IDE got pegged at over 90% cpu.
See issue 113898 for thread dumps. That may be related to why this is difficult to reproduce, perhaps there is a race
condition.
Comment 7 Jiri Rechtacek 2007-08-28 15:07:58 UTC
Some circumstances relate to issue 113188, should be unreproducible after fix of 113188, we'll see.
Comment 8 Jiri Rechtacek 2007-09-13 14:10:37 UTC
Ernie, could you please reproduce the problem on recent dev builds after 2007/13/09? I should work correctly. Thanks
Comment 9 err 2007-09-14 20:54:33 UTC
I am not able to reproduce the problem.
Comment 10 Jiri Rechtacek 2007-09-14 20:59:25 UTC
Thanks. I close it as WFM.