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

Stack Overflow | Ankit Nagevadiya | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    Stack Overflow | 11 months ago | Ankit Nagevadiya
    org.json.JSONException: Value Bundle of type java.lang.String cannot be converted to JSONArray
  2. 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
  3. 0

    why does it says it is a string?

    Stack Overflow | 2 years ago | user3244616
    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

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

    Stack Overflow | 2 years ago | Kitsakorn P
    org.json.JSONException: Value <br of type java.lang.String cannot be converted to JSONArray
  6. 0

    PHP and Android: java.lang.String cannot be converted to JSONArray

    Stack Overflow | 2 years ago | Bharat
    org.json.JSONException: Value <!-- of type java.lang.String 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 Bundle 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.abc.ff
    GCMIntentService.onMessage
    1. com.abc.ff.GCMIntentService.parseList(GCMIntentService.java:117)
    2. com.abc.ff.GCMIntentService.onMessage(GCMIntentService.java:63)
    2 frames
  4. com.google.android
    GCMBaseIntentService.onHandleIntent
    1. com.google.android.gcm.GCMBaseIntentService.onHandleIntent(GCMBaseIntentService.java:223)
    1 frame
  5. Android Platform
    HandlerThread.run
    1. android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
    2. android.os.Handler.dispatchMessage(Handler.java:102)
    3. android.os.Looper.loop(Looper.java:149)
    4. android.os.HandlerThread.run(HandlerThread.java:61)
    4 frames