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 121857 - (un)installing all available plugins causes messages about plugin dependencies
Summary: (un)installing all available plugins causes messages about plugin dependencies
Status: RESOLVED DUPLICATE of bug 134595
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: dlipin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-13 23:06 UTC by damian_nb
Modified: 2009-05-25 20:54 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 damian_nb 2007-11-13 23:06:29 UTC
I tried install all available plugins and run NB, then uninstall and restart

each time NB on start up generated warning that some plugins could not be found/loaded because of plugin dependency

the strange thing is that before it could install such plugin and later uninstall

I selected all plugin to uninstall (up to 100) but after restart most of them were still installed, looks like NB has
problem with installing and uninstalling up to 100 plugins, it works correct for one, five plugins but not for 100
Comment 1 Jana Maleckova 2007-11-14 10:41:21 UTC
reassign to autoupdate for evaluation
Comment 2 Jiri Rechtacek 2007-11-14 11:24:43 UTC
Unreproducible on the last build (http://bits.netbeans.org/download/6.0/pre-rc1/nightly/latest/zip/)
>System Info: 
  Product Version         = NetBeans Platform Dev (Build 200711140000)
  Operating System        = Linux version 2.6.22-14-generic running on i386
  Java; VM; Vendor        = 1.6.0_05-ea; Java HotSpot(TM) Client VM 1.6.0_05-ea-b06; Sun Microsystems Inc.

Both reported use-cases worksforme:
1) Install All available plugins + Restart + Uninstall as same plugin as installed before + Restart => no warning, all
uninstalled plugin went away
2) Check All installed plugins and Uninstall them + Restart => No plugins (excepting Platform) found.
Comment 3 damian_nb 2007-11-15 22:25:23 UTC
I tried with dev build but no progress with reproducing this so looks like some other dependencies...
--> verified
Comment 4 damian_nb 2007-11-16 00:00:07 UTC
I think that the problem is that if user uninstalls plugin but does not restart NB plugin is not marked as uninstalled
and if some other plugin is installed then after restart this message may be generated

1. remove directory with profile
2. uninstall editor and gui builder (should be fine) but do not restart NB
3. install new plugin C/C++
4. restart NB
   - message about missing plugins is fired


if user uninstalls plugins then they have to be marked as uninstalled so NB checks dependencies for new plugin correctly
and do not let install plugin B if it requries plugin A which will be removed after restart


Product Version: NetBeans IDE Dev (Build 200711150000)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-b05
System: Windows XP version 5.1 running on x86; Cp1250; pl_PL (nb)
Comment 5 Jiri Rechtacek 2007-11-16 09:10:33 UTC
A edge case: if an user uninstall a feature, don't restart IDE and then install some plugin which needs feature marked
for uninstall there no wonder that some module are missing after restart. I agree it's a bug but very rare case.
Comment 6 Lukas Hasik 2008-04-10 21:29:53 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 7 Antonin Nebuzelsky 2008-11-14 15:32:39 UTC
Reassigning to the new "autoupdate/*" owner dlipin.
Comment 8 dlipin 2009-02-10 15:55:57 UTC

*** This issue has been marked as a duplicate of 134595 ***