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.

  • Json error converting JSONObject Java
    via Stack Overflow by Heisenberg06
    ,
  • Code to get XML or Json on Java
    via Stack Overflow by Heisenberg06
    ,
  • GitHub comment 294#143362629
    via GitHub by kenrestivo
    ,
  • 获取用户信息报错
    via GitHub by ljsalm089
    ,
    • org.json.JSONException: Value {"data":[{"idintelisis":71553,"observaciones":"Orden Compra 5593.","fecha":"05/18/2016","carro":"CIST-03","cargapkt":"2"},{"idintelisis":72023,"observaciones":"Orden Compra 5631.","fecha":"05/26/2016","carro":"CE-04","cargapkt":"2"},{"idintelisis":72722,"observaciones":"Orden Compra 5788.","fecha":"06/29/2016","carro":"CE-07","cargapkt":"2"},{"idintelisis":73652,"observaciones":"Orden Compra 5871.","fecha":"07/20/2016","carro":"CE-04","cargapkt":"2"},{"idintelisis":73660,"observaciones":"Orden Compra 5944.","fecha":"08/05/2016","carro":"CE-07","cargapkt":"2"},{"idintelisis":74296,"observaciones":"Orden Compra 6064.","fecha":"09/02/2016","carro":"CE-05","cargapkt":"2"},{"idintelisis":75230,"observaciones":"Orden Compra 6092.","fecha":"09/10/2016","carro":"CE-07","cargapkt":"2"},{"idintelisis":75199,"observaciones":"Orden Compra 6105.","fecha":"09/14/2016","carro":"CE-06","cargapkt":"2"},{"idintelisis":74567,"observaciones":"Orden Compra 6112","fecha":"09/15/2016","carro":"CE-06","cargapkt":"2"},{"idintelisis":74893,"observaciones":"Orden Compra 6115.","fecha":"09/16/2016","carro":"CE-03","cargapkt":"2"},{"idintelisis":75123,"observaciones":"Orden Compra 6190.","fecha":"10/03/2016","carro":"PT-03","cargapkt":"2"},{"idintelisis":75234,"observaciones":"Orden Compra 6190..","fecha":"10/03/2016","carro":"PT-03","cargapkt":"2"},{"idintelisis":75451,"observaciones":"Orden Compra 6249","fecha":"10/18/2016","carro":"CE-05","cargapkt":"2"},{"idintelisis":75668,"observaciones":"Orden Compra 6261.","fecha":"10/20/2016","carro":"CE-05","cargapkt":"2"},{"idintelisis":75840,"observaciones":"Orden Compra 6324","fecha":"11/02/2016","carro":"CE-04","cargapkt":"2"},{"idintelisis":76240,"observaciones":"Orden Compra 6339.","fecha":"11/07/2016","carro":"PT-03","cargapkt":"2"},{"idintelisis":76147,"observaciones":"Orden Compra 6346.","fecha":"11/08/2016","carro":"PT-03","cargapkt":"2"},{"idintelisis":77370,"observaciones":"Orden Compra 6545","fecha":"12/28/2016","carro":"CE-04","cargapkt":"2"},{"idintelisis":77343,"observaciones":"Orden Compra 6551","fecha":"12/29/2016","carro":"CE-04","cargapkt":"2"},{"idintelisis":77444,"observaciones":"Orden Compra 6564","fecha":"01/03/2017","carro":"CE-04","cargapkt":"2"},{"idintelisis":77467,"observaciones":"Orden Compra 6566","fecha":"01/03/2017","carro":"CE-05","cargapkt":"2"},{"idintelisis":77478,"observaciones":"Orden Compra 6567","fecha":"01/03/2017","carro":"CE-05","cargapkt":"2"}]} of type java.lang.String cannot be converted to JSONObject 01-10 15:57:44.114 29347-18969/pa.com.tropigas.pedidostf W/System.err: at org.json.JSON.typeMismatch(JSON.java) at org.json.JSONObject.<init>(JSONObject.java) at org.json.JSONObject.<init>(JSONObject.java) at pa.com.tropigas.pedidostf.CarrosActivity$POST.doInBackground(CarrosActivity.java:102) at pa.com.tropigas.pedidostf.CarrosActivity$POST.doInBackground(CarrosActivity.java:68) at android.os.AsyncTask$2.call(AsyncTask.java) at java.util.concurrent.FutureTask.run(FutureTask.java) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java) at java.lang.Thread.run(Thread.java)

    Users with the same issue

    Hiren AmaliyarHiren Amaliyar
    10 times, last one,
    Unknown UserUnknown User
    16 times, last one,
    Indri YunitaIndri Yunita
    4 times, last one,
    DunmerDunmer
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    78 more bugmates