org.json.JSONException

Value <br><table of type java.lang.String cannot be converted to JSONObject

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1422

  • via Stack Overflow by Paul Trueman
    , 1 year ago
    Value <br of type java.lang.String cannot be converted to JSONObject
  • Value <br of type java.lang.String cannot be converted to JSONObject
  • Value <br of type java.lang.String cannot be converted to JSONObject
  • Stack trace

    • org.json.JSONException: Value <br><table of type java.lang.String cannot be converted to JSONObject at org.json.JSON.typeMismatch(JSON.java:111) at org.json.JSONObject.<init>(JSONObject.java:160) at org.json.JSONObject.<init>(JSONObject.java:173) at com.example.jerem.myapplication.RegisterActivity$1$1.onResponse(RegisterActivity.java:44) at com.example.jerem.myapplication.RegisterActivity$1$1.onResponse(RegisterActivity.java:40) at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:60) at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:30) at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:99) 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:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

    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

    36 times, 3 weeks ago
    38 times, 1 month ago
    4 times, 3 months ago
    32 times, 4 months ago
    4 times, 5 months ago
    78 more bugmates