org.json.JSONException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Android JSONEXCEPTION: No value for temp
    via Stack Overflow by T.Shonz
    ,
  • Android: read JSON
    via Stack Overflow by porthfind
    ,
  • GitHub comment 2#257788617
    via GitHub by ghzjtian
    ,
  • Error stack trace
    via GitHub by openkwaky
    ,
    • org.json.JSONException: No value for temp at org.json.JSONObject.get(JSONObject.java:389) at org.json.JSONObject.getJSONObject(JSONObject.java:609) at com.example.android.sunshine.ForecastFragment$FetchWeatherTask.getWeatherDataFromJson(ForecastFragment.java:208) at com.example.android.sunshine.ForecastFragment$FetchWeatherTask.doInBackground(ForecastFragment.java:323) at com.example.android.sunshine.ForecastFragment$FetchWeatherTask.doInBackground(ForecastFragment.java:119) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) 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

    filpgamefilpgame
    33 times, last one,
    DonsyDonsy
    21 times, last one,
    BassiuzBassiuz
    14 times, last one,
    Sooraj SinghSooraj Singh
    28 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    68 more bugmates