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:4377) at com.samsung.avrcp.AvrcpService.populateElementList(AvrcpService.java:301) at com.samsung.avrcp.AvrcpService.handleAction(AvrcpService.java:413) at com.samsung.avrcp.AvrcpService.parseIntent(AvrcpService.java:197) at com.samsung.avrcp.AvrcpService.onStartCommand(AvrcpService.java:183) at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2531) at android.app.ActivityThread.access$1900(ActivityThread.java:140) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1324) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4898) 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:1006) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773) at dalvik.system.NativeStart.main(Native Method)