gharl... groovy! slf4j! method returns an `@Nullab...
# community-support
c
gharl... groovy! slf4j! method returns an
@Nullable String
and the null is causing the logger to go bloosh! I'm going to assume that on my plugin (written in java) side, there's not much I can do other than say "don't do that"?
Copy code
Cannot resolve which method to invoke for [class java.lang.String, null] due to overlapping prototypes between:
  	[class java.lang.String, class [Ljava.lang.Object;]
  	[class java.lang.String, class java.lang.Throwable]
n
this would fail in java as well, no? just cast the
null
to the correct type for the method signature you wish to invoke
c
it probably would, which is why I'm cursing at slf4j too
idk, didn't seem to fail in kotlin though
so maybe not
problem is, the signature issue seems to be happening at the caller
meaning I don't actually control that, because I'm not logging it
I mean, I was/am
but that was in an integration test
I actually don't think it happens in java/kotlin, because the type is there at compile time
👆 1
might happen if my method returned Object instead of String
but groovy
yeah, java and kotlin are just fine