java.lang.ClassCastException: java.lang.Object[] cannot be cast to java.util.Date[]

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 Stack Overflow by Karim O.
, 9 months ago
java.lang.Object[] cannot be cast to java.util.Date[]
java.lang.ClassCastException: java.lang.Object[] cannot be cast to java.util.Date[]
at com.karimo.stopwatch.CountDownService.onHandleIntent(CountDownService.java:43)
at com.karimo.stopwatch.CountDownService.onStartCommand(CountDownService.java:69)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2726)
at android.app.ActivityThread.access$2100(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1302)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5146)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.