org.json.JSONException

No value for [ { "id": "13564339" ,"t" : "SBIN" ,"e" : "NSE" ,"l" : "222.90" ,"l_fix" : "222.90" ,"l_cur" : "Rs.222.90" ,"s": "0" ,"ltt":"3:55PM GMT+5:30" ,"lt" : "Jul 4, 3:55PM GMT+5:30" ,"lt_dts" : "2016-07-04T15:55:45Z" ,"c" : "+3.30" ,"c_fix" : "3.30" ,"cp" : "1.50" ,"cp_fix" : "1.50" ,"ccol" : "chg" ,"pcls_fix" : "219.6" } ] [ 07-04 10:49:42.667 11270:11321 W/System.err ]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web360

  • Stack trace

    • org.json.JSONException: No value for [ { "id": "13564339" ,"t" : "SBIN" ,"e" : "NSE" ,"l" : "222.90" ,"l_fix" : "222.90" ,"l_cur" : "Rs.222.90" ,"s": "0" ,"ltt":"3:55PM GMT+5:30" ,"lt" : "Jul 4, 3:55PM GMT+5:30" ,"lt_dts" : "2016-07-04T15:55:45Z" ,"c" : "+3.30" ,"c_fix" : "3.30" ,"cp" : "1.50" ,"cp_fix" : "1.50" ,"ccol" : "chg" ,"pcls_fix" : "219.6" } ] [ 07-04 10:49:42.667 11270:11321 W/System.err ] at org.json.JSONObject.get(JSONObject.java:389) at org.json.JSONObject.getJSONArray(JSONObject.java:584) at org.example.km.http2json.MainActivity$RefreshStock.parseJSON(MainActivity.java:117) at org.example.km.http2json.MainActivity$RefreshStock.doInBackground(MainActivity.java:87) at org.example.km.http2json.MainActivity$RefreshStock.doInBackground(MainActivity.java:63) at android.os.AsyncTask$2.call(AsyncTask.java:288) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    justCodeitjustCodeit
    67 times, last one
    filpgamefilpgame
    2 times, last one
    AdrienAdrien
    34 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Hiren AmaliyarHiren Amaliyar
    6 times, last one
    68 more bugmates