We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
error-prone doesn't give the full stack trace (at least when run as part of a Maven build), so hopefully this is sufficient:
error-prone version: 2.23.0 BugPattern: NestedInstanceOfConditions Stack Trace: java.lang.NullPointerException: Cannot invoke "com.sun.tools.javac.code.Type.isPrimitive()" because "t" is null
The line on which it failed looks like:
if(baz instanceof Foo.Bar.Baz(String text, Locale locale, Charset charset)) {
where Foo is an enum, Bar a sealed interface and Baz a record that implements Bar.
The text was updated successfully, but these errors were encountered:
Fixed via #4349
Sorry, something went wrong.
No branches or pull requests
error-prone doesn't give the full stack trace (at least when run as part of a Maven build), so hopefully this is sufficient:
error-prone version: 2.23.0
BugPattern: NestedInstanceOfConditions
Stack Trace:
java.lang.NullPointerException: Cannot invoke "com.sun.tools.javac.code.Type.isPrimitive()" because "t" is null
The line on which it failed looks like:
where Foo is an enum, Bar a sealed interface and Baz a record that implements Bar.
The text was updated successfully, but these errors were encountered: