ipodipad / cppcheclipse

Automatically exported from code.google.com/p/cppcheclipse
0 stars 0 forks source link

Null Pointer For Non-Existent Path #71

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 linema...@gmail.com on 14 Apr 2015 at 12:07