Config init not robust.
Status: Beta
Brought to you by:
yohannmartineau
Creation of the 'Config' class is not robust.
When the config file is not present/accessible, the object is left with null-values, leading to NullPointerExceptions in the program.
Attached, a patch that at least initialises the values to some sensible default in that case.
Please review and apply.
Sorry, attached patch was wrong. Replacing it with the proper patch (hopefully :).
This one, additionally, lets you choose between multiple interfaces (when appropriate).
Hope this helps..