element-hq / riot-android

A glossy Matrix collaboration client for Android
Apache License 2.0
1.4k stars 394 forks source link

Crash in Crypto.VerificationManager #3396

Closed manuroe closed 4 years ago

manuroe commented 4 years ago
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.matrix.androidsdk.crypto.verification.VerificationManager.onToDeviceEvent(org.matrix.androidsdk.crypto.interfaces.CryptoEvent)' on a null object reference
       at org.matrix.androidsdk.crypto.internal.MXCryptoImpl.onToDeviceEvent + 1616(MXCryptoImpl.java:1616)
       at org.matrix.androidsdk.crypto.internal.MXCryptoImpl.access$100 + 107(MXCryptoImpl.java:107)
       at org.matrix.androidsdk.crypto.internal.MXCryptoImpl$2.onToDeviceEvent + 184(MXCryptoImpl.java:184)
       at org.matrix.androidsdk.MxEventDispatcher.dispatchOnToDeviceEvent + 527(MxEventDispatcher.java:527)
       at org.matrix.androidsdk.MXDataHandler.onToDeviceEvent + 2046(MXDataHandler.java:2046)
       at org.matrix.androidsdk.MXDataHandler.handleToDeviceEvent + 1802(MXDataHandler.java:1802)
       at org.matrix.androidsdk.MXDataHandler.manageResponse + 1300(MXDataHandler.java:1300)
       at org.matrix.androidsdk.MXDataHandler.access$000 + 99(MXDataHandler.java:99)
       at org.matrix.androidsdk.MXDataHandler$7.run + 1220(MXDataHandler.java:1220)
       at android.os.Handler.handleCallback + 873(Handler.java:873)
       at android.os.Handler.dispatchMessage + 99(Handler.java:99)
       at android.os.Looper.loop + 280(Looper.java:280)
       at android.os.HandlerThread.run + 65(HandlerThread.java:65)
bmarty commented 4 years ago

Ok done

bmarty commented 4 years ago

Fixed in SDK v0.9.34 and Riot-Android 0.9.11 (2020-05-13)