---
title: "Comment by Maksim Filatov on \"How to Implement Hilt in Android App?\" | Hashnode"
description: "There is an exception in your WorkManager (SyncWorker). E / WM - WorkerWrapper: Work [ id = 6af5c166 - 3d6b -4676 - 84be - e9d89ca36521, tags = { vtsen.hashnode"
url: "https://hashnode.com/posts/how-to-implement-hilt-in-android-app/61fdc484fd8b083e5728ba29/comment/63763950e2d53d6fdf264d4d"
---

[Discussion](https://hashnode.com/posts/how-to-implement-hilt-in-android-app/61fdc484fd8b083e5728ba29)

Comment [How to Implement Hilt in Android App?](https://hashnode.com/posts/how-to-implement-hilt-in-android-app/61fdc484fd8b083e5728ba29)

[Maksim Filatov](https://hashnode.com/@MaksimF)

[Nov 17, 2022](https://hashnode.com/posts/how-to-implement-hilt-in-android-app/61fdc484fd8b083e5728ba29/comment/63763950e2d53d6fdf264d4d)

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
```

[Maksim Filatov](https://hashnode.com/@MaksimF)

[Nov 17, 2022](https://hashnode.com/posts/how-to-implement-hilt-in-android-app/61fdc484fd8b083e5728ba29/comment/63763950e2d53d6fdf264d4d#reply-637640d1f0820773cfb15637)

I think there is a solution how to fix it developer.android.com/training/dependency-injection/hilt-jetpack#workmanager
