org.json.JSONException: Value Bundle 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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Ankit Nagevadiya
, 1 year ago
Value Bundle 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 Bundle 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.abc.ff.GCMIntentService.parseList(GCMIntentService.java:117)
at com.abc.ff.GCMIntentService.onMessage(GCMIntentService.java:63)
at com.google.android.gcm.GCMBaseIntentService.onHandleIntent(GCMBaseIntentService.java:223)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:149)
at android.os.HandlerThread.run(HandlerThread.java:61)

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
Samebug visitor profile picture
Unknown user
2 times, 2 years ago

Write tip

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