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.
Build: NetBeans IDE 8.1 (Build 201510222201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17 OS: Windows 10 User Comments: GUEST: Switching between configurations each configured with different toolchains Stacktrace: java.lang.NullPointerException at org.netbeans.modules.cnd.makeproject.api.configurations.CCCompilerConfiguration.getUserMacroFlag(CCCompilerConfiguration.java:314) at org.netbeans.modules.cnd.makeproject.api.configurations.CCCompilerConfiguration.getPreprocessorOptions(CCCompilerConfiguration.java:258) at org.netbeans.modules.cnd.makeproject.NativeProjectProvider.checkConfigurationChangedWorker(NativeProjectProvider.java:527) at org.netbeans.modules.cnd.makeproject.NativeProjectProvider.checkConfigurationChanged(NativeProjectProvider.java:414) at org.netbeans.modules.cnd.makeproject.NativeProjectProvider.propertyChange(NativeProjectProvider.java:590) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
Created attachment 158817 [details] stacktrace
Investigation: Apparently one of the tool collections is broken. C++ tool descriptor is invalid.
fixed, change set: http://hg.netbeans.org/cnd-main/rev/6a857f0ed8e9
Integrated into 'main-silver', will be available in build *201603120306* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6a857f0ed8e9 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #258314 - NullPointerException at org.netbeans.modules.cnd.makeproject.api.configurations.CCCompilerConfiguration.getUserMacroFlag - avoid NPE in case tool collection is broken.