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 197117

Summary: NullPointerException at org.netbeans.modules.cnd.makeproject.actions.NewTestActionFactory$NewTestAction.<init>
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: ProjectAssignee: nnnnnk <nnnnnk>
Status: RESOLVED FIXED    
Severity: normal CC: vv159170
Priority: P2    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 177715
Attachments: stacktrace

Description Exceptions Reporter 2011-03-26 19:30:22 UTC
This issue was reported manually by vv159170.
It already has 2 duplicates 


Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02-334, Java(TM) SE Runtime Environment, 1.6.0_24-b07-334-10M3326
OS: Mac OS X

User Comments:
GUEST: mouse right click always cause this error




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.makeproject.actions.NewTestActionFactory$NewTestAction.<init>(NewTestActionFactory.java:132)
   at org.netbeans.modules.cnd.makeproject.actions.NewTestActionFactory$CreateTestSubmenuAction.createActions(NewTestActionFactory.java:328)
   at org.netbeans.modules.cnd.makeproject.actions.NewTestActionFactory$CreateTestSubmenuAction.createSubMenu(NewTestActionFactory.java:279)
   at org.netbeans.modules.cnd.makeproject.actions.NewTestActionFactory$CreateTestSubmenuAction.getPopupPresenter(NewTestActionFactory.java:258)
   at org.openide.util.actions.NodeAction$DelegateAction.getPopupPresenter(NodeAction.java:631)
   at org.netbeans.modules.editor.NbEditorKit.createLocalizedMenuItem(NbEditorKit.java:347)
Comment 1 Exceptions Reporter 2011-03-26 19:30:25 UTC
Created attachment 107302 [details]
stacktrace
Comment 2 Thomas Preisler 2011-03-31 22:38:44 UTC
Looks like the project has been brought into an (illegal) state where there is no active configuration. It should not happen. Need to know the steps that led up this so I can fix the root cause of this bug.
Comment 3 Vladimir Voskresensky 2011-05-12 12:22:59 UTC
already 7 exceptions
Comment 4 nnnnnk 2011-05-16 17:15:09 UTC
fixed
http://hg.netbeans.org/releases/rev/85a53ea02092