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.

  • Code to get XML or Json on Java
    via Stack Overflow by Heisenberg06
    ,
  • Json error converting JSONObject Java
    via Stack Overflow by Heisenberg06
    ,
  • GitHub comment 294#143362629
    via GitHub by kenrestivo
    ,
  • 获取用户信息报错
    via GitHub by ljsalm089
    ,
    • org.json.JSONException: Value [{"idintelisis":101,"observaciones":"Nitin","fecha":null,"carro":null,"cargapkt":"sd5"},{"idintelisis":101,"observaciones":"Nitin","fecha":null,"carro":null,"cargapkt":"sd5"}] of type java.lang.String cannot be converted to JSONObject 01-11 10:04:47.487 6541-7024/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:114) at pa.com.tropigas.pedidostf.CarrosActivity$POST.doInBackground(CarrosActivity.java:65) 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