java.lang.ClassCastException: java.lang.String cannot be cast to org.json.JSONObject

Stack Overflow | destiny dozie | 7 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

    java.lang.String cannot be cast to org.json.JSONObject - Runtime Error

    Stack Overflow | 7 months ago | destiny dozie
    java.lang.ClassCastException: java.lang.String cannot be cast to org.json.JSONObject

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to org.json.JSONObject

      at com.dozie.destiny.usda.Detailed$getarticle.onPostExecute()
    2. com.dozie.destiny
      Detailed$getarticle.onPostExecute
      1. com.dozie.destiny.usda.Detailed$getarticle.onPostExecute(Detailed.java:117)
      2. com.dozie.destiny.usda.Detailed$getarticle.onPostExecute(Detailed.java:66)
      2 frames
    3. Android Platform
      AsyncTask.finish
      1. android.os.AsyncTask.finish(AsyncTask.java:632)
      1 frame