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

lateinit property uiModeDataStore has not been initialized #225

Open
superorange opened this issue Nov 16, 2022 · 4 comments
Open

lateinit property uiModeDataStore has not been initialized #225

superorange opened this issue Nov 16, 2022 · 4 comments

Comments

@superorange
Copy link

Run error!

2022-11-16 14:42:04.395 25413-25413/? E/sanju.jetquote: LoadAppImageStartupCache enabled : 1
2022-11-16 14:42:04.482 25413-27799/www.spikeysanju.jetquotes E/BehaviorCollectManager: Fail to acquire dataAnalyzerService...
2022-11-16 14:42:04.777 25413-27824/www.spikeysanju.jetquotes E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@e6f7017
2022-11-16 14:42:04.922 25413-25413/www.spikeysanju.jetquotes E/AndroidRuntime: FATAL EXCEPTION: main
Process: www.spikeysanju.jetquotes, PID: 25413
kotlin.UninitializedPropertyAccessException: lateinit property uiModeDataStore has not been initialized
at www.spikeysanju.jetquotes.view.MainActivity.getUiModeDataStore(MainActivity.kt:53)
at www.spikeysanju.jetquotes.view.MainActivity$observeUITheme$1.invokeSuspend(MainActivity.kt:86)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at androidx.lifecycle.DispatchQueue.drainQueue(DispatchQueue.kt:75)
at androidx.lifecycle.DispatchQueue.resume(DispatchQueue.kt:54)
at androidx.lifecycle.LifecycleController$observer$1.onStateChanged(LifecycleController.kt:40)
at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.java:354)
at androidx.lifecycle.LifecycleRegistry.forwardPass(LifecycleRegistry.java:265)
at androidx.lifecycle.LifecycleRegistry.sync(LifecycleRegistry.java:307)
at androidx.lifecycle.LifecycleRegistry.moveToState(LifecycleRegistry.java:148)
at androidx.lifecycle.LifecycleRegistry.handleLifecycleEvent(LifecycleRegistry.java:134)
at androidx.lifecycle.ReportFragment.dispatch(ReportFragment.java:68)
at androidx.lifecycle.ReportFragment$LifecycleCallbacks.onActivityPostStarted(ReportFragment.java:187)
at android.app.Activity.dispatchActivityPostStarted(Activity.java:1418)
at android.app.Activity.performStart(Activity.java:8464)
at android.app.ActivityThread.handleStartActivity(ActivityThread.java:4319)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:235)
at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:215)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:187)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:105)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2706)
at android.os.Handler.dispatchMessage(Handler.java:109)
at android.os.Looper.loop(Looper.java:228)
at android.app.ActivityThread.main(ActivityThread.java:9105)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:614)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1129)

@shanurrahmanpenny
Copy link

  • facing the same issue

@Abdulelahsg
Copy link

Me too.

@SalihAbdalrahman
Copy link

any suggestion?

@SalihAbdalrahman
Copy link

i need fix for this problem

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

4 participants