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 254551

Summary: AssertionError: Unexpected tree: (activity activity)->(ERROR) with kind: LAMBDA_EXPRESSION within: (activity activity)->(ERROR) with kind: LAMBDA_EXPRESSION
Product: java Reporter: Exceptions Reporter <exceptions_reporter>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: decksoft
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 219316
Attachments: stacktrace

Description Exceptions Reporter 2015-08-20 11:22:59 UTC
This bug was originally marked as duplicate of bug 242108, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
GUEST: just trying to load a porject....




Stacktrace: 
java.lang.AssertionError: Unexpected tree: (activity activity)->(ERROR) with kind: LAMBDA_EXPRESSION within: (activity activity)->(ERROR) with kind: LAMBDA_EXPRESSION
   at com.sun.tools.javac.util.Assert.error(Assert.java:133)
   at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.validateAnnotatedType(Attr.java:4883)
   at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.visitVarDef(Attr.java:4723)
   at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:858)
   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
   at com.sun.tools.javac.tree.TreeScanner.visitForeachLoop(TreeScanner.java:126)
Comment 1 Exceptions Reporter 2015-08-20 11:23:03 UTC
Created attachment 155493 [details]
stacktrace