kontalk / androidclient

Kontalk official Android client
https://www.kontalk.org
GNU General Public License v3.0
571 stars 194 forks source link

Registration service start/stop race condition #1275

Closed daniele-athome closed 4 years ago

daniele-athome commented 5 years ago

Seriously...

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Handler.post(java.lang.Runnable)' on a null object reference
       at org.kontalk.service.registration.RegistrationService.onDestroy + 376(RegistrationService.java:376)
       at android.app.ActivityThread.handleStopService + 3921(ActivityThread.java:3921)
       at android.app.ActivityThread.access$1800 + 237(ActivityThread.java:237)
       at android.app.ActivityThread$H.handleMessage + 1821(ActivityThread.java:1821)
       at android.os.Handler.dispatchMessage + 106(Handler.java:106)
       at android.os.Looper.loop + 214(Looper.java:214)
       at android.app.ActivityThread.main + 7050(ActivityThread.java:7050)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run + 493(RuntimeInit.java:493)
       at com.android.internal.os.ZygoteInit.main + 964(ZygoteInit.java:964)
Perflyst commented 5 years ago

Currently I cannot login again with latest release from F-Droid. After entering the code from the SMS it just stuck. Is it because of this bug?