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

  1. 0

    JSONException: String cannot be converted to JSONArray

    Stack Overflow | 2 months ago | Deus Ex Machina
    org.json.JSONException: Value <br of type java.lang.String cannot be converted to JSONArray
  2. 0

    why does it says it is a string?

    Stack Overflow | 1 year ago | user3244616
    org.json.JSONException: Value <br of type java.lang.String cannot be converted to JSONArray
  3. 0

    <br of type java.lang.String cannot be converted to JSONArray

    Stack Overflow | 1 year ago | Kitsakorn P
    org.json.JSONException: Value <br of type java.lang.String cannot be converted to JSONArray
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    value <br of type java.lang.String cannot be converted to JSONObject In Android Programming

    Stack Overflow | 10 months ago | Signoff Teamz
    org.json.JSONException: Value <br of type java.lang.String cannot be converted to JSONArray
  6. 0

    Android java type org.json.JSONObject cannot be converted to JSONArray

    Stack Overflow | 2 years ago
    org.json.JSONException: Value {"data_id":9586,"name":"18 Slot Mithril Box","rarity":1,"restriction_level":0,"img":"https:\/\/render.guildwars2.com\/file\/00A876DFF0B89D18026B9BE4C1239E0BB7BAB81E\/220595.png","type_id":2,"sub_type_id":0,"price_last_changed":"2015-05-28 20:52:14 UTC","max_offer_unit_price":20800,"min_sale_unit_price":26300,"offer_availability":1106,"sale_availability":465,"sale_price_change_last_hour":0,"offer_price_change_last_hour":0,"result_of":[{"recipe_id":511,"name":"18 Slot Mithril Box"}]} of type org.json.JSONObject cannot be converted to JSONArray
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.json.JSONException

    Value <br of type java.lang.String cannot be converted to JSONArray

    at org.json.JSON.typeMismatch()
  2. Android Platform
    JSONArray.<init>
    1. org.json.JSON.typeMismatch(JSON.java:111)
    2. org.json.JSONArray.<init>(JSONArray.java:96)
    3. org.json.JSONArray.<init>(JSONArray.java:108)
    3 frames
  3. com.example.dw1
    MainActivity$8.onSuccess
    1. com.example.dw1.udpasteria.MainActivity.updateSQLite(MainActivity.java:423)
    2. com.example.dw1.udpasteria.MainActivity$8.onSuccess(MainActivity.java:394)
    2 frames
  4. android-async-http Library
    AsyncHttpResponseHandler$ResponderHandler.handleMessage
    1. com.loopj.android.http.AsyncHttpResponseHandler.handleMessage(AsyncHttpResponseHandler.java:351)
    2. com.loopj.android.http.AsyncHttpResponseHandler$ResponderHandler.handleMessage(AsyncHttpResponseHandler.java:510)
    2 frames
  5. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:102)
    2. android.os.Looper.loop(Looper.java:148)
    3. android.app.ActivityThread.main(ActivityThread.java:5417)
    3 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames