Skip to content
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

FieldMissingNullable seems to be removed, not mentioned in RN #2097

Closed
pzygielo opened this issue Jan 13, 2021 · 1 comment
Closed

FieldMissingNullable seems to be removed, not mentioned in RN #2097

pzygielo opened this issue Jan 13, 2021 · 1 comment

Comments

@pzygielo
Copy link
Contributor

pzygielo commented Jan 13, 2021

Description of the problem / feature request:

It seems that FieldMissingNullable is missing in 2.5.0.
With 2.4.0 I had

[WARNING] .../X.java:[32,15] [FieldMissingNullable] May assign null to field
    (see https://errorprone.info/bugpattern/FieldMissingNullable)
  Did you mean '@Nullable @Basic'?

and then -Xep:FieldMissingNullable:OFF.

After upgrading EP to 2.5.0 I'm getting

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project X: Fatal error compiling: FieldMissingNullable is not a valid checker name

However RN:2.5.0 does not mention removed checks, only added.

Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Replace this line with your answer.

What version of Error Prone are you using?

2.4.0 -> 2.5.0

Have you found anything relevant by searching the web?

RN references #1275, which I believe is indirectly related.
Probably not relevant, as previous EP also complains on missing checkers.

The most recent issue that mentions FieldMissingNullable was closed in 2018.

@pzygielo
Copy link
Contributor Author

Looks that I didn't complain about ReturnMissingNullable removed in 2.4.0 that also lists only new checks, and not removed ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant