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 122246

Summary: AssertionError at at com.sun.tools.javac.comp.Check.checkFlags(Check.java:634)
Product: java Reporter: nleck <nleck>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: gaxzero
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=1231
Issue Type: DEFECT Exception Reporter: 1231
Attachments: stacktrace

Description nleck 2007-11-19 03:50:50 UTC
Build: NetBeans IDE Dev (Build 200708091200)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105
OS: Windows XP, 5.1, x86
User comments: 
STACKTRACE: (first 10 lines)
java.lang.AssertionError
        at com.sun.tools.javac.comp.Check.checkFlags(Check.java:634)
        at com.sun.tools.javac.comp.Enter.visitClassDef(Enter.java:417)
        at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:579)
        at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:245)
        at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:259)
        at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:305)
        at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:444)
        at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:245)
        at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:259)
        at com.sun.tools.javac.comp.Enter.complete(Enter.java:532)
Comment 1 nleck 2007-11-19 03:51:41 UTC
This is happening very often and in 6.0RC1 

Is there a work around ? 
Comment 2 Jiri Prox 2007-11-19 09:31:53 UTC
Can you attach the file, where this exception occurs?
Thanks
Comment 3 nleck 2007-11-19 09:47:16 UTC
it happens when I do a CVS update I don't know which file it is. Our source repository has many types of files ( non
Java) If I knew which one it was I could remove it from the repository. 
Comment 4 Jiri Prox 2007-11-20 08:20:43 UTC
This was probably caused by java file. It should appear again once the appropriate file is reparsed. 
Comment 5 nleck 2007-11-20 09:55:08 UTC
I get this exception very constantly when doing a CVS update. Is there a way of telling which file the system is having
a problem with ? 
Comment 6 Dusan Balek 2007-11-29 08:48:11 UTC
*** Issue 123026 has been marked as a duplicate of this issue. ***
Comment 7 Dusan Balek 2007-12-13 08:49:06 UTC
*** Issue 123888 has been marked as a duplicate of this issue. ***
Comment 8 Jan Becicka 2008-01-31 15:50:57 UTC
*** Issue 121201 has been marked as a duplicate of this issue. ***
Comment 9 Jan Becicka 2008-03-14 10:38:28 UTC
*** Issue 130103 has been marked as a duplicate of this issue. ***
Comment 10 Jiri Prox 2008-04-11 00:53:10 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 11 Dusan Balek 2008-07-28 10:41:49 UTC
*** Issue 141823 has been marked as a duplicate of this issue. ***
Comment 12 goeh 2008-07-29 10:30:06 UTC
Build: NetBeans IDE Dev (Build 200807280848)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Windows XP, 5.1, x86

User Comments: 
Updated Grails project from SVN repository. Got exceptioon when update was finished.

Stacktrace: 
java.lang.AssertionError
        at com.sun.tools.javac.comp.Check.checkFlags(Check.java:655)
        at com.sun.tools.javac.comp.Enter.visitClassDef(Enter.java:475)
        at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:588)
        at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:281)
        at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:295)
        at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:343)
Comment 13 goeh 2008-07-29 10:30:17 UTC
Created attachment 65917 [details]
stacktrace
Comment 14 Jan Becicka 2008-08-28 14:41:50 UTC

*** This issue has been marked as a duplicate of 144176 ***