Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WeatherUndergroundProvider : org.json.JSONException: No value for hourly_forecast #37

Open
ClementHard opened this issue Oct 19, 2015 · 0 comments

Comments

@ClementHard
Copy link

I have trouble getting Hour Forecast from WeatherUndergroundProvider.
Here is the error :

Error getting forecast data
 com.survivingwithandroid.weather.lib.exception.WeatherLibException: org.json.JSONException: No value for hourly_forecast
 com.survivingwithandroid.weather.lib.provider.wunderground.WeatherUndergroundProvider.getHourForecastWeather(WeatherUndergroundProvider.java:329)
 com.survivingwithandroid.weather.lib.client.okhttp.WeatherDefaultClient$6.onResponse(WeatherDefaultClient.java:476)
 com.squareup.okhttp.Call$AsyncCall.execute(Call.java:162)
 com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33)
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
 java.lang.Thread.run(Thread.java:818)
Caused by: org.json.JSONException: No value for hourly_forecast
 org.json.JSONObject.get(JSONObject.java:389)
 org.json.JSONObject.getJSONArray(JSONObject.java:584)
 com.survivingwithandroid.weather.lib.provider.wunderground.WeatherUndergroundProvider.getHourForecastWeather(WeatherUndergroundProvider.java:290)
 com.survivingwithandroid.weather.lib.client.okhttp.WeatherDefaultClient$6.onResponse(WeatherDefaultClient.java:476) 
 com.squareup.okhttp.Call$AsyncCall.execute(Call.java:162) 
 com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33) 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 
 java.lang.Thread.run(Thread.java:818) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant