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 102298

Summary: downloaded nbms interfere with remote ones.
Product: platform Reporter: Milos Kleint <mkleint>
Component: Plugin ManagerAssignee: rmatous <rmatous>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: jrechtacek
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Milos Kleint 2007-04-24 10:38:30 UTC
current trunk + macosx + jdk 1.5
in pluginmanager, switch to Downloaded.
add a bunch of nbms to the update center (originating from the maven support's
trunk)
1. The nbms have version 3.0.3, however the UI shows versions from the dev
update center (3.0.2).
2. Only experimental modules, not on the AU have the correct 3.0.3 version.
However these have wrong size of 0Kb.
3. upon clicking Install button, I get this exception and nothing happens.

java.lang.AssertionError: Primary [14] plus Required [10] is All [20] 
	at
org.netbeans.modules.autoupdate.ui.wizards.OperationWizardModel.getAllUpdateElements(OperationWizardModel.java:124)
	at
org.netbeans.modules.autoupdate.ui.wizards.InstallUnitWizardModel.allLicensesApproved(InstallUnitWizardModel.java:63)
	at
org.netbeans.modules.autoupdate.ui.wizards.InstallUnitWizardIterator.createPanels(InstallUnitWizardIterator.java:54)
	at
org.netbeans.modules.autoupdate.ui.wizards.InstallUnitWizardIterator.<init>(InstallUnitWizardIterator.java:42)
	at
org.netbeans.modules.autoupdate.ui.InstallUnitWizard.invokeWizard(InstallUnitWizard.java:43)
	at
org.netbeans.modules.autoupdate.ui.UnitTab.bTabActionActionPerformed(UnitTab.java:436)
	at org.netbeans.modules.autoupdate.ui.UnitTab.access$600(UnitTab.java:47)
	at org.netbeans.modules.autoupdate.ui.UnitTab$6.actionPerformed(UnitTab.java:291)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
	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:234)
	at java.awt.Component.processMouseEvent(Component.java:5554)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5319)
	at java.awt.Container.processEvent(Container.java:2010)
	at java.awt.Component.dispatchEventImpl(Component.java:4021)
	at java.awt.Container.dispatchEventImpl(Container.java:2068)
	at java.awt.Component.dispatchEvent(Component.java:3869)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
	at java.awt.Container.dispatchEventImpl(Container.java:2054)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3869)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180)
	at java.awt.Dialog$1.run(Dialog.java:517)
	at java.awt.Dialog$2.run(Dialog.java:545)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Dialog.show(Dialog.java:543)
	at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:812)
	at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:846)
	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:834)
	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:82)
	at org.openide.util.Mutex.doEventAccess(Mutex.java:1201)
	at org.openide.util.Mutex.readAccess(Mutex.java:220)
	at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:819)
	at java.awt.Component.show(Component.java:1300)
	at java.awt.Component.setVisible(Component.java:1253)
	at
org.netbeans.modules.autoupdate.ui.actions.PluginManagerAction.performAction(PluginManagerAction.java:50)
	at
org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:96)
	at
org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:55)
	at
org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:92)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
	at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:104)
	at java.awt.MenuItem.processActionEvent(MenuItem.java:597)
	at java.awt.MenuItem.processEvent(MenuItem.java:556)
	at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298)
	at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:466)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Jiri Rechtacek 2007-04-25 08:38:28 UTC

*** This issue has been marked as a duplicate of 102426 ***
Comment 2 Jiri Rechtacek 2007-05-21 10:36:28 UTC
Renamed subcomponent 'module manager' to 'plugin manager' consistent with
current naming.