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:


Solutions on the web

Solution icon of stackoverflow
via Stack Overflow by Heisenberg06
, 9 months ago
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:

Solution icon of stackoverflow
via Stack Overflow by Heisenberg06
, 9 months ago
":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:

Solution icon of stackoverflow
Value [{"username":"ghs"}] of type java.lang.String cannot be converted to JSONObject W/System.err:

Solution icon of web
Value null<!-- of type java.lang.String cannot be converted to JSONArray

Solution icon of stackoverflow
Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject 06-24 00:41:03.314 349-349/com.roadysmart W/System.err:

Solution icon of github
via GitHub by kenrestivo
, 1 year ago
Value null of type org.json.JSONObject$1 cannot be converted to JSONObject

Solution icon of stackoverflow
via Stack Overflow by Alan W
, 1 year ago
Value null at results of type org.json.JSONObject$1 cannot be converted to JSONObject

Solution icon of stackoverflow
Value null of type org.json.JSONObject$1 cannot be converted to JSONObject

Solution icon of stackoverflow
via Stack Overflow by Pedro Daumas
, 1 year ago
Value null at multimedia of type org.json.JSONObject$1 cannot be converted to JSONObject

Solution icon of stackoverflow
Value null at user of type org.json.JSONObject$1 cannot be converted to JSONObject

Stack trace

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)

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

Once, 1 week ago
182 times, 1 week ago
2 times, 1 month ago
10 times, 1 month ago
16 times, 4 months ago
81 more bugmates