Bug 237052 - NullPointerException at com.sun.tools.javac.util.ListBuffer.append
NullPointerException at com.sun.tools.javac.util.ListBuffer.append
Status: NEW
Product: java
Classification: Unclassified
Component: Compiler
All All
: P2 (vote)
: Dev
Assigned To: Dusan Balek
Depends on:
  Show dependency treegraph
Reported: 2013-10-11 23:58 UTC by jenjen
Modified: 2016-03-24 23:11 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT

stacktrace (2.60 KB, text/plain)
2013-10-11 23:58 UTC, jenjen
stacktrace (4.35 KB, text/plain)
2014-03-16 14:10 UTC, J Bachorik
stacktrace (3.50 KB, text/plain)
2014-10-17 21:58 UTC, Exceptions Reporter
stacktrace (7.28 KB, text/plain)
2016-03-17 21:11 UTC, theshadow27

Note You need to log in before you can comment on or make changes to this bug.
Description jenjen 2013-10-11 23:58:25 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-442-on-20130909)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_11-b21
OS: Windows 7

User Comments:
jenjen: Renamed class

   at com.sun.tools.javac.util.ListBuffer.append(ListBuffer.java:131)
   at com.sun.tools.javac.tree.TreeInfo.types(TreeInfo.java:756)
   at com.sun.tools.javac.comp.Attr.visitLambda(Attr.java:2403)
   at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1615)
   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:589)
   at com.sun.tools.javac.comp.Attr.visitLambda(Attr.java:2539)
Comment 1 jenjen 2013-10-11 23:58:27 UTC
Created attachment 141023 [details]
Comment 2 J Bachorik 2014-03-16 14:10:25 UTC
Created attachment 146052 [details]

opening openjdk project
Comment 3 Exceptions Reporter 2014-09-22 16:09:06 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=204527
Comment 4 Exceptions Reporter 2014-10-17 21:58:30 UTC
Created attachment 149966 [details]

No idea?
Comment 5 zmirc 2015-08-25 09:35:01 UTC
It just happened to me on NB DEV 201508230002.

That's what I did: 
I was in Projects left window, then I selected a Java file from my project, then CTRL+C to copy it, then I selected the package that contained that class, then CTRL+V to make a copy of the previously copied Java file, then this error appeared.

Stacktrace + messages.log here: http://statistics.netbeans.org/analytics/exception.do?id=790755
Comment 6 Exceptions Reporter 2015-12-10 09:28:16 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=204527
Comment 7 Dusan Balek 2016-01-05 13:50:07 UTC
Hard to fix without a reproducible test case. Any steps to reproduce would be welcome.
Comment 8 theshadow27 2016-03-17 21:11:28 UTC
Created attachment 158915 [details]

Code completion? "if (it."

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo