java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.String

GitHub | cancan101 | 8 months ago
  1. 0

    Bring integer answer forward to next activity

    Stack Overflow | 8 months ago | Wenhan Xiao
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
  2. 0

    google.sent_time expected String -> crash

    GitHub | 4 months ago | m1ga
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Sending only Notification results in class cast error in Android app using GCM

    GitHub | 4 months ago | ikbenben
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
  5. 0

    google.sent_time expected String but value was a java.lang.Long The default value <null> was returned

    GitHub | 2 months ago | the-simian
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassCastException

    java.lang.Double cannot be cast to java.lang.String

    at android.os.BaseBundle.getString()
  2. Android Platform
    BaseBundle.getString
    1. android.os.BaseBundle.getString(BaseBundle.java:923)
    1 frame
  3. com.dieam.reactnativepushnotification
    RNPushNotification.presentLocalNotification
    1. com.dieam.reactnativepushnotification.modules.RNPushNotificationHelper.sendNotification(RNPushNotificationHelper.java:99)
    2. com.dieam.reactnativepushnotification.modules.RNPushNotification.presentLocalNotification(RNPushNotification.java:145)
    2 frames
  4. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  5. com.facebook.react
    NativeRunnableDeprecated.run
    1. com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:249)
    2. com.facebook.react.bridge.NativeModuleRegistry$ModuleDefinition.call(NativeModuleRegistry.java:158)
    3. com.facebook.react.bridge.NativeModuleRegistry.call(NativeModuleRegistry.java:58)
    4. com.facebook.react.bridge.CatalystInstanceImpl$NativeModulesReactCallback.call(CatalystInstanceImpl.java:428)
    5. com.facebook.react.bridge.queue.NativeRunnableDeprecated.run(Native Method)
    5 frames
  6. Android Platform
    Handler.dispatchMessage
    1. android.os.Handler.handleCallback(Handler.java:739)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    2 frames
  7. com.facebook.react
    MessageQueueThreadHandler.dispatchMessage
    1. com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
    1 frame
  8. Android Platform
    Looper.loop
    1. android.os.Looper.loop(Looper.java:148)
    1 frame
  9. com.facebook.react
    MessageQueueThreadImpl$3.run
    1. com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:184)
    1 frame
  10. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:818)
    1 frame