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 | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Start and stop TimerTask in android

    Stack Overflow | 7 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