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 200150 - Broken IDE if installing locally downloaded plugin and update together
Summary: Broken IDE if installing locally downloaded plugin and update together
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Manager (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal with 1 vote (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 19:30 UTC by Jiri Kovalsky
Modified: 2011-09-14 16:03 UTC (History)
3 users (show)

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 Jiri Kovalsky 2011-07-14 19:30:41 UTC
Product Version: NetBeans IDE 7.0 (Build 201104080000)
Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17
System: Linux version 2.6.35-22-generic running on amd64; UTF-8; cs_CZ (nb)
Userdir: /home/cesilko/.netbeans/7.0

Description:
============
If user tries to install a plugin that depends on other modules and there is an update available on the NetBeans Update Center, the installation corrupts the IDE. The workaround is to install the update first and then proceed with installation of the plugin.

Steps to reproduce:
===================
1. Install full distribution of the NetBeans IDE 7.0.
2. Launch it with empty userdir, confirm the license and don't import settings from the previous NetBeans versions.
3. Invoke "File > New Project..." from main menu, select "Java Web" category, push "Next >" button to activate Web applications development features and then push "Cancel".
4. Cancel request to install JUnit.
5. Download and unzip Portal Pack plugin [1] to a suitable location.
6. Invoke "Tools > Plugins" from main menu and wait until Plugins manager loads information about available updates.
7. Make sure that all 9 updates are selected for installation.
8. Switch to "Downloaded" tab, click "Add Plugins..." button, navigate to location with Portal Pack plugins and select them all (8).
9. Click "Install" button, proceed according to the installation wizard and after successful installation let the IDE restart.
10. The IDE will try to update itself but won't be able to launch again due to many turned off modules.

[1] http://netbeans.org/project_downloads/contrib/portalpack/pp305/portal-pack-plugin-3_0_5_beta_all.zip
Comment 1 Jiri Rechtacek 2011-09-14 16:03:28 UTC
Jirko, I'm not able to reproduce it in NB701 and I cannot follow your steps in recent builds because there are some changes in major versions thus your NBMs cannot be installed in NB7.1. I have lack of test-use to investigate what's wrong or it was fixed in NB701 already.