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 63506 - Error when install nbm
Summary: Error when install nbm
Status: CLOSED DUPLICATE of bug 60731
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 12:47 UTC by wei_jiang
Modified: 2006-01-16 13:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
a nbm (3.83 KB, application/octet-stream)
2005-09-01 12:49 UTC, wei_jiang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wei_jiang 2005-09-01 12:47:58 UTC
I followed the tutorial to build a plugin. It worked. Then I modified a little.
It works again when I click on the menu "Install/Reload in target platform".
Good.

Then I clicked on "Clean". Than clicked on "Create NBM". The nbm was created, I
see "BUILD SUCCESSFUL (total time: 2 seconds)".


But, when I manually install the nbm I got an error below. What was wrong?

I use netbeans 4.2 dev.

Any information would be appreciated. Thanks in advance.




java.net.MalformedURLException: no protocol: 
	at java.net.URL.<init>(URL.java:537)
	at java.net.URL.<init>(URL.java:434)
	at java.net.URL.<init>(URL.java:383)
	at
org.netbeans.modules.autoupdate.ModuleUpdate.createFromDistribution(ModuleUpdate.java:486)
	at
org.netbeans.modules.autoupdate.ModuleUpdate.getModuleUpdate(ModuleUpdate.java:278)
	at
org.netbeans.modules.autoupdate.XMLUpdates.checkDownloadedModules(XMLUpdates.java:293)
	at org.netbeans.modules.autoupdate.Wizard$SelectPanel.end(Wizard.java:941)
	at org.netbeans.modules.autoupdate.Wizard.nextPanel(Wizard.java:313)
	at org.openide.WizardDescriptor$6.run(WizardDescriptor.java:1580)
	at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1143)
	at org.openide.WizardDescriptor.access$900(WizardDescriptor.java:70)
	at
org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:1602)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:410)
	at $Proxy13.actionPerformed(Unknown Source)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
	at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
	at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
	at java.awt.Component.processMouseEvent(Component.java:5100)
	at java.awt.Component.processEvent(Component.java:4897)
	at java.awt.Container.processEvent(Container.java:1569)
	at java.awt.Component.dispatchEventImpl(Component.java:3615)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
	at java.awt.Container.dispatchEventImpl(Container.java:1613)
	at java.awt.Window.dispatchEventImpl(Window.java:1606)
	at java.awt.Component.dispatchEvent(Component.java:3477)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Comment 1 wei_jiang 2005-09-01 12:49:24 UTC
Created attachment 24452 [details]
a nbm
Comment 2 Jiri Rechtacek 2005-09-06 09:07:57 UTC
It's a duplicate of already fixed bug 60731. Upgrade sources of Autoupdate
module from trunk.

*** This issue has been marked as a duplicate of 60731 ***
Comment 3 Jaromir Uhrik 2006-01-16 13:25:02 UTC
Duplicate => Verified -> Closed.