Native Android Kotlin Developer
I'm a self-taught hobbyist Android developer who loves to build projects and share valuable tips for new Android developers. Feel free to comment, share or connect with me!
Markdown supported · ⌘↵ to post
My app didn't already have an Application, and this is the only article I could find on what to do about that. But what should I put in the class body? Is it OK to leave it blank?
Maksim Filatov
There is an exception in your WorkManager (SyncWorker).
E/WM-WorkerWrapper: Work [ id=6af5c166-3d6b-4676-84be-e9d89ca36521, tags={ vtsen.hashnode.dev.androidnews.app.workers.SyncWorker } ] failed because it threw an exception/error java.util.concurrent.ExecutionException: kotlin.UninitializedPropertyAccessException: lateinit property repository has not been initialized at androidx.work.impl.utils.futures.AbstractFuture.getDoneValue(AbstractFuture.java:516) at androidx.work.impl.utils.futures.AbstractFuture.get(AbstractFuture.java:475) at androidx.work.impl.WorkerWrapper$2.run(WorkerWrapper.java:311) at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) Caused by: kotlin.UninitializedPropertyAccessException: lateinit property repository has not been initialized