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 - NullPointerException at org.netbeans.modules.cnd.makeproject.actions.NewTestActionFactory$NewTestAction.<init>
Summary: NullPointerException at org.netbeans.modules.cnd.makeproject.actions.NewTestA...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: nnnnnk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-26 19:30 UTC by Exceptions Reporter
Modified: 2011-05-16 18:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177715


Attachments
stacktrace (2.79 KB, text/plain)
2011-03-26 19:30 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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