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 233909

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

Description Exceptions Reporter 2013-08-04 07:56:23 UTC
This bug was originally marked as duplicate of bug 204791, 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 Beta (Build 201307092200)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b42, Java(TM) SE Runtime Environment, 1.8.0-ea-b100
OS: Linux

User Comments:
GUEST: I was editing java code for a project build using Maven




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:1165)
   at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:82)
   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:907)
Comment 1 Exceptions Reporter 2013-08-04 07:56:24 UTC
Created attachment 138245 [details]
stacktrace
Comment 2 sreimers 2013-08-04 14:17:09 UTC
Created attachment 138252 [details]
stacktrace

Editing Java Code
Comment 3 Dusan Balek 2013-08-14 14:48:06 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/40b91b99cde6