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

Summary: NullPointerException at org.netbeans.modules.cnd.toolchain.compilers.CCCCompiler.getSystemIncludeDirectories
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: ToolchainAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal CC: alexvsimon
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207760
Attachments: stacktrace

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