java.lang.ClassCastException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19170

  • via JDK Bug System by Webbug Group, 7 months ago
    java.lang.Integer cannot be cast to java.lang.Long
  • java.lang.Long cannot be cast to java.lang.Integer
  • Stack trace

    • java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long at android.os.Bundle.getLong(Bundle.java:973) at android.content.Intent.getLongExtra(Intent.java:4385) at com.samsung.avrcp.BtAvrcpHandler.onReceive(BtAvrcpHandler.java:162) at android.app.ActivityThread.handleReceiver(ActivityThread.java:2262) at android.app.ActivityThread.access$1600(ActivityThread.java:134) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1294) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4867) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1007) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:774) at dalvik.system.NativeStart.main(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 6 months ago
    Once, 8 months ago
    3 times, 1 year ago
    6 times, 1 year ago
    746 times, 1 year ago
    1 more bugmates