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 - AssertionError at com.sun.tools.javac.util.Assert.error
Summary: AssertionError at com.sun.tools.javac.util.Assert.error
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-01-16 18:51 UTC by mps77
Modified: 2017-04-17 17:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 222157


Attachments
stacktrace (3.90 KB, text/plain)
2016-01-16 18:51 UTC, mps77
Details

Note You need to log in before you can comment on or make changes to this bug.
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