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 267451 - NullPointerException at com.sun.tools.javac.comp.Attr.check
Summary: NullPointerException at com.sun.tools.javac.comp.Attr.check
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-05 15:52 UTC by ksrini
Modified: 2017-10-31 21:45 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 224689


Attachments
stacktrace (19.02 KB, text/plain)
2016-08-05 15:52 UTC, ksrini
Details
stacktrace (3.92 KB, text/plain)
2017-01-20 17:08 UTC, aldobrucale
Details
stacktrace (5.80 KB, text/plain)
2017-02-02 13:51 UTC, wshackle
Details
stacktrace (5.48 KB, text/plain)
2017-02-06 22:48 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ksrini 2016-08-05 15:52:44 UTC
Build: NetBeans IDE Dev (Build 201606150002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b01, Java(TM) SE Runtime Environment, 1.8.0_45-b06
OS: SunOS

User Comments:
ksrini: Was trying to refactor/rename a local variable.

JTD: Pasted the following line of code in source file:

FemaleNoTobacco10yrGt250kHashMap

Geoff_C: Pasting a classname into some existing code




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.Attr.check(Attr.java:231)
   at com.sun.tools.javac.comp.Attr.visitLambda(Attr.java:2610)
   at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1777)
   at com.sun.tools.javac.comp.Attr$ResultInfo.attr(Attr.java:494)
   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:635)
   at com.sun.tools.javac.comp.Attr.visitLambda(Attr.java:2621)
Comment 1 ksrini 2016-08-05 15:52:46 UTC
Created attachment 161573 [details]
stacktrace
Comment 2 aldobrucale 2017-01-20 17:08:41 UTC
Created attachment 163444 [details]
stacktrace

editing a java file
Comment 3 Exceptions Reporter 2017-01-20 17:08:47 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=224689
Comment 4 wshackle 2017-02-02 13:51:22 UTC
Created attachment 163549 [details]
stacktrace

editing java code
Comment 5 Exceptions Reporter 2017-02-06 22:48:23 UTC
Created attachment 163586 [details]
stacktrace

just making a java bean