-
Notifications
You must be signed in to change notification settings - Fork 90
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
RuntimeException: Error invoking setter with parameter class Module on object DaggerComponentBuilder #92
Comments
Hi, can you paste the whole exception? |
Hi there, Please find the full exception below:
|
The real error seems the last one, can you try to add the method |
Hi, thanks for your reply. I changed parts of our project to now use builders, but I'm still getting the same error. I'm probably not completely sure I understand your suggested code; where should I place this? In my ApplicationComponent I now have:
and
Thanks again for your help. |
I think you should add a builder for |
Hi there,
First off, thank you very much for your library and great work.
I've been trying to set up DaggerMock in our project, but I'm running into some problems.
Our ApplicationComponent:
ManageSubscriptionComponent & -Module:
Test:
with DaggerMockRule:
When running this test, I get the following error:
java.lang.RuntimeException: Error invoking setter with parameter class com.rubicoin.invest.ui.managesubscription.ManageSubscriptionActivityComponent$ManageSubscriptionActivityModule on object com.rubicoin.invest.injection.component.DaggerApplicationComponent$Builder@5bde6148
Thank you in advance for your help!
The text was updated successfully, but these errors were encountered: