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 236343

Summary: AssertionError at com.sun.tools.javac.util.Assert.error
Product: java Reporter: Brutus1964
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: barmeier, Bmeist, Brutus1964, derekberube, emiddio, harsh91, Intz, JamesGituma, jyeary, KevinAnderson, ksrini, luis.boch, MAbdurrahman, mayankjain, mostafa_qado, soladnet, ThisIsMe, wildrower
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: DEFECT Exception Reporter: 204120
Attachments: stacktrace
stacktrace
stacktrace

Description Brutus1964 2013-09-25 01:42:45 UTC
This bug was originally marked as duplicate of bug 226509, 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) Client VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Windows 7

User Comments:
Brutus1964: Assertion failure.




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.comp.Attr.attribIdentAsEnumType(Attr.java:853)
   at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:809)
   at com.sun.tools.javadoc.JavadocMemberEnter.visitVarDef(JavadocMemberEnter.java:85)
   at org.netbeans.lib.nbjavac.services.NBJavadocMemberEnter.visitVarDef(NBJavadocMemberEnter.java:90)
Comment 1 Brutus1964 2013-09-25 01:42:47 UTC
Created attachment 140433 [details]
stacktrace
Comment 2 Exceptions Reporter 2013-11-25 18:43:01 UTC
Created attachment 142562 [details]
stacktrace

Open up the IDE, save any one line of code in a Java6 application. Exception is raised.
Comment 3 jyeary 2016-10-03 16:49:14 UTC
Created attachment 162317 [details]
stacktrace

Opened a freeform project in NB.