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 237945

Summary: AssertionError at com.sun.tools.javac.util.Assert.error
Product: java Reporter: Exceptions Reporter <exceptions_reporter>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 205016
Attachments: stacktrace

Description Exceptions Reporter 2013-11-04 12:11:44 UTC
This bug was originally marked as duplicate of bug 233909, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
GUEST: for template to generate a for each code.




Stacktrace: 
java.lang.AssertionError
   at com.sun.tools.javac.util.Assert.error(Assert.java:126)
   at com.sun.tools.javac.util.Assert.check(Assert.java:45)
   at com.sun.tools.javac.code.Scope.leave(Scope.java:151)
   at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1161)
   at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:82)
   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)
Comment 1 Exceptions Reporter 2013-11-04 12:11:47 UTC
Created attachment 141823 [details]
stacktrace
Comment 2 Martin Balin 2016-07-07 07:17:44 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss