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.
Build: NetBeans IDE Dev (Build NetBeans-911-on-20151204) VM: Java HotSpot(TM) 64-Bit Server VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17 OS: Mac OS X User Comments: tboudreau: Updated to a JDK-8 build of NetBeans; seeing classes with used imports the editor thinks are unused. Project uses Maven antlr task, FWIW. Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.Resolve.findType(Resolve.java:2058) at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:2125) at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:2352) at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:3493) at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2194) at com.sun.tools.javac.comp.Attr$ResultInfo.attr(Attr.java:494)
Created attachment 157676 [details] stacktrace
Created attachment 158123 [details] stacktrace git reset --hard in commandline that removed merge conflicts in a file. Switched back to the file in NetBeans.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=221525
Created attachment 158339 [details] stacktrace Typed ctrl+space after classname + dot. This is the sam place where report 808578 / bug 257610 happened
Created attachment 158451 [details] stacktrace editing java source
Created attachment 158460 [details] stacktrace debug IDE
Created attachment 158742 [details] stacktrace ctrl space to invoke autocompletion
*** Bug 257903 has been marked as a duplicate of this bug. ***
*** Bug 258003 has been marked as a duplicate of this bug. ***
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/db6e04800cea http://hg.netbeans.org/main/nb-javac/rev/16ddf2aeabdd
Integrated into 'main-silver', will be available in build *201603250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/db6e04800cea User: Dusan Balek <dbalek@netbeans.org> Log: Issue #256995 - NullPointerException at com.sun.tools.javac.comp.Resolve.findType - fixed.