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
Slf4jIllegalPassedClass check: NoSuchMethodError: MethodMatchers$MethodNameMatcher.withParameters() #153
Comments
memo: according to google/error-prone#2909 (comment) this fix should be fixed by #137 but we still have a usage: errorprone-slf4j/src/main/java/jp/skypencil/errorprone/slf4j/IllegalPassedClass.java Line 114 in bb79cd7
|
Ah, I understand.
You should use 2.11 instead, because Errorprone apply an breaking change to their API. |
Updated the release note to tell this problem to other users: I'll try to introduce code to check Errorprone version on the fly. |
I supposed that this issue is connected to ErrorProne 2.11, thanks for the confirmation! However, we can't upgrade ErrorProne at the moment, as we faced another issue with 2.11: mockito/mockito#2554 😞. We'll be waiting to get all the issues fixed and then upgrade errorprone-slf4j. |
I'm getting this error after updating errorprone-slf4j to 0.1.6:
java.lang.NoSuchMethodError: 'com.google.errorprone.matchers.method.MethodMatchers$ParameterMatcher com.google.errorprone.matchers.method.MethodMatchers$MethodNameMatcher.withParameters(java.lang.String, java.lang.String[])'
Click here to view full log
ErrorProne version: 2.10.0
Java version: 11
Is there a chance that errorprone-slf4j 0.1.6 requires ErrorProne 2.11?
The text was updated successfully, but these errors were encountered: