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 sglok
, 1 year ago
java.lang.Long cannot be cast to java.lang.String
via GitHub by m1ga
, 1 year ago
java.lang.Long cannot be cast to java.lang.String
via GitHub by sglok
, 1 year ago
java.lang.Long cannot be cast to java.lang.String
via GitHub by rajam1215
, 1 year ago
libcore.util.ZoneInfo cannot be cast to java.lang.String
via Stack Overflow by Ashish Keshri
, 2 years ago
java.util.Locale cannot be cast to java.lang.String
via Stack Overflow by user3663921
, 2 years ago
android.text.SpannableString cannot be cast to java.lang.String
java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String	at android.os.BaseBundle.getString(BaseBundle.java:923)	at nl.vanvianen.android.gcm.GCMIntentService.onMessage(GCMIntentService.java:106)	at com.google.android.gcm.GCMBaseIntentService.onHandleIntent(GCMBaseIntentService.java:223)	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:168)	at android.os.HandlerThread.run(HandlerThread.java:61)