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

GitHub | orionlee | 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

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

    GitHub | 7 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 | 5 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 | 2 years ago | davidsainty
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
  5. 0

    GitHub comment 1080#139943096

    GitHub | 2 years ago | davidsainty
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
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