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 242100 - NullPointerException at org.netbeans.modules.cnd.toolchain.compilers.CCCCompiler.getSystemIncludeDirectories
Summary: NullPointerException at org.netbeans.modules.cnd.toolchain.compilers.CCCCompi...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Toolchain (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-19 14:46 UTC by Exceptions Reporter
Modified: 2015-09-09 01:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207760


Attachments
stacktrace (5.48 KB, text/plain)
2014-02-19 14:46 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-02-19 14:46:46 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 201311290002)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
GUEST: Not sure what the error was...  I installed the Visual C++ compiler for VC++ 10/12/13 on Netbeans 7.4.  After selecting the toolkilt I switched my compiler back to Cygwin.  I was prompted with "Please Select the Visual C++" directory, and now have.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.toolchain.compilers.CCCCompiler.getSystemIncludeDirectories(CCCCompiler.java:161)
   at org.netbeans.modules.cnd.toolchain.compilers.CCCCompiler.saveSettings(CCCCompiler.java:263)
   at org.netbeans.modules.cnd.toolchain.compilerset.CompilerSetPreferences.saveToDisk(CompilerSetPreferences.java:177)
   at org.netbeans.modules.cnd.toolchain.compilerset.CompilerSetManagerAccessorImpl.setManagers(CompilerSetManagerAccessorImpl.java:101)
   at org.netbeans.modules.cnd.toolchain.ui.options.ToolsCacheManagerImpl.saveCompileSetManagers(ToolsCacheManagerImpl.java:328)
   at org.netbeans.modules.cnd.toolchain.ui.options.ToolsCacheManagerImpl.access$100(ToolsCacheManagerImpl.java:77)
Comment 1 Exceptions Reporter 2014-02-19 14:46:48 UTC
Created attachment 145402 [details]
stacktrace
Comment 2 Alexander Simon 2015-09-08 16:43:04 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/b93ad385a454
Comment 3 Quality Engineering 2015-09-09 01:24:23 UTC
Integrated into 'main-silver', will be available in build *201509090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b93ad385a454
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #242100 NullPointerException at org.netbeans.modules.cnd.toolchain.compilers.CCCCompiler.getSystemIncludeDirectories