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

Google Groups | Petr Vanek | 4 years ago
  1. 0

    passing int argument to android fails with No methods matching your arguments

    Google Groups | 4 years ago | Petr Vanek
    java.lang.ClassCastException: java.lang.Short cannot be cast to java.lang.Integer
  2. 0

    publishProgress() causing crashes

    Stack Overflow | 3 years ago | Lorenzo Sogliani
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
  3. 0

    Can't get intent from Activity A to Activity B

    Stack Overflow | 2 years ago | Jason Paddle
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Warning when application opens (Float cannot be cast to Integer)

    GitHub | 2 years ago | SwiTool
    java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Integer
  6. 0

    Exception when changing orientation of map view

    GitHub | 2 years ago | barbeau
    java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Integer

  1. gaurav 12 times, last 2 weeks ago
  2. iridic 8 times, last 3 weeks ago
  3. kuldeep 8 times, last 4 months ago
  4. mukky 33 times, last 4 months ago
  5. mrPet 8 times, last 8 months ago
3 more registered users
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.Short cannot be cast to java.lang.Integer

    at android.os.Bundle.getInt()
  2. Android Platform
    Bundle.getInt
    1. android.os.Bundle.getInt(Bundle.java:940)
    1 frame
  3. ch.bitspin.timely
    IntentAlarmSetter_.onCreate
    1. ch.bitspin.timely.alarm.IntentAlarmSetter.onCreate(SourceFile:41)
    2. ch.bitspin.timely.alarm.IntentAlarmSetter_.onCreate(SourceFile:29)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5206)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)
    5. android.app.ActivityThread.access$700(ActivityThread.java:140)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:137)
    9. android.app.ActivityThread.main(ActivityThread.java:4921)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame