java.lang.ClassCastException: com.door43.translationstudio.newui.translate.FirstTabFragment cannot be cast to com.door43.translationstudio.newui.translate.ViewModeFragment

GitHub | neutrinog | 5 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

    GitHub comment 882#250224398

    GitHub | 5 months ago | neutrinog
    java.lang.ClassCastException: com.door43.translationstudio.newui.translate.FirstTabFragment cannot be cast to com.door43.translationstudio.newui.translate.ViewModeFragment

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.door43.translationstudio.newui.translate.FirstTabFragment cannot be cast to com.door43.translationstudio.newui.translate.ViewModeFragment

      at com.door43.translationstudio.newui.translate.TargetTranslationActivity.isSearchSupported()
    2. com.door43.translationstudio
      TargetTranslationActivity$6.onClick
      1. com.door43.translationstudio.newui.translate.TargetTranslationActivity.isSearchSupported(TargetTranslationActivity.java:366)
      2. com.door43.translationstudio.newui.translate.TargetTranslationActivity$6.onClick(TargetTranslationActivity.java:273)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:4780)
      2. android.view.View$PerformClick.run(View.java:19866)
      3. android.os.Handler.handleCallback(Handler.java:739)
      4. android.os.Handler.dispatchMessage(Handler.java:95)
      5. android.os.Looper.loop(Looper.java:135)
      6. android.app.ActivityThread.main(ActivityThread.java:5254)
      6 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
      2 frames