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 cancan101
, 1 year ago
java.lang.Double cannot be cast to java.lang.String
via GitHub by gkbiswas
, 10 months ago
android.text.SpannableString cannot be cast to java.lang.String
via Stack Overflow by Wenhan Xiao
, 2 years ago
java.lang.Integer cannot be cast to java.lang.String
via GitHub by aryarohit07
, 2 years ago
java.io.File cannot be cast to java.lang.String
via GitHub by qoo888
, 1 year ago
java.lang.Character cannot be cast to java.lang.String
via GitHub by rajam1215
, 1 year ago
libcore.util.ZoneInfo cannot be cast to java.lang.String
java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.String at android.os.BaseBundle.getString(BaseBundle.java:923) at com.dieam.reactnativepushnotification.modules.RNPushNotificationHelper.sendNotification(RNPushNotificationHelper.java:99) at com.dieam.reactnativepushnotification.modules.RNPushNotification.presentLocalNotification(RNPushNotification.java:145) at java.lang.reflect.Method.invoke(Native Method) at com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:249) at com.facebook.react.bridge.NativeModuleRegistry$ModuleDefinition.call(NativeModuleRegistry.java:158) at com.facebook.react.bridge.NativeModuleRegistry.call(NativeModuleRegistry.java:58) at com.facebook.react.bridge.CatalystInstanceImpl$NativeModulesReactCallback.call(CatalystInstanceImpl.java:428) at com.facebook.react.bridge.queue.NativeRunnableDeprecated.run(Native Method) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31) at android.os.Looper.loop(Looper.java:148) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:184) at java.lang.Thread.run(Thread.java:818)