java.lang.ClassCastException

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

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web9

  • via Stack Overflow by Lorenzo Sogliani
    ,
  • Stack trace

    • java.lang.ClassCastException: java.lang.Short cannot be cast to java.lang.Integer at android.os.Bundle.getInt(Bundle.java:940) at ch.bitspin.timely.alarm.IntentAlarmSetter.onCreate(SourceFile:41) 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

    Hiren AmaliyarHiren Amaliyar
    8 times, last one
    gauravgaurav
    12 times, last one
    iridiciridic
    8 times, last one
    kuldeepkuldeep
    8 times, last one
    mukkymukky
    33 times, last one
    5 more bugmates