org.json.JSONException: No value for items

Stack Overflow | Mir | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How do I get search results? Parsing Error

    Stack Overflow | 2 months ago | Mir
    org.json.JSONException: No value for items
  2. 0

    Android Json consult error

    Stack Overflow | 6 months ago | Ing Tejada
    org.json.JSONException: No value for tags
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    if i enter any random words it is not displaying "NO book found"

    Stack Overflow | 4 months ago | Ashish Choudhary
    java.lang.RuntimeException: An error occurred while executing doInBackground()
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.json.JSONException

    No value for items

    at org.json.JSONObject.get()
  2. Android Platform
    JSONObject.getJSONObject
    1. org.json.JSONObject.get(JSONObject.java:389)
    2. org.json.JSONObject.getJSONObject(JSONObject.java:609)
    2 frames
  3. com.example.android
    LibraryLoader.loadInBackground
    1. com.example.android.booklisting.QueryUtils.extractFeatureFromJson(QueryUtils.java:172)
    2. com.example.android.booklisting.QueryUtils.fetchLibraryData(QueryUtils.java:57)
    3. com.example.android.booklisting.LibraryLoader.loadInBackground(LibraryLoader.java:50)
    4. com.example.android.booklisting.LibraryLoader.loadInBackground(LibraryLoader.java:16)
    4 frames
  4. Android Platform
    AsyncTask$2.call
    1. android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)
    2. android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)
    3. android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)
    4. android.os.AsyncTask$2.call(AsyncTask.java:295)
    4 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    4. java.lang.Thread.run(Thread.java:818)
    4 frames