The input is incorrect. This record
{
"brewery": "Ayinger Brewery",
"lat": "",
"lng": "",
"breweryID": "QKdFk2"
},
is missing lat and lng values, which causes Double.parseDouble()
to fail.
Printing the exception's stack trace in the catch would've been helpful to debug it.