Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] - Crash when trying to send message to desktop pinecone #35

Open
henri2h opened this issue Mar 19, 2022 · 0 comments
Open

[Android] - Crash when trying to send message to desktop pinecone #35

henri2h opened this issue Mar 19, 2022 · 0 comments

Comments

@henri2h
Copy link

henri2h commented Mar 19, 2022

Describe the bug
Sending a message to a desktop pinecone user make the application crash at start.

Smartphone:

  • Device: Android
  • OS: Lineage
  • Version 1.1.7 - dev

Stacktrace

Here is the stacktrace at start

FormattedJsonHttpLogger: <-- 200 OK http://localhost:65432/_matrix/client/r0/pushers (30ms, 14-byte body)
03-19 20:30:19.846 14094 14153 V FormattedJsonHttpLogger: <-- 404 Not Found http://localhost:65432/_matrix/client/unstable/room_keys/version (66ms, 53-byte body)
03-19 20:30:19.848 14094 14108 I r.app.p2p.debu: Background young concurrent copying GC freed 105732(6731KB) AllocSpace objects, 63(3440KB) LOS objects, 88% free, 6235KB/54MB, paused 273us total 157.462ms
03-19 20:30:19.848 14094 14094 I r.app.p2p.debu: WaitForGcToComplete blocked ClassLinker on ClassLinker for 11.416ms
03-19 20:30:19.858 14094 14151 E DefaultGetKeysBackupLastVersionTask: Exception when executing request GET http://localhost:65432/_matrix/client/unstable/room_keys/version
03-19 20:30:19.869 14094 14150 V AsyncTransactionKt$awaitTransaction$$inlined$withPermit$lambda: Execute transaction in 64 millis
03-19 20:30:19.877 14094 14175 V QueryStringValueProcessorKt: No condition to process
03-19 20:30:19.899 14094 14094 V UnknownDeviceDetectorSharedViewModel: ## Detector - Current Session first time seen 1647718219895
03-19 20:30:19.900 14094 14094 V UnknownDeviceDetectorSharedViewModel: ## Detector - Remembered ignored list []
03-19 20:30:19.902 14094 14140 V VectorUncaughtExceptionHandler: Uncaught exception: java.lang.NullPointerException
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler: FATAL EXCEPTION Element Build : 4010107
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler: Element Version : 1.1.7-dev [4010107] (F--)
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler: SDK Version : 0.0.1 ()
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler: Phone : SM-G935F (eng.ivanme.20210621.061307 11 REL)
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler: Memory statuses 
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler: usedSize   6 MB
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler: freeSize   47 MB
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler: totalSize   54 MB
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler: Thread: Crypto_Thread, Exception: java.lang.NullPointerException
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler:        at org.matrix.android.sdk.internal.crypto.algorithms.megolm.MXMegolmEncryptionFactory.create(MXMegolmEncryptionFactory.kt:56)
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler:        at org.matrix.android.sdk.internal.crypto.DefaultCryptoService.setEncryptionInRoom(DefaultCryptoService.kt:562)
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler:        at org.matrix.android.sdk.internal.crypto.DefaultCryptoService$encryptEventContent$1.invokeSuspend(DefaultCryptoService.kt:644)
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler:        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler:        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler:        at android.os.Handler.handleCallback(Handler.java:938)
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler:        at android.os.Handler.dispatchMessage(Handler.java:99)
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler:        at android.os.Looper.loop(Looper.java:223)
03-19 20:30:19.908 14094 14140 E VectorUncaughtExceptionHandler:        at android.os.HandlerThread.run(HandlerThread.java:67)
03-19 20:30:19.910 14094 14094 I VectorBaseFragment: onCreateView Fragment HomeDetailFragment
03-19 20:30:19.913 14094 14170 I GoLog   : PINECONE: Connected to peer 3bf0258d23c60952639cc4c69c71d1508a7d43a0475d9000ff900a1848411ec7 on port 1
03-19 20:30:19.913 14094 14175 V QueryStringValueProcessorKt: No condition to process
03-19 20:30:19.914 14094 14198 V QueryStringValueProcessorKt: No condition to process
03-19 20:30:19.921 14094 14140 E AndroidRuntime: FATAL EXCEPTION: Crypto_Thread
03-19 20:30:19.921 14094 14140 E AndroidRuntime: Process: im.vector.app.p2p.debug, PID: 14094
03-19 20:30:19.921 14094 14140 E AndroidRuntime: java.lang.NullPointerException
03-19 20:30:19.921 14094 14140 E AndroidRuntime:        at org.matrix.android.sdk.internal.crypto.algorithms.megolm.MXMegolmEncryptionFactory.create(MXMegolmEncryptionFactory.kt:56)
03-19 20:30:19.921 14094 14140 E AndroidRuntime:        at org.matrix.android.sdk.internal.crypto.DefaultCryptoService.setEncryptionInRoom(DefaultCryptoService.kt:562)
03-19 20:30:19.921 14094 14140 E AndroidRuntime:        at org.matrix.android.sdk.internal.crypto.DefaultCryptoService$encryptEventContent$1.invokeSuspend(DefaultCryptoService.kt:644)
03-19 20:30:19.921 14094 14140 E AndroidRuntime:        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
03-19 20:30:19.921 14094 14140 E AndroidRuntime:        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
03-19 20:30:19.921 14094 14140 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:938)
03-19 20:30:19.921 14094 14140 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
03-19 20:30:19.921 14094 14140 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:223)
03-19 20:30:19.921 14094 14140 E AndroidRuntime:        at android.os.HandlerThread.run(HandlerThread.java:67)
03-19 20:30:19.925  4840 14199 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
03-19 20:30:19.926  4840  4923 W ActivityTaskManager:   Force finishing activity im.vector.app.p2p.debug/im.vector.app.features.home.HomeActivit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant