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.
I've got the project from developer, but he sent it without suite. It's clear, that initially project was created as "suite with project". When I try to open popup menu for project in Project view => It's not opened with exception => actions/properties are not accesible. Exception is: *********** Exception occurred ************ at 11:44 AM on Jul 21, 2006 java.lang.ClassCastException: org.netbeans.modules.java.j2seproject.J2SEProject at org.netbeans.modules.apisupport.project.ui.customizer.SuiteUtils.findSuite(SuiteUtils.java:422) at org.netbeans.modules.apisupport.project.ui.ModuleActions$5.isEnabled(ModuleActions.java:548) at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:781) at org.openide.awt.Actions.connect(Actions.java:131) at org.openide.awt.Actions$MenuItem.<init>(Actions.java:1108) at org.netbeans.modules.openide.awt.DefaultAWTBridge.createPopupPresenter(DefaultAWTBridge.java:55) at org.openide.util.Utilities.actionsToPopup(Utilities.java:2626) at org.openide.util.Utilities.actionsToPopup(Utilities.java:2690) at org.openide.explorer.view.TreeView.createPopup(TreeView.java:868) at org.openide.explorer.view.TreeView$PopupAdapter.showPopup(TreeView.java:1295) at org.openide.awt.MouseUtils$PopupMouseAdapter.maybePopup(MouseUtils.java:152) at org.openide.awt.MouseUtils$PopupMouseAdapter.mousePressed(MouseUtils.java:143) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221) at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221) at java.awt.Component.processMouseEvent(Component.java:5485) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) 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:3889) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1774) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) [catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) 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)
Fixed in trunk. Can probably work around by making your own suite and use Modules > Add Existing on the project you were sent. Failing that, look into the module's project.xml and replace <suite-component/> with <standalone/>. I'm assuming the suite did not contain any other modules that this module would depend on - if so, the module project by itself is useless anyway.
Checking in apisupport/project/src/org/netbeans/modules/apisupport/project/ui/customizer/SuiteUtils.java; /shared/data/ccvs/repository/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/customizer/SuiteUtils.java,v <-- SuiteUtils.java new revision: 1.27; previous revision: 1.26 done Checking in apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/ui/customizer/SuiteUtilsTest.java; /shared/data/ccvs/repository/apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/ui/customizer/SuiteUtilsTest.java,v <-- SuiteUtilsTest.java new revision: 1.11; previous revision: 1.10 done
> Can probably work around by making your own suite and use Modules > Add Existing on the project you were sent. Doesn't work. > Failing that, look into the module's project.xml and replace <suite-component/> with <standalone/>. + update build-impl.xml remove suite.properties
*** Issue 83422 has been marked as a duplicate of this issue. ***