We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi Dagger Team, I'm getting error due to NPE on Lazy Dagger
dagger 2.43.2
NullPointerException: Attempt to invoke interface method 'java.lang.Object dagger.Lazy.get()' on a null object reference
This error I got in my Application class when retrieving the lazy injection, my application extend DaggerApplication
@Inject Lazy<Set<ClassA>> classA; @Override public void onCreate() { classA.get() }
Dagger Module Example
@Module class AppModule { @Provides @IntoSet fun provideClassXyz(): ClassA = ClassXyz() }
This issue I observe in firebase crashlytics, but still not able to reproduce locally
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi Dagger Team, I'm getting error due to NPE on Lazy Dagger
Env:
Error
This error I got in my Application class when retrieving the lazy injection, my application extend DaggerApplication
Dagger Module Example
This issue I observe in firebase crashlytics, but still not able to reproduce locally
The text was updated successfully, but these errors were encountered: