java.lang.RuntimeException: Unable to resume activity {com.translationstudio.androidapp/com.door43.translationstudio.ui.home.HomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.Dialog.setContentView(android.view.View)' on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3506)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3546)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1577)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:203)
at android.app.ActivityThread.main(ActivityThread.java:6251)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.Dialog.setContentView(android.view.View)' on a null object reference
at android.app.DialogFragment.onActivityCreated(DialogFragment.java:478)
at android.app.Fragment.performActivityCreated(Fragment.java:2361)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1014)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1171)
at android.app.BackStackRecord.popFromBackStack(BackStackRecord.java:1747)
at android.app.FragmentManagerImpl.popBackStackState(FragmentManager.java:1691)
at android.app.FragmentManagerImpl$4.run(FragmentManager.java:605)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1578)
at android.app.FragmentController.execPendingActions(FragmentController.java:371)
at android.app.Activity.performStart(Activity.java:6732)
at android.app.Activity.performRestart(Activity.java:6807)
at android.app.Activity.performResume(Activity.java:6812)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3477)
... 8 more
Log history
2/15/24 7:32 PM E/com.door43.translationstudio.core.TargetTranslation: Failed to commit changes for qaa-x-acba09_mat_text_reg
org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command
at org.eclipse.jgit.api.AddCommand.call(AddCommand.java:212)
at org.eclipse.jgit.api.CommitCommand.call(CommitCommand.java:203)
at com.door43.translationstudio.core.TargetTranslation.commitSync(TargetTranslation.java:1069)
at com.door43.translationstudio.core.TargetTranslation.commitSync(TargetTranslation.java:1034)
at com.door43.translationstudio.core.TargetTranslation$1.run(TargetTranslation.java:1108)
Caused by: org.eclipse.jgit.errors.LockFailedException: Cannot lock /storage/emulated/0/translationStudio/translations/qaa-x-acba09_mat_text_reg/.git/index
at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:224)
at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:301)
at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:267)
at org.eclipse.jgit.lib.Repository.lockDirCache(Repository.java:1052)
at org.eclipse.jgit.api.AddCommand.call(AddCommand.java:142)
... 4 more
2/15/24 7:32 PM E/TargetTranslation: Failed to stage changes for qaa-x-acba09_mat_text_reg
org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command
at org.eclipse.jgit.api.AddCommand.call(AddCommand.java:212)
at com.door43.translationstudio.core.TargetTranslation.commitSync(TargetTranslation.java:1051)
at com.door43.translationstudio.core.TargetTranslation.commitSync(TargetTranslation.java:1034)
at com.door43.translationstudio.core.TargetTranslation$1.run(TargetTranslation.java:1108)
Caused by: org.eclipse.jgit.errors.LockFailedException: Cannot lock /storage/emulated/0/translationStudio/translations/qaa-x-acba09_mat_text_reg/.git/index
at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:224)
at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:301)
at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:267)
at org.eclipse.jgit.lib.Repository.lockDirCache(Repository.java:1052)
at org.eclipse.jgit.api.AddCommand.call(AddCommand.java:142)
... 3 more
Environment
Stack trace
Log history