stko / oobd

OOBD- The Open Onboard Diagnostics Toolkit
http://oobd.org
11 stars 8 forks source link

OOBD crashes at first run when scanning for scripts #163

Closed stko closed 8 years ago

stko commented 8 years ago

The line

ArrayList files = Factory.getDirContent(appProbs.get(OOBDConstants.PropName_ScriptDir, null));

(at https://github.com/stko/oobd/blob/webUI/clients/OOBDesk/src/org/oobd/ui/swing/desk/swingView.java#L1181)

let the directory search crash, as without any saved preferences at initial start the script directory is "null"..