org.json.JSONException: No value for data

Stack Overflow | Dave | 2 weeks ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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

    crash InBackground thread

    GitHub | 2 years ago | Flinbor
    java.lang.NullPointerException
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 data

    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.mobileallin.polskiesmogi
    CityLoader.loadInBackground
    1. com.mobileallin.polskiesmogi.QueryUtils.extractFeatureFromJson(QueryUtils.java:171)
    2. com.mobileallin.polskiesmogi.QueryUtils.fetchcityData(QueryUtils.java:58)
    3. com.mobileallin.polskiesmogi.CityLoader.loadInBackground(CityLoader.java:54)
    4. com.mobileallin.polskiesmogi.CityLoader.loadInBackground(CityLoader.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:66)
    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