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 257600

Summary: AssertionError at com.sun.tools.javac.util.Assert.error
Product: java Reporter: mps77 <mps77>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: ilia
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222157
Attachments: stacktrace

Description mps77 2016-01-16 18:51:54 UTC
Build: NetBeans IDE Dev (Build 201601070002)
VM: Java HotSpot(TM) Client VM, 25.72-b05, Java(TM) SE Runtime Environment, 1.8.0_72-ea-b05
OS: Windows 7

User Comments:
mps77: alt+enter on missing static method invocation




Stacktrace: 
java.lang.AssertionError
   at com.sun.tools.javac.util.Assert.error(Assert.java:155)
   at com.sun.tools.javac.util.Assert.check(Assert.java:46)
   at com.sun.tools.javac.api.JavacTrees.getAttrContext(JavacTrees.java:933)
   at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:794)
   at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:156)
   at org.netbeans.modules.java.hints.jdk.ConvertToLambdaPreconditionChecker.getScopeFromTree(ConvertToLambdaPreconditionChecker.java:690)
Comment 1 mps77 2016-01-16 18:51:56 UTC
Created attachment 158155 [details]
stacktrace