java.lang.ClassCastException

java.lang.Short cannot be cast to java.lang.Integer

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19141

  • via Google Groups by Poorna Chandra, 1 month ago
    java.lang.Short cannot be cast to java.lang.Integer
  • java.lang.Integer cannot be cast to java.lang.Short
  • java.lang.Short cannot be cast to java.lang.Integer
  • Stack trace

    • java.lang.ClassCastException: java.lang.Short cannot be cast to java.lang.Integer at android.os.Bundle.getInt(Bundle.java:940) at android.os.Bundle.getInt(Bundle.java:923) at ch.bitspin.timely.alarm.IntentAlarmSetter.onCreate(SourceFile:40) at ch.bitspin.timely.alarm.IntentAlarmSetter_.onCreate(SourceFile:29) at android.app.Activity.performCreate(Activity.java:5206) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135) at android.app.ActivityThread.access$700(ActivityThread.java:140) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4921) 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:1027) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794) at dalvik.system.NativeStart.main(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    6 times, 1 year ago
    8 times, 4 weeks ago
    12 times, 7 months ago
    8 times, 8 months ago
    8 times, 11 months ago
    5 more bugmates