Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Bruce Parmele
6,474 PointsIncomplete JSON Data while running app...
I can see the weather data fine while browsing to the url. But I am getting incomplete data when running the app, Even when I try the downloaded project code, I get the same problem - all fields on the app are blank. here is a log snippit.....
{"time":1425612720,"precipIntensity":0,"precipProbability":0},{"time":1425612780,"precipIntensity":0,"precipProbability":0},{"time":1425612840,"precipIntensity":0,"precipProbability":0},{"time":1425612900,"precipIntensity":0,"precipProbability":0},{"time":1425612960,"precipIntensity":0,"precipProbability":0},{"time":1425613020,"precipIntensity":0,"precipProbability":0},{"time":1425613080,"precipInt
03-05 20:42:57.375 18082-18109/com.parmeleconsulting.stormy D/dalvikvm﹕ GC_CONCURRENT freed 279K, 16% free 5663K/6720K, paused 2ms+21ms, total 60ms
03-05 20:42:57.585 18082-18213/com.parmeleconsulting.stormy I/********MainActivity*******﹕ From JSON: America/Chicago
03-05 20:42:57.585 18082-18213/com.parmeleconsulting.stormy D/********MainActivity*******﹕ 8:42 PM
03-05 20:42:57.671 18082-18109/com.parmeleconsulting.stormy D/dalvikvm﹕ GC_CONCURRENT freed 470K, 19% free 5662K/6912K, paused 3ms+3ms, total 55ms
03-05 20:42:57.750 18082-18213/com.parmeleconsulting.stormy E/********MainActivity*******﹕ Exception caught:
org.json.JSONException: No value for time'
1 Answer

Bruce Parmele
6,474 PointsLooks like a typo when I was setting the hourTime. I had typed ("time'")
instead of time ("time")
.
Now that was a self lessen learned in debugging!