Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by davidsainty
, 2 years ago
java.lang.Integer cannot be cast to java.lang.Long
via GitHub by davidsainty
, 2 years ago
java.lang.Integer cannot be cast to java.lang.Long
via Stack Overflow by David Corsalini
, 2 years ago
java.lang.Integer cannot be cast to java.lang.Long
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:155) 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)