Skip to content
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

DependencyException: Unable to provide dependency for class class io.nexure.payments.service.adyen.AdyenService: #1

Open
sentry-io bot opened this issue Feb 28, 2023 · 1 comment

Comments

@sentry-io
Copy link

sentry-io bot commented Feb 28, 2023

Sentry Issue: PAYMENT-SERVICE-V2-C

DependencyException: Unable to provide dependency for class interface java.util.List
    at io.nexure.capsule.Capsule.get(Capsule.kt:20)
    at io.nexure.capsule.Capsule.resolveImplicit(Capsule.kt:26)
    at io.nexure.capsule.Capsule.tryGet(Capsule.kt:17)
    at io.nexure.capsule.Capsule.get(Capsule.kt:20)
    at io.nexure.payments.ModuleKt$primary$1$8.invoke(Module.kt:145)
...
(35 additional frame(s) were not displayed)

DependencyException: Unable to provide dependency for class class io.nexure.payments.service.adyen.AdyenService: 
	Unable to provide dependency for class interface java.util.List
    at io.nexure.capsule.Capsule.resolveImplicit(Capsule.kt:28)
    at io.nexure.capsule.Capsule.tryGet(Capsule.kt:17)
    at io.nexure.capsule.Capsule.get(Capsule.kt:20)
    at io.nexure.payments.ModuleKt$primary$1$8.invoke(Module.kt:145)
    at io.nexure.payments.ModuleKt$primary$1$8.invoke(Module.kt:104)
...
(34 additional frame(s) were not displayed)
@mantono
Copy link
Member

mantono commented Feb 28, 2023

Capsule should be better at handling automatic construction of classes that has a collection or list as part of the constructor arguments when the type of the data contained can be loaded via capsule.

That is, if this is possible at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant