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 76133 - Unable to remove a module from a suite module.
Summary: Unable to remove a module from a suite module.
Status: VERIFIED DUPLICATE of bug 71663
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-09 23:43 UTC by jlam
Modified: 2006-10-10 13:35 UTC (History)
0 users

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 jlam 2006-05-09 23:43:07 UTC
Unable to remove a module from a suite module.

Within the projects window, go into the suites Modules.  Right click on the
module to be removed.  Select remove.  The module is never removed and I get the
following exception.

java.lang.NullPointerException
	at
org.netbeans.spi.project.support.ant.EditableProperties.put(EditableProperties.java:212)
	at
org.netbeans.modules.apisupport.project.ui.customizer.ModuleProperties.storePlatform(ModuleProperties.java:192)
	at
org.netbeans.modules.apisupport.project.ui.customizer.SuiteProperties.storeProperties(SuiteProperties.java:147)
	at
org.netbeans.modules.apisupport.project.ui.customizer.SuiteUtils$3.run(SuiteUtils.java:151)
	at org.openide.util.Mutex.writeAccess(Mutex.java:350)
	at
org.netbeans.modules.apisupport.project.ui.customizer.SuiteUtils.removeModuleFromSuite(SuiteUtils.java:142)
	at
org.netbeans.modules.apisupport.project.ui.SuiteLogicalView$RemoveSuiteComponentAction.performAction(SuiteLogicalView.java:302)
	at org.openide.util.actions.NodeAction$3.run(NodeAction.java:531)
	at
org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:47)
	at
org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:527)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
	at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
	at java.awt.Component.processEvent(Component.java:5253)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1766)
	at java.awt.Component.dispatchEvent(Component.java:3803)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Jesse Glick 2006-05-10 03:11:49 UTC
Please use the 'ide' component if in doubt about which component to use.
'nbbuild' is not for IDE bugs at all.
Comment 2 Jesse Glick 2006-05-10 03:13:46 UTC
Exception looks to be same as #71663. You are using the old version of module
development support included in NB release 5.0. Please consider upgrading to the
5.0 Update 1 release available on the update center.

*** This issue has been marked as a duplicate of 71663 ***
Comment 3 Tomas Danek 2006-10-10 13:35:47 UTC
verified duplicate