lightbend / kalix-jvm-sdk

Java and Scala SDKs for Kalix
https://docs.kalix.io/java/index.html
Other
58 stars 39 forks source link

Component client throws IllegalArgumentException #2005

Closed efgpinto closed 8 months ago

efgpinto commented 8 months ago

Internal report for usage of Component client throwing: IllegalArgumentException: Can only resolve method references from serializable SAMs, class was: class java.lang.reflect.Method.

Still trying to reproduce.

efgpinto commented 8 months ago

In the end, I was not able to reproduce locally.

After some debugging, we figured this was cause by the use of maven modules and specifically an outdated local dependency. Therefore, not an issue on the sdk.