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 102449 - Cannot install plugin from pluginportal
Summary: Cannot install plugin from pluginportal
Status: NEW
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Botterill
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-25 10:19 UTC by Jaromir Uhrik
Modified: 2009-10-03 12:44 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log attached... (43.95 KB, text/plain)
2007-04-25 12:37 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2007-04-25 10:19:38 UTC
NetBeans IDE Dev (Build 070424)
1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87
Mac OS X version 10.4.9 running on i386
en_US (nb); MacRoman

Steps to reproduce:
1.Start plugin manager in Tools | Plugins
2.Select Settings tab
3.Push New button and fill in any name and URL as
http://jpirek-ws2.czech:8080/nbpluginportal/files/nbms/pluginportal-update-center.xml
4.Push OK and unselect other update centers (only new one is selected)
5.Select plugin C/C++ | OpenVMS C/C++ Compiler Support and push Install button
6.Proceed with the install wizard and force Restart IDE in the last step
7.IDE restarts and the plugin is still available in update center
Comment 1 Jaromir Uhrik 2007-04-25 12:34:25 UTC
In Milestone build it works the same way. The only difference is that the old
update client shows after the connection to jpirek-ws2 UC following exception:
java.text.ParseException: Unparseable date: ""
	at java.text.DateFormat.parse(DateFormat.java:335)
	at
org.netbeans.modules.autoupdate.ModuleUpdate.readReleaseDate(ModuleUpdate.java:583)
...
Comment 2 Jaromir Uhrik 2007-04-25 12:37:07 UTC
Created attachment 41621 [details]
messages.log attached...
Comment 3 Jaromir Uhrik 2007-04-25 17:16:34 UTC
This is not a P1 issue -> downgrading to P2. I originally thought that the
problem is with installation of common modules. As I know the plugins that we
have problems to install are not netbeans modules of current version. They have
been built in NetBeans of former version (according to info.xml it is 331?).
There should be probably done some work in the side of PluginPortal catalog - it
could contain only plugins that are correct for installation (some filtering
could be done when the catalog is generated). David, do you have any comments? 

On the side of plugin manager there could be some additional code that
recognizes that the plugin cannot be installed.
Comment 4 Jiri Rechtacek 2007-04-25 17:40:09 UTC
It's not a problem plugins on Plugin Portal in general, most of plugin from test
Update Center are installable. But some don't. For example, OpenVMS C/C++
Compiler Support cannot be installed into recent releases of NetBeans, neither
NB6 nor NB5.x, out of curiosity nor NB4.1 too, Jara tried it. I think such
obsolete plugins should be filter out. But it's RFE for Plugin Portal.
Comment 5 Jiri Rechtacek 2007-07-02 17:09:37 UTC
For record:
There are two issues in Plugin Manager:
- I have to call Reload to see the plugins from Plugin Portal. But plugins should appear just on install PP UC module
- Plugin Portal UC is not added between other Update Centers just when installed. I have to restart IDE to be PP UC
added into Plugin Manager (issue 106277)
Comment 6 Jiri Rechtacek 2007-07-03 13:44:34 UTC
Sorry, the last one comment was wrongly added into this issue. It doesn't make a sense here.
Comment 7 Jiri Rechtacek 2007-08-03 17:59:39 UTC
BTW. The problem with Unparseable date: "" at java.text.DateFormat.parse(DateFormat.java:335) at
org.netbeans.modules.autoupdate.ModuleUpdate.readReleaseDate(ModuleUpdate.java:583) has been fixed in NB6 after M10.

But still are some plugins on PP which cannot be installed, if you like loaded into IDE after installation. IMHO should
be filter out from PP UC.