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

Summary: NullPointerException at com.sun.tools.javac.comp.Attr.check
Product: java Reporter: ksrini
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: aldobrucale, Geoff_C, JTD, Morons, wshackle, ystmio
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 224689
Attachments: stacktrace
stacktrace
stacktrace
stacktrace

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