java.lang.RuntimeException: Unable to resume activity {com.translationstudio.androidapp/com.door43.translationstudio.ui.home.HomeActivity}: 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.handleLaunchActivity(ActivityThread.java:2795)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1527)
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.home.HomeActivity.onResume(HomeActivity.java:240)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1269)
at android.app.Activity.performResume(Activity.java:6823)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3477)
... 10 more
Notes
typing
Environment
Stack trace