This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 163604 [details] Source code I'm not sure how easy this would be fixed, but Netbeans considers Lambda expressions to be executed immediately and thus gives a false positive of not null in the attached source code.