org.json.JSONException: No value for tags

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Ing Tejada
, 1 year ago
via Stack Overflow by andysando
, 2 years ago
via Stack Overflow by cmc12345
, 3 months ago
No value for question 08-21 17:28:54.500 2605-2605/com.example.conn.articulate W/System.err:
org.json.JSONException: No value for tags
at org.json.JSONObject.get(JSONObject.java:389)
at org.json.JSONObject.getJSONArray(JSONObject.java:584)
at com.luistejada.android.news.utils.Utils.extractFeatureFromJson(Utils.java:159)
at com.luistejada.android.news.utils.Utils.fetchNewsData(Utils.java:62)
at com.luistejada.android.news.news.NewsLoader.loadInBackground(NewsLoader.java:42)
at com.luistejada.android.news.news.NewsLoader.loadInBackground(NewsLoader.java:14)
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

67 times, 8 months ago
2 times, 9 months ago
34 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
153 times, 1 month ago

Write tip

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