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

Stack Overflow | Display name | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Data inserts to database and then app crashes

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