ericberman / MyFlightbookAndroid

Android client app for MyFlightbook.com
http://myflightbook.com
GNU General Public License v3.0
21 stars 8 forks source link

Crash on sign-in - get activity can be null #149

Closed ericberman closed 5 years ago

ericberman commented 5 years ago

java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203) at com.myflightbook.android.ActNewFlight.updateTemplatesForAircraft(ActNewFlight.java:1988) at com.myflightbook.android.ActNewFlight.ResetFlight(ActNewFlight.java:1188) at com.myflightbook.android.ActNewFlight.invalidate(ActNewFlight.java:1833) at com.myflightbook.android.MFBMain.invalidateAll(MFBMain.java:827) at com.myflightbook.android.DlgSignIn$SignInTask.onPostExecute(DlgSignIn.java:112) at com.myflightbook.android.DlgSignIn$SignInTask.onPostExecute(DlgSignIn.java:80) at android.os.AsyncTask.finish(AsyncTask.java:695) at android.os.AsyncTask.-wrap1(Unknown Source:0) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:712) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6694) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:769) nullnull