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.

Bug 271310 - NullPointerException at com.sun.tools.javac.comp.Attr.enclosingInitEnv
Summary: NullPointerException at com.sun.tools.javac.comp.Attr.enclosingInitEnv
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-16 13:53 UTC by Alexander Simon
Modified: 2017-09-24 02:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 228648


Attachments
stacktrace (5.90 KB, text/plain)
2017-08-16 13:53 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2017-08-16 13:53:19 UTC
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)
Comment 1 Alexander Simon 2017-08-16 13:53:22 UTC
Created attachment 164962 [details]
stacktrace
Comment 3 Quality Engineering 2017-09-24 02:38:35 UTC
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.