CLI sometimes stops working: org.json.JSONException: A JSONObject text must begin with '{' at 0 [character 1 line 1]

Henry Sanger
2022-11-11T11:29:06Z

Sometimes, the CLI will stop working out of the blue, displaying this error message:

Exception in thread "main" org.json.JSONException: A JSONObject text must begin with '{' at 0 [character 1 line 1]
	at org.json.JSONTokener.syntaxError(JSONTokener.java:521)
	at org.json.JSONObject.<init>(JSONObject.java:225)
	at org.json.JSONObject.<init>(JSONObject.java:421)
	at org.encyclosphere.encycloengine.util.Configuration.load(Configuration.java:27)
	at org.encyclosphere.encycloengine.EncycloEngine.main(EncycloEngine.java:62)

The error is displayed because ~/.encyclosearch/config.json is blank.