java.lang.ClassCastException

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.

  • GitHub comment 191#235949465
    via GitHub by e16din
    ,
  • GitHub comment 235#237250574
    via GitHub by prashanthd
    ,
    • java.lang.ClassCastException: android.view.ContextThemeWrapper cannot be cast to android.app.Activity at fm.jiecao.jcvideoplayer_lib.JCVideoPlayer.prepareVideo(JCVideoPlayer.java:294) at fm.jiecao.jcvideoplayer_lib.JCVideoPlayer.startButtonLogic(JCVideoPlayer.java:281) at fm.jiecao.jcvideoplayer_lib.JCVideoPlayer.access$000(JCVideoPlayer.java:38) at fm.jiecao.jcvideoplayer_lib.JCVideoPlayer$1.onClick(JCVideoPlayer.java:209) at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:164) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5289) 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:898) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
    No Bugmate found.