You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While getting weather data using the HTTP request without a internet connection results in the terminal crashing. The error log is as follows:
Exception in thread "main" org.json.JSONException: A JSONObject text must begin with '{' at [character 2 line 1]
at org.json.JSONTokener.syntaxError(JSONTokener.java:451)
at org.json.JSONObject.(JSONObject.java:195)
at org.json.JSONObject.(JSONObject.java:319)
at server.datatypes.WeatherData.(WeatherData.java:42)
at terminal.Terminal.handleConsoleInput(Terminal.java:1090)
at terminal.Terminal.run(Terminal.java:236)
at terminal.Terminal.main(Terminal.java:1607)
The text was updated successfully, but these errors were encountered:
While getting weather data using the HTTP request without a internet connection results in the terminal crashing. The error log is as follows:
The text was updated successfully, but these errors were encountered: