cppcheclipse icon indicating copy to clipboard operation
cppcheclipse copied to clipboard

Null Pointer For Non-Existent Path

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

What steps will reproduce the problem?
1. Add an include path to a folder that doesn't exist.
2. Run cppcheck.

What is the expected output?
Ignore bad paths.

What do you see instead?
Null Pointer Exception. Fails to initialize.

Error is here:
com.googlecode.cppcheclipse.ui.ToolchainSettings:181


Most common reason for this to happen is if you remove a folder that was in 
your path and forget to update your path settings to reflect the change. This 
should be ignored or at the very least a useful error message.

Original issue reported on code.google.com by [email protected] on 14 Apr 2015 at 12:07

GoogleCodeExporter avatar Jul 15 '15 18:07 GoogleCodeExporter