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 161369 - NullPointerException at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationMakefileWriter.writeMakefileConf
Summary: NullPointerException at org.netbeans.modules.cnd.makeproject.configurations.C...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Thomas Preisler
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-27 16:34 UTC by Egor Ushakov
Modified: 2009-03-28 20:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 148408


Attachments
stacktrace (917 bytes, text/plain)
2009-03-27 16:34 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2009-03-27 16:34:48 UTC
Build: NetBeans IDE Dev (Build 090327)
VM: Java HotSpot(TM) Server VM, 11.0-b15, Java(TM) Platform, Standard Edition for Business, 1.6.0_10-b33
OS: SunOS, 5.11, x86

User Comments:
gorrus: changed run arguments



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationMakefileWriter.writeMakefileConf(ConfigurationMakefileWriter.java:186)
        at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationMakefileWriter.write(ConfigurationMakefileWriter.java:93)
        at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.saveWorker(MakeConfigurationDescriptor.java:635)
        at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.access$000(MakeConfigurationDescriptor.java:95)
        at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor$SaveRunnable.run(MakeConfigurationDescriptor.java:571)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
Comment 1 Egor Ushakov 2009-03-27 16:34:52 UTC
Created attachment 78987 [details]
stacktrace
Comment 2 Egor Ushakov 2009-03-27 16:40:22 UTC
I'm unable to run application after that
Comment 3 Thomas Preisler 2009-03-27 20:10:40 UTC
It can happen if you try to save a project with a non-existing toolchain. Will fix.
Comment 4 Thomas Preisler 2009-03-27 21:54:42 UTC
Fixed.
Comment 5 Quality Engineering 2009-03-28 20:38:09 UTC
Integrated into 'main-golden', will be available in build *200903281400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/23e6f6e0e49d
User: Thomas Preisler <thp@netbeans.org>
Log: #161369 NullPointerException at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationMakefileWriter.writeMakefileConf