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 258301

Summary: NullPointerException at com.sun.tools.javac.comp.Analyzer$LambdaAnalyzer.match
Product: java Reporter: abien <abien>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222054
Attachments: stacktrace

Description abien 2016-03-10 09:35:44 UTC
Build: NetBeans IDE Dev (Build 201602280002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.73-b02, Java(TM) SE Runtime Environment, 1.8.0_73-b02
OS: Mac OS X

User Comments:
GUEST: ?

abien: Lambda code completion




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.Analyzer$LambdaAnalyzer.match(Analyzer.java:274)
   at com.sun.tools.javac.comp.Analyzer$LambdaAnalyzer.match(Analyzer.java:264)
   at com.sun.tools.javac.comp.Analyzer$StatementScanner.scan(Analyzer.java:440)
   at com.sun.tools.javac.tree.TreeScanner.visitVarDef(TreeScanner.java:101)
   at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:926)
   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
Comment 1 abien 2016-03-10 09:35:46 UTC
Created attachment 158802 [details]
stacktrace