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

NP_NONNULL_PARAM_VIOLATION false-positive #484

Closed
boris-petrov opened this issue Oct 30, 2017 · 4 comments
Closed

NP_NONNULL_PARAM_VIOLATION false-positive #484

boris-petrov opened this issue Oct 30, 2017 · 4 comments
Assignees
Labels

Comments

@boris-petrov
Copy link

boris-petrov commented Oct 30, 2017

I just hit this, Googled and found:

https://sourceforge.net/p/findbugs/bugs/1403/

I have the same issue - future.complete(null) is giving a NP_NONNULL_PARAM_VIOLATION while it shouldn't.

P.S. SpotBugs 3.1.0.

@iloveeclipse
Copy link
Member

Hi all, may be I'm wrong, but I don't see commits on the master. Was this only fixed on 3.1.0 branch? We should apply it to 4.0 too.

@iloveeclipse
Copy link
Member

Arrgh, there is no way to put the issue to two milestones? OMG.

iloveeclipse added a commit to iloveeclipse/spotbugs that referenced this issue Jan 5, 2018
@varunnvs92
Copy link

Which version of maven plugin contains this fix?

@mikaelstaldal
Copy link
Contributor

Same issue with CompletableFuture.completedStage()

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

No branches or pull requests

5 participants