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

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

    deleting a project

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

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'java.lang.String com.door43.translationstudio.core.TargetTranslation.getProjectId()' on a null object reference

      at com.door43.translationstudio.newui.home.TargetTranslationInfoDialog.onCreateView()
    2. com.door43.translationstudio
      TargetTranslationInfoDialog.onCreateView
      1. com.door43.translationstudio.newui.home.TargetTranslationInfoDialog.onCreateView(TargetTranslationInfoDialog.java:60)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.Fragment.performCreateView(Fragment.java:2053)
      2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:894)
      3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
      4. android.app.BackStackRecord.popFromBackStack(BackStackRecord.java:1645)
      5. android.app.FragmentManagerImpl.popBackStackState(FragmentManager.java:1556)
      6. android.app.FragmentManagerImpl$4.run(FragmentManager.java:525)
      7. android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1452)
      8. android.app.FragmentManagerImpl$1.run(FragmentManager.java:447)
      9. android.os.Handler.handleCallback(Handler.java:739)
      10. android.os.Handler.dispatchMessage(Handler.java:95)
      11. android.os.Looper.loop(Looper.java:135)
      12. android.app.ActivityThread.main(ActivityThread.java:5254)
      12 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