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
NullPointerException dagger.spi.shaded.androidx.room.compiler.processing.XTypeElement.getAnnotation #4241
Comments
@gianpaolof there should be more to the stacktrace which would tell us where this is coming from. Can you post the entire stacktrace? |
hi @bcorso |
Looks like you are missing a Dagger producers class. Can you try adding |
hello @bcorso it works, thank you! |
No, something weird is going on. The failure is happening in
The dependency should be small and shouldn't be harmful to keep. However, if there's anyway you could share a project that reproduces the behavior we could take a look and help figure out what's going on in your case. |
thanks @bcorso |
What happened? What did you expect to happen?
I've been trying to add Hilt in my Android app but I run into this issue when building:
Execution failed for task ':app:hiltJavaCompilePreprod'.
I am using jetbrains runtime 17.
Part of my root gradle:
part of my app gradle:
Is this a bug or there is something wrong with my configuration?
EDIT
stack trace:
A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
The text was updated successfully, but these errors were encountered: