question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App crashes on Secure Folder powered by Samsung after 1 day

See original GitHub issue

Hello team, I tried to use unstoppable wallet (shorthand as wl) under Secure Folder (Knox protected on Samsung phone) It works well in the beginning of the time. After ~24hrs, I can’t open wl again. I looked into the adb logcat, and it is caused by the following error:

11-14 00:42:26.518 18144 18144 D AndroidRuntime: Shutting down VM
11-14 00:42:26.519 18144 18144 E AndroidRuntime: FATAL EXCEPTION: main
11-14 00:42:26.519 18144 18144 E AndroidRuntime: Process: io.horizontalsystems.bankwallet, PID: 18144
11-14 00:42:26.519 18144 18144 E AndroidRuntime: java.lang.IllegalStateException: No Colors provided
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at io.horizontalsystems.bankwallet.ui.compose.ThemeKt$LocalColors$1.invoke(Theme.kt:93)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at io.horizontalsystems.bankwallet.ui.compose.ThemeKt$LocalColors$1.invoke(Theme.kt:92)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.LazyValueHolder.getCurrent(ValueHolders.kt:29)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.LazyValueHolder.getValue(ValueHolders.kt:31)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.ComposerImpl.resolveCompositionLocal(Composer.kt:1969)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.ComposerImpl.consume(Composer.kt:1939)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at io.horizontalsystems.bankwallet.ui.compose.ComposeAppTheme.getColors(Theme.kt:96)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at io.horizontalsystems.bankwallet.modules.keystore.KeyStoreActivityKt$KeysInvalidatedDialog$1.invoke(KeyStoreActivity.kt:185)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at io.horizontalsystems.bankwallet.modules.keystore.KeyStoreActivityKt$KeysInvalidatedDialog$1.invoke(KeyStoreActivity.kt:180)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.window.AndroidDialog_androidKt$Dialog$dialog$1$1$1$2.invoke(AndroidDialog.android.kt:163)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.window.AndroidDialog_androidKt$Dialog$dialog$1$1$1$2.invoke(AndroidDialog.android.kt:162)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.window.AndroidDialog_androidKt.DialogLayout(AndroidDialog.android.kt:448)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.window.AndroidDialog_androidKt.access$DialogLayout(AndroidDialog.android.kt:1)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.window.AndroidDialog_androidKt$Dialog$dialog$1$1$1.invoke(AndroidDialog.android.kt:160)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.window.AndroidDialog_androidKt$Dialog$dialog$1$1$1.invoke(AndroidDialog.android.kt:157)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.window.DialogLayout.Content(AndroidDialog.android.kt:254)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.AbstractComposeView$ensureCompositionCreated$1.invoke(ComposeView.android.kt:248)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.AbstractComposeView$ensureCompositionCreated$1.invoke(ComposeView.android.kt:247)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.CompositionLocalsKt.ProvideCommonCompositionLocals(CompositionLocals.kt:177)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$3.invoke(AndroidCompositionLocals.android.kt:123)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$3.invoke(AndroidCompositionLocals.android.kt:122)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt.ProvideAndroidCompositionLocals(AndroidCompositionLocals.android.kt:114)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.WrappedComposition$setContent$1$1$3.invoke(Wrapper.android.kt:157)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.WrappedComposition$setContent$1$1$3.invoke(Wrapper.android.kt:156)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.WrappedComposition$setContent$1$1.invoke(Wrapper.android.kt:156)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.WrappedComposition$setContent$1$1.invoke(Wrapper.android.kt:140)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.ActualJvm_jvmKt.invokeComposable(ActualJvm.jvm.kt:78)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.ComposerImpl$doCompose$2$5.invoke(Composer.kt:3215)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.ComposerImpl$doCompose$2$5.invoke(Composer.kt:3205)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.SnapshotStateKt__DerivedStateKt.observeDerivedStateRecalculations(DerivedState.kt:336)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.SnapshotStateKt.observeDerivedStateRecalculations(Unknown Source:1)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:3205)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.ComposerImpl.composeContent$runtime_release(Composer.kt:3141)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.CompositionImpl.composeContent(Composition.kt:584)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.Recomposer.composeInitial$runtime_release(Recomposer.kt:811)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.ComposerImpl$CompositionContextImpl.composeInitial$runtime_release(Composer.kt:3753)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.runtime.CompositionImpl.setContent(Composition.kt:519)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:140)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:131)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.AndroidComposeView.setOnViewTreeOwnersAvailable(AndroidComposeView.android.kt:1015)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.WrappedComposition.setContent(Wrapper.android.kt:131)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.WrappedComposition.onStateChanged(Wrapper.android.kt:182)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.java:360)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.lifecycle.LifecycleRegistry.addObserver(LifecycleRegistry.java:202)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:138)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:131)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at androidx.compose.ui.platform.AndroidComposeView.onAttachedToWindow(AndroidComposeView.android.kt:1102)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.view.View.dispatchAttachedToWindow(View.java:21976)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:4293)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:4302)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:4302)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:4302)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:4302)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3469)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2919)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:10491)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1108)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.view.Choreographer.doCallbacks(Choreographer.java:866)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.view.Choreographer.doFrame(Choreographer.java:797)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1092)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:938)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:226)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:313)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8663)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:567)
11-14 00:42:26.519 18144 18144 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

I also tried to reboot the phone and it can open but goes to clean state (just like clean cache/data, first-time launch time) It starts to ask for wallet setup again. Not sure what’s the root cause behind this. Logcat log file attached here, thanks! logcat.log.zip

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
junzhlicommented, Nov 21, 2022

App status page log after reboot attached here Log_221121_200028.txt

0reactions
junzhlicommented, Nov 29, 2022

Created a pr #5555 for fixing the crash on dialog prompting keystore invalidated

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apps crashing on my Samsung S9+ Secure Folder whenever I ...
The apps crash if there is any text input selected. After that, the app force-quit itself. A phone restart solves this issue temporarily...
Read more >
Fixed: Samsung Phone Apps Crashing [2022]
Part 1: Fix Samsung Galaxy Phone Apps Crashing · Fix 1: Reboot Samsung Phone · Fix 2: Keep Your Samsung Phone Updated ·...
Read more >
Problem with apps crashing on secure folder after april update
It's an issue with the keyboard app. Reset it (clear cache and data) or clear the clipboard. That's the work around. No fixes...
Read more >
Device Care - Apps on Google Play
For a more pleasant experience while using your Galaxy smartphone, try the "Device Care" app by Samsung Electronics. With the "Device Care" app, ......
Read more >
Why Do My Apps Keep Crashing on Android? - Avast
Open Settings and select Apps. Apps settings on an Android device. · Tap the app you want to reset. The list of Apps...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found