James Ward

Results 253 comments of James Ward

The examples in this repo have bazel builds. Let me know if that helps.

Maybe @lowasser can point us in the right direction.

I'm now getting this error consistently. Can we get an update on ETA to fix?

Ran into this as well in M7. Docs seem wrong: https://docs.spring.io/spring-ai/reference/1.0/api/mcp/mcp-client-boot-starter-docs.html#_usage_example Also IntelliJ can't resolve the `spring.ai.mcp.client.toolcallback.enabled` property.

It looks like the underlying error is: ``` java/lang/NoClassDefFoundError'{0x000000068be67e80}: org/slf4j/LoggerFactory> (0x000000068be67e80) ``` So I think that there is some logic that is trying to log something and slf4j is not...

Because there is likely some reflection underneath this, you won't see the error until a code path is followed that tries to reflectively find and use the class.

I think that usually when you see this kind of stacktrace it means that something in your code threw an unhandled exception and that was in a suspend function.

Yeah, you are right. I think that one possible culprit is Netty as it uses a native transport by default and if that misbehaves you can get a SIGSEGV. Might...

Netty being shaded isn't the source of the problem. It just means that to upgrade Netty you have to upgrade the library it is shaded in (in this case gRPC).

A JDK bug could explain why more people don't experience the problem. If anyone can bump their JDK to fix this, that'd be really useful data.