org.json.JSONException: Value <br of type java.lang.String cannot be converted to JSONArray

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Deus Ex Machina
, 1 year ago
Value <br of type java.lang.String cannot be converted to JSONArray
via Stack Overflow by Droidthusiast
, 1 year ago
Value Johnny of type java.lang.String cannot be converted to JSONArray
via Stack Overflow by Neo
, 4 months ago
Value Check of type java.lang.String cannot be converted to JSONArray
via Stack Overflow by Abhi Bardolia
, 8 months ago
Value <HTML> of type java.lang.String cannot be converted to JSONArray
via Stack Overflow by Pritesh Patel
, 1 month ago
Value {"message":"No Results found!","status":"false"} of type org.json.JSONObject cannot be converted to JSONArray
via Stack Overflow by Charlton Santana
, 1 week ago
Value [ 05-24 17:33:17.221: W/System.err(24203): {"firstName":"John","lastName":"Doe"}, 05-24 17:33:17.221: W/System.err(24203): {"firstName":"Anna","lastName":"Smith"}, 05-24 17:33:17.221: W/System.err(24203): {"firstName":"Peter","lastName": "Jones"} 05-24 17:33:17.221: W/System.err(24203): ] of type java.lang.String cannot be converted to JSONArray
org.json.JSONException: Value <br of type java.lang.String cannot be converted to JSONArray
at org.json.JSON.typeMismatch(JSON.java:111)
at org.json.JSONArray.(JSONArray.java:96)
at org.json.JSONArray.(JSONArray.java:108)
at com.example.dw1.udpasteria.MainActivity.updateSQLite(MainActivity.java:423)
at com.example.dw1.udpasteria.MainActivity$8.onSuccess(MainActivity.java:394)
at com.loopj.android.http.AsyncHttpResponseHandler.handleMessage(AsyncHttpResponseHandler.java:351)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago
66 times, 1 month ago
63 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.