Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Android Lists and Adapters (2015) Updating the Data Model Introducing JSONArray

pranav kakkad
pranav kakkad
755 Points

No value Found

Exception caught: org.json.JSONException: No value for Asia/Kolkata at org.json.JSONObject.get(JSONObject.java:389) at org.json.JSONObject.getString(JSONObject.java:550) at pranav.com.stormy.MainActivity.getHourlyDetails(MainActivity.java:244) at pranav.com.stormy.MainActivity.ForecastDetails(MainActivity.java:198) at pranav.com.stormy.MainActivity.access$500(MainActivity.java:36) at pranav.com.stormy.MainActivity$2.onResponse(MainActivity.java:145) at com.squareup.okhttp.Call$AsyncCall.execute(Call.java:169) at com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)

According to this error no timezone is found for Asia/Kolkata , so none of the value is displaying