Closed WoelfiVW closed 5 months ago
Thanks for reporting. This appears when users do not have a Mastodon account linked to their Träwelling profile. Is this also the case for you?
Logs fron Google Play Console:
Exception java.net.MalformedURLException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference at java.net.URL.<init> (URL.java:635) at java.net.URL.<init> (URL.java:498) at java.net.URL.<init> (URL.java:447) at de.hbch.traewelling.ui.checkIn.CheckInKt$CheckIn$instanceEmojis$2$1.invoke (CheckIn.kt:101) at de.hbch.traewelling.ui.checkIn.CheckInKt$CheckIn$instanceEmojis$2$1.invoke (CheckIn.kt:101) at androidx.compose.runtime.snapshots.Snapshot$Companion.observe (Snapshot.kt:2303) at androidx.compose.runtime.DerivedSnapshotState.currentRecord (DerivedState.kt:200) at androidx.compose.runtime.DerivedSnapshotState.getValue (DerivedState.kt:268) at de.hbch.traewelling.ui.checkIn.CheckInKt.CheckIn$lambda$7 (CheckIn.kt:1347) at de.hbch.traewelling.ui.checkIn.CheckInKt.access$CheckIn$lambda$7 (CheckIn.kt:1) at de.hbch.traewelling.ui.checkIn.CheckInKt$CheckIn$4$1.invokeSuspend (CheckIn.kt:151) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:108) at androidx.compose.ui.platform.AndroidUiDispatcher.performTrampolineDispatch (AndroidUiDispatcher.android.kt:81) at androidx.compose.ui.platform.AndroidUiDispatcher.access$performTrampolineDispatch (AndroidUiDispatcher.android.kt:41) at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.run (AndroidUiDispatcher.android.kt:57) at android.os.Handler.handleCallback (Handler.java:959) at android.os.Handler.dispatchMessage (Handler.java:100) at android.os.Looper.loopOnce (Looper.java:232) at android.os.Looper.loop (Looper.java:317) at android.app.ActivityThread.main (ActivityThread.java:8592) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:580) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:878) Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference at java.net.URL.<init> (URL.java:540)
Yep, I don't have a mastodon account :)
On version 2.10.0-play, when checking into a connection and typing : (whereby is an alphanumeral) in your text, the app crashes.
Steps to reproduce:
Device being used: Redmi Note 12 Pro, with MIUI 14.0.3 (Android 13)