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 252498 - NullPointerException at org.netbeans.modules.cnd.makeproject.api.MakeCommandFlagsProviderFactory$1$1.flagValue
Summary: NullPointerException at org.netbeans.modules.cnd.makeproject.api.MakeCommandF...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: danilasergeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-20 08:24 UTC by ilia
Modified: 2015-07-13 16:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 217420


Attachments
stacktrace (4.18 KB, text/plain)
2015-05-20 08:24 UTC, ilia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ilia 2015-05-20 08:24:50 UTC
Build: NetBeans IDE Dev (Build 201505140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Windows 7

User Comments:
ilia: I've hit a debug button on C project (did it after unsuccessful hg revert from Netbeans)




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.makeproject.api.MakeCommandFlagsProviderFactory$1$1.flagValue(MakeCommandFlagsProviderFactory.java:73)
   at org.netbeans.modules.cnd.makeproject.MakeActionProvider$Commands.getCommands(MakeActionProvider.java:2132)
   at org.netbeans.modules.cnd.makeproject.MakeActionProvider$Commands.access$700(MakeActionProvider.java:2115)
   at org.netbeans.modules.cnd.makeproject.MakeActionProvider.getTargetNames(MakeActionProvider.java:1422)
   at org.netbeans.modules.cnd.makeproject.MakeActionProvider.addAction(MakeActionProvider.java:465)
   at org.netbeans.modules.cnd.makeproject.MakeActionProvider.access$300(MakeActionProvider.java:168)
Comment 1 ilia 2015-05-20 08:24:51 UTC
Created attachment 153763 [details]
stacktrace
Comment 2 Quality Engineering 2015-07-10 01:17:38 UTC
Integrated into 'main-silver', will be available in build *201507100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/bcf7ca2f1363
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fixed bug #252498 NullPointerException at org.netbeans.modules.cnd.makeproject.api.MakeCommandFlagsProviderFactory$1$1.flagValue
Comment 3 danilasergeyev 2015-07-10 08:07:11 UTC
I cannot reproduce NPE.
However I believe that change set:
http://hg.netbeans.org/main-silver/rev/bcf7ca2f1363
will fix NPE.