Bukkit/Bukkit — comment on commit a13dc8f1b395752ab3eafbd79bc367869585df46
File:  line 0
By DiddiZ:

I know it was never fixed, but because it breaks my plugins, and it can't be too hard to fix, I just wanted to call attention after some days.

It's easy to avoid, but that's not the point
final File cfgFile = new File(plugin.getDataFolder(), "config.yml");
final YamlConfiguration config = YamlConfiguration.loadConfiguration(cfgFile);

Oh, and the npe is not caused when there is no config.yml, the npe get thrown always.