louis77 / tuner

GNU/Linux app to discover and play internet radio stations
GNU General Public License v3.0
198 stars 26 forks source link

JSON errors at startup #117

Closed technosf closed 1 month ago

technosf commented 2 months ago

At startup seeing:

(com.github.louis77.tuner:97660): Json-CRITICAL **: 18:26:48.093: json_node_get_array: assertion 'JSON_NODE_IS_VALID (node)' failed

(com.github.louis77.tuner:97660): Json-CRITICAL **: 18:26:48.093: json_array_foreach_element: assertion 'array != NULL' failed

I believe this is coming from StationStore line 66 where a JSON node is traversed without checking if its null.

Need to ascertain what JSON it is trying to pull to identify correct behavior on NULL

technosf commented 1 month ago

Added null JSON node check for empty favs file