Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Somnath Pal
, 1 year ago
Unable to resume activity {com.nits.londonclubnights/com.nits.londonclubnights.YoutubePlayerActivity}: java.lang.ClassCastException: com.nits.application.AppApplication cannot be cast to com.nits.londonclubnights.Event_Details_Activity
via GitHub by BishopGIS
, 2 years ago
Unable to resume activity {com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
via Stack Overflow by jasinth premkumar
, 1 month ago
Unable to resume activity {com.example.jasinthpremkumar.speed/com.example.jasinthpremkumar.speed.MainActivity}: java.lang.ClassCastException: com.example.jasinthpremkumar.speed.MainActivity cannot be cast to android.hardware.SensorEventListener
via Stack Overflow by Adrian
, 2 years ago
Unable to resume activity {android.package.MainActivity}: java.lang.NullPointerException
via GitHub by abarisain
, 2 years ago
Unable to resume activity {com.namelessdev.mpdroid/com.namelessdev.mpdroid.MainMenuActivity}: android.os.NetworkOnMainThreadException
via opencv.org by Unknown author, 1 year ago
Unable to resume activity {com.example.ueliton.helloopencv/com.example.ueliton.helloopencv.MainActivity}: java.lang.IllegalArgumentException: Service Intent must be explicit: Intent { act=org.opencv.engine.BIND }
java.lang.RuntimeException: Unable to resume activity {com.nits.londonclubnights/com.nits.londonclubnights.YoutubePlayerActivity}: java.lang.ClassCastException: com.nits.application.AppApplication cannot be cast to com.nits.londonclubnights.Event_Details_Activity at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3028) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3063) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2418) at android.app.ActivityThread.access$800(ActivityThread.java:155) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5343) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)Caused by: java.lang.ClassCastException: com.nits.application.AppApplication cannot be cast to com.nits.londonclubnights.Event_Details_Activity at com.nits.londonclubnights.YoutubePlayerActivity.onResume(YoutubePlayerActivity.java:110) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1280) at android.app.Activity.performResume(Activity.java:6096) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3011)