java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long

GitHub | orionlee | 2 months ago
  1. 0

    Intermittent crashes near the start / end of episodes, during MediaSessionCompat.setMetadata()

    GitHub | 3 months ago | orionlee
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
  2. 0

    Passing long with an intent, always getting error

    Stack Overflow | 4 years ago | David Corsalini
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 1080#139940901

    GitHub | 1 year ago | davidsainty
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
  5. 0

    GitHub comment 1080#139943096

    GitHub | 1 year ago | davidsainty
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long

  1. Indri Yunita 1 times, last 2 weeks ago
  2. danleyb2Interintel 2 times, last 5 months ago
  3. jk 6 times, last 5 months ago
  4. Chandan Jha 746 times, last 6 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassCastException

    java.lang.Integer cannot be cast to java.lang.Long

    at android.os.Bundle.getLong()
  2. Android Platform
    Intent.getLongExtra
    1. android.os.Bundle.getLong(Bundle.java:973)
    2. android.content.Intent.getLongExtra(Intent.java:4385)
    2 frames
  3. com.samsung.avrcp
    BtAvrcpHandler.onReceive
    1. com.samsung.avrcp.BtAvrcpHandler.onReceive(BtAvrcpHandler.java:155)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.handleReceiver(ActivityThread.java:2262)
    2. android.app.ActivityThread.access$1600(ActivityThread.java:134)
    3. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1294)
    4. android.os.Handler.dispatchMessage(Handler.java:99)
    5. android.os.Looper.loop(Looper.java:137)
    6. android.app.ActivityThread.main(ActivityThread.java:4867)
    6 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1007)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:774)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame