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.
Summary: | CND throws exception on Module Manager | ||
---|---|---|---|
Product: | cnd | Reporter: | julieg <julieg> |
Component: | -- Other -- | Assignee: | Thomas Preisler <thp> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | USABILITY |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
julieg
2006-05-06 02:37:58 UTC
I cannot reproduce this one. I tried to disable the C/C++ Development main modules as well as several other C/C++ modules. Pls reopen if you can. I tested the latest CND built on June 2nd on Windows with the same issue and now I receive different NPE: To reproduce: => Open sample project Helloapp => Tools->module Manager->C/C++Development Pact => uncheck Active button => click close button => Tools->module Manager->C/C++Development Pact => check Active button => click close button java.lang.ClassCastException at org.netbeans.modules.cnd.makeproject.api.actions.AddExistingFolderItemsAction.enable(AddExistingFolderItemsAction.java:38) at org.openide.util.actions.NodeAction.isEnabled(NodeAction.java:170) at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:781) at org.openide.awt.Actions.connect(Actions.java:131) at org.openide.awt.Actions.connect(Actions.java:116) at org.openide.awt.Actions$MenuItem.<init>(Actions.java:1099) at org.netbeans.modules.openide.awt.DefaultAWTBridge.createMenuPresenter(DefaultAWTBridge.java:39) at org.openide.util.actions.CallableSystemAction.getMenuPresenter(CallableSystemAction.java:55) at org.openide.awt.DynaMenuModel.loadSubmenu(DynaMenuModel.java:62) at org.openide.awt.MenuBar$LazyMenu$MenuFolder.createInstance(MenuBar.java:630) at org.openide.loaders.FolderInstance.defaultProcessObjects(FolderInstance.java:736) at org.openide.loaders.FolderInstance.access$000(FolderInstance.java:68) at org.openide.loaders.FolderInstance$2.run(FolderInstance.java:622) at org.openide.util.Task.run(Task.java:216) at org.openide.awt.AWTTask.run(AWTTask.java:29) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189) at java.awt.EventQueue.dispatchEvent(EventQueue.java:478) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141) at java.awt.Dialog$1.run(Dialog.java:542) at java.awt.Dialog$3.run(Dialog.java:569) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:567) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:810) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:853) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:841) at org.openide.util.Mutex.doEventAccess(Mutex.java:1172) at org.openide.util.Mutex.readAccess(Mutex.java:209) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:826) at java.awt.Component.show(Component.java:1133) at java.awt.Component.setVisible(Component.java:1088) at org.netbeans.modules.autoupdate.catalog.ModuleSelectionPanel.doSetWaitingState(ModuleSelectionPanel.java:206) at org.netbeans.modules.autoupdate.catalog.ModuleSelectionPanel.access$200(ModuleSelectionPanel.java:57) [catch] at org.netbeans.modules.autoupdate.catalog.ModuleSelectionPanel$3.run(ModuleSelectionPanel.java:170) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189) at java.awt.EventQueue.dispatchEvent(EventQueue.java:478) 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) Removing CND1-FCS status. This is not a common situationa nd there is a simple work-around: restart the IDE. Added check for both classcast exceptions but unsure if bug is really fixed. I could reproduce one of the exceptions once but not the other one. Will close as fixed but pls reopen if you see it again. |