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 20170814-565f969f22d0) VM: Java HotSpot(TM) 64-Bit Server VM, 25.131-b11, Java(TM) SE Runtime Environment, 1.8.0_131-b11 OS: SunOS User Comments: alexvsimon: edit class GUEST: I was coding. ebodalekan: Developing a network server with java NIO, Executors, CompletableFuture and Lambda Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.Attr.enclosingInitEnv(Attr.java:4108) at com.sun.tools.javac.comp.Attr.checkInit(Attr.java:4077) at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:3605) at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2243) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:658) at com.sun.tools.javac.comp.Attr.visitErroneous(Attr.java:4543)
Created attachment 164962 [details] stacktrace
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/19d2c69d935e http://hg.netbeans.org/main/nb-javac/rev/9b58471932b6
Integrated into 'main-silver', will be available in build *201709240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/19d2c69d935e User: Dusan Balek <dbalek@netbeans.org> Log: Issues #256966, #270308, and #271310 fixed.