Menu

#3 Config init not robust.

open
nobody
None
5
2012-12-06
2010-09-17
uiltje
No

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.

Discussion

  • uiltje

    uiltje - 2010-09-20

    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..

     
  • uiltje

    uiltje - 2010-09-20
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.