java.lang.NullPointerException: Attempt to invoke virtual method 'void com.door43.translationstudio.core.TargetTranslation.commit()' on a null object reference

GitHub | door43app | 4 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

    test

    GitHub | 4 months ago | door43app
    java.lang.NullPointerException: Attempt to invoke virtual method 'void com.door43.translationstudio.core.TargetTranslation.commit()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'void com.door43.translationstudio.core.TargetTranslation.commit()' on a null object reference

      at com.door43.translationstudio.newui.translate.TargetTranslationActivity.onDestroy()
    2. com.door43.translationstudio
      TargetTranslationActivity.onDestroy
      1. com.door43.translationstudio.newui.translate.TargetTranslationActivity.onDestroy(TargetTranslationActivity.java:1041)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.performDestroy(Activity.java:6150)
      2. android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1147)
      3. android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3864)
      4. android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3895)
      5. android.app.ActivityThread.access$1400(ActivityThread.java:167)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1471)
      7. android.os.Handler.dispatchMessage(Handler.java:111)
      8. android.os.Looper.loop(Looper.java:194)
      9. android.app.ActivityThread.main(ActivityThread.java:5534)
      9 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:955)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:750)
      2 frames