java.lang.RuntimeException: Unable to resume activity {com.translationstudio.androidapp/com.door43.translationstudio.ui.publish.PublishActivity}: java.lang.NullPointerException: Attempt to read from field 'org.unfoldingword.gogsclient.User com.door43.translationstudio.core.Profile.gogsUser' 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 read from field 'org.unfoldingword.gogsclient.User com.door43.translationstudio.core.Profile.gogsUser' on a null object reference
at com.door43.translationstudio.ui.ProfileActivity.getCurrentUser(ProfileActivity.java:87)
at com.door43.translationstudio.ui.dialogs.BackupDialog.onResume(BackupDialog.java:627)
at android.app.Fragment.performResume(Fragment.java:2398)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1032)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1171)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1153)
at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:2049)
at android.app.FragmentController.dispatchResume(FragmentController.java:198)
at android.app.Activity.performResume(Activity.java:6841)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3477)
... 8 more
Environment
Stack trace