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

Stack Overflow | Somnath Pal | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Start and stop TimerTask in android

    Stack Overflow | 6 months ago | Somnath Pal
    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

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.nits.application.AppApplication cannot be cast to com.nits.londonclubnights.Event_Details_Activity

      at com.nits.londonclubnights.YoutubePlayerActivity.onResume()
    2. com.nits.londonclubnights
      YoutubePlayerActivity.onResume
      1. com.nits.londonclubnights.YoutubePlayerActivity.onResume(YoutubePlayerActivity.java:110)
      1 frame
    3. Android Platform
      ActivityThread.performResumeActivity
      1. android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1280)
      2. android.app.Activity.performResume(Activity.java:6096)
      3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:3011)
      3 frames