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

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 Dendi
, 1 year ago
Value 123 of type java.lang.Integer cannot be converted to JSONObject
via Stack Overflow by Vijay
, 5 months ago
via Stack Overflow by Jonathan
, 3 months ago
Value <br of type java.lang.String cannot be converted to JSONObject
via Stack Overflow by Itay Meir
, 1 year ago
Value <br><table of type java.lang.String cannot be converted to JSONObject
via GitHub by leitonghu
, 5 months ago
Value live_100006 of type java.lang.String cannot be converted to JSONObject
org.json.JSONException: Value <br of type java.lang.String cannot be converted to JSONObject
at org.json.JSON.typeMismatch(JSON.java:111)
at org.json.JSONObject.(JSONObject.java:160)
at org.json.JSONObject.(JSONObject.java:173)
at com.example.luke.xyz.edit_information$6.onResponse(edit_information.java:329)
at com.example.luke.xyz.edit_information$6.onResponse(edit_information.java:322)
at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:60)
at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:30)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:7325)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Users with the same issue

19 times, 9 months ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
19 times, 1 month ago
2 times, 2 months ago
81 more bugmates

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