Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. Thread.run() has thrown a ParseRequest$ParseRequestException
    Java Runtime
    2
    4
    0
  2. Trying to convert non-JSON data into a JSON object
    JSON in Java
    135
    97
    3

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
org.json.JSONException: Value Cannot of type java.lang.String cannot be converted to JSONObject
1 matching frame hidden
    at org.json.JSONObject.<init>(JSONObject.java:159)
    at org.json.JSONObject.<init>(JSONObject.java:172)
    at com.parse.ParseRESTCommand.onResponseAsync(ParseRESTCommand.java:298)

External results for this pattern (10)

  1. naolivvia GitHub4 weeks ago
    Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
    Show stack trace
  2. saravia Google Groups1 month ago
    Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
    Show stack trace
  3. Sooraj Sizonvia Google Groups1 month ago
    Value Sorry of type java.lang.String cannot be converted to JSONObject
    Show stack trace
  4. prasetyoandivia GitHub1 month ago
    Value <br of type java.lang.String cannot be converted to JSONObject
    Show stack trace
  5. mf16via GitHub3 months ago
    Value Unauthorized of type java.lang.String cannot be converted to JSONObject
    Show stack trace
  6. FawadNLvia GitHub4 months ago
    Value {"status":{"message":"OK","code":200},"org":[{"org_relation":"Administrator","org_name":"Sunshine","org_id":"a347E000007HrZQAU"},{"org_relation":"Administrator","org_name":"The second sun","org_id":"a347E000007OffQAE"}],"profile":{"profile_photo_url":"http://enadcity.org/enadcity/wp-content/uploads/2017/02/profile-pictures.png","profile_photo_id":"0697E000002XvPQAU","middle_name":null,"last_name":"Minkels (Adm.)","full_name":"Esmée met een lange naam Minkels (Adm.)","first_name":"Esmée met een lange naam","email":"test@gmail.com","contact_id":"0037E0000SX8T4QAL"},"network_id":"0DBw000000GnbDGAS"} of type java.lang.String cannot be converted to JSONObject
    Show stack trace
  7. timraevia GitHub5 months ago
    Value invalid of type java.lang.String cannot be converted to JSONObject
    Show stack trace
  8. Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
    Show stack trace