java.lang.RuntimeException: java.lang.ClassCastException: java.lang.Byte cannot be cast to org.json.JSONArray

Stack Overflow | Display name | 5 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

    Data inserts to database and then app crashes

    Stack Overflow | 5 months ago | Display name
    java.lang.RuntimeException: java.lang.ClassCastException: java.lang.Byte cannot be cast to org.json.JSONArray

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Byte cannot be cast to org.json.JSONArray

      at com.year2.sqlitemysqlsync.MainActivity$1.onSuccess()
    2. com.year2.sqlitemysqlsync
      MainActivity$1.onSuccess
      1. com.year2.sqlitemysqlsync.MainActivity$1.onSuccess(MainActivity.java:102)
      1 frame
    3. android-async-http Library
      AsyncHttpResponseHandler.handleMessage
      1. com.loopj.android.http.AsyncHttpResponseHandler.handleMessage(AsyncHttpResponseHandler.java:351)
      1 frame