java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.RuntimeException: Unable to resume activity {com.example.manish.planetdelhi/com.example.manish.planetdelhi.MainActivity}: java.lang.ClassCastException: com.example.manish.planetdelhi.SubPlaceFragment cannot be cast to com.example.manish.planetdelhi.PlaceListFragment at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2812) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2845) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1252) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5086) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.ClassCastException: com.example.manish.planetdelhi.SubPlaceFragment cannot be cast to com.example.manish.planetdelhi.PlaceListFragment at com.example.manish.planetdelhi.MainActivity.AddPlaceFragment(MainActivity.java:74) at com.example.manish.planetdelhi.MainActivity.onStart(MainActivity.java:80) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1194) at android.app.Activity.performStart(Activity.java:5258) at android.app.Activity.performRestart(Activity.java:5314) at android.app.Activity.performResume(Activity.java:5319) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2797)

    Users with the same issue

    Unknown visitor1 times, last one,