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.
This issue I had for a long time with netbeans when developing with JPA criteria builder. Sometimes even though a valid type argument binding exits, netbeans does not recognize it. The following code I have created to distill the problem compiles with javac, but shows errors in the Java editor: https://gist.github.com/fkaempfer/4cbb09b2d47d025cbd67931f99610bba I hope this helps you find the problem.
I'm using java version "1.8.0_102" with netbeans dev.
While this bug was still present in netbeans 8.2, it seems to be resolved in the nightly snapshot (201611170001)
I agree with the assesment of fkaempfer. The false positives made me consider going back to 8.1. I now use the nightly 201611210001 and currently it looks good.
Already fixed in jet-main.
I'm on the nightly and projects that are reported broken on 8.2 work correctly on the nightly build.