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 - AssertionError at at com.sun.tools.javac.comp.Check.checkFlags(Check.java:634)
Summary: AssertionError at at com.sun.tools.javac.comp.Check.checkFlags(Check.java:634)
Status: RESOLVED DUPLICATE of bug 144176
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL: http://statistics.netbeans.org/except...
Keywords:
: 121201 123026 123888 130103 141823 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-19 03:50 UTC by nleck
Modified: 2008-08-28 14:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 1231


Attachments
stacktrace (3.85 KB, text/plain)
2008-07-29 10:30 UTC, goeh
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***