Comments (6)
Looks like you are missing a Dagger producers class. Can you try adding com.google.dagger:dagger-producers
dependency?
from dagger.
@gianpaolof there should be more to the stacktrace which would tell us where this is coming from. Can you post the entire stacktrace?
from dagger.
hi @bcorso
I updated the post with the stack trace. Tell me if there are other info that can help. :-)
from dagger.
hello @bcorso it works, thank you!
I never heard of that dependency before, is this a known issue?
can i safely leave the dependency in the gradle forever?
from dagger.
is this a known issue?
No, something weird is going on. The failure is happening in DependsOnProductionExecutorValidator
but that validator shouldn't even be running unless you have the dagger-producers
dependency on your classpath.
can i safely leave the dependency in the gradle forever?
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.
from dagger.
thanks @bcorso
I'll try to see if I can reproduce it on a simpler project because the code I'm working on is owned by our client and I cannot share it.
from dagger.
Related Issues (20)
- Feature request: Manually regenerate application component HOT 1
- Using TestContainer.com HOT 2
- Detect dependency cycles containing Lazy or Provider during the compilation time HOT 6
- error when ksp.useKSP2=true HOT 2
- Suppress annotation on @Inject is not honored on the Factory HOT 1
- [KSP2] Dagger and Hilt incompatibility with KSP2 HOT 2
- [KSP2] NullPointerException: null cannot be cast to non-null type androidx.room.compiler.processing.XType HOT 1
- App crashing with NPE for some classes when Lazy Class Key is used HOT 6
- OutOfMemoryError with Maven HOT 1
- DaggerAppComponent not creating in the version 2.51.1 HOT 3
- java.lang.ClassNotFoundException: dagger.spi.shaded.androidx.room.compiler.processing.javac.JavacBasicAnnotationProcessor. Hilt 2.49+ HOT 1
- how to manually generate module HOT 1
- Explain how to add dagger jar files manually to the android project HOT 2
- Annotate interface with default Bind implementation HOT 2
- Transitive vulnerability from symbol-processing-api HOT 1
- java.lang.IllegalArgumentException: CreationExtras must have a value by `SAVED_STATE_REGISTRY_OWNER_KEY` HOT 2
- Update of different dependency: Error "package javax.annotation.processing is not visible" HOT 3
- Compile time error with KSP with Generics HOT 2
- java.lang.IllegalArgumentException: Multiple entries with same key HOT 2
- Execution failed for task ':app:kaptDebugKotlin'. > A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction > java.lang.reflect.InvocationTargetException (no error message) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dagger.