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 200676 - NetBeans does not install dependent plugin in case if Available Plugins list is not loaded
Summary: NetBeans does not install dependent plugin in case if Available Plugins list ...
Status: CLOSED INVALID
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 7.0.1
Hardware: PC Other
: P2 normal (vote)
Assignee: Alexandr Scherbatiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 14:28 UTC by Alexandr Scherbatiy
Modified: 2011-11-24 14:32 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The dependent Mobility plugin is not installed (31.89 KB, image/png)
2011-08-04 14:30 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2011-08-04 14:28:44 UTC
Problem description:

We have a small plugin - JavaME integration.
The JavaME integration plugin shows a dialog that suggests users to install NetBeans JavaME plugin.

The JavaME plugin depends on the NetBeans Mobility plugin.

There are some cases:
1)
- Run NetBeans
- Press JavaME plugin installation on the dialog
- The depended Mobiliy plugin is not installed
(See the attached image)

2) 
- Run NetBeans
- Close the JavaME plugin installation dialog
- Go to the Tools->Plugins->Available Plugins, check that there are plugins  or press Reload Catalog  
- Open the JavaME plugin installation dialog and press Press JavaME plugin installation
The dependent Mobility plugin is installed.


It seems that the NetBeans is not able to find the dependent Mobility plugin in case if it is not shown in the Available Plugins catalog even if there is access to the internet.
Comment 1 Alexandr Scherbatiy 2011-08-04 14:30:36 UTC
Created attachment 109801 [details]
The dependent Mobility plugin is not installed
Comment 2 Alexandr Scherbatiy 2011-08-04 14:38:03 UTC
The problem is that there is the access to the internet, the Mobility plugin is available on the Update Center but the dependent mobility plugin is not installed.
Comment 3 Anton Chechel 2011-08-05 12:08:53 UTC
reassigning to updatecenter
Comment 4 Jiri Kovalsky 2011-08-05 12:45:52 UTC
Alexandr, can you be more specific? Which build of NetBeans 7.0.1 is this? And this is full distribution installed via installer, right? I don't see any JavaME integration plugin in the catalog [1]. What is codenamebase of the plugin?

[1] http://dlc.sun.com.edgesuite.net/netbeans/updates/7.0.1/uc/final/distribution/catalog.xml
Comment 5 Alexandr Scherbatiy 2011-08-05 12:59:55 UTC
NetBeans IDE 7.0.1 (Build 201107282000)

I use the NetBeans JavaSE version that does not include the Mobility plugin.

The problem is that after starting the NetBeans with the fresh userdir the installation of the our module starts before the UC loaded the list of the available plugins.

So it seems that the NB API allows to install modules even the dependent modules have not been found.

See the "The dependent Mobility plugin is not installed" image
Comment 6 Jiri Kovalsky 2011-08-05 13:28:18 UTC
This is strange. I cannot reproduce it. When I install NetBeans IDE 7.0.1 build #201107282000 and launch it with empty userdir, it only wants to install JUnit, no mobility stuff. I cannot reproduce it.