org.json.JSONException: No value for data

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via stackoverflow.com by Unknown author, 1 year ago
via Stack Overflow by Unknown author, 2 years ago
via howtobuildsoftware.com by Unknown author, 1 year ago
via GitHub by BugsBunnyBR
, 2 years ago
No value for pr
org.json.JSONException: No value for data
at org.json.JSONObject.get(JSONObject.java:389)
at org.json.JSONObject.getJSONObject(JSONObject.java:609)
at com.mobileallin.polskiesmogi.QueryUtils.extractFeatureFromJson(QueryUtils.java:171)
at com.mobileallin.polskiesmogi.QueryUtils.fetchcityData(QueryUtils.java:58)
at com.mobileallin.polskiesmogi.CityLoader.loadInBackground(CityLoader.java:54)
at com.mobileallin.polskiesmogi.CityLoader.loadInBackground(CityLoader.java:16)
at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:66)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
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)

Users with the same issue

12 times, 4 days ago
153 times, 2 months ago
102 times, 2 months ago
784 times, 5 months ago
53 times, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.