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 202152 - AssertionError at com.sun.tools.javac.util.Assert.error
Summary: AssertionError at com.sun.tools.javac.util.Assert.error
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 223574 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-15 01:53 UTC by dwuysan
Modified: 2012-12-13 02:38 UTC (History)
39 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181156


Attachments
stacktrace (4.96 KB, text/plain)
2011-09-15 01:53 UTC, dwuysan
Details
stacktrace (1.68 KB, text/plain)
2011-10-18 08:17 UTC, aldobrucale
Details
stacktrace (1.69 KB, text/plain)
2011-11-03 12:09 UTC, aldobrucale
Details
stacktrace (1.71 KB, text/plain)
2011-12-08 16:13 UTC, mgoe
Details
stacktrace (1.68 KB, text/plain)
2011-12-27 22:57 UTC, boxunbox
Details
stacktrace (1.69 KB, text/plain)
2012-05-18 09:33 UTC, aldobrucale
Details
stacktrace (1.78 KB, text/plain)
2012-09-12 19:38 UTC, alied
Details
stacktrace (1.79 KB, text/plain)
2012-09-26 15:17 UTC, alied
Details
stacktrace (1.74 KB, text/plain)
2012-10-18 04:44 UTC, misterm
Details
stacktrace (3.63 KB, text/plain)
2012-10-29 09:00 UTC, Egor Ushakov
Details
stacktrace (3.38 KB, text/plain)
2012-10-31 08:56 UTC, markiewb
Details
stacktrace (3.25 KB, text/plain)
2012-11-01 09:44 UTC, Antonin Nebuzelsky
Details
stacktrace (3.77 KB, text/plain)
2012-11-06 14:17 UTC, dheffelfinger
Details
stacktrace (3.63 KB, text/plain)
2012-11-08 10:19 UTC, Ralph Ruijs
Details
stacktrace (3.38 KB, text/plain)
2012-11-08 13:10 UTC, David Strupl
Details
stacktrace (3.25 KB, text/plain)
2012-11-13 06:05 UTC, Alexander Simon
Details
stacktrace (3.63 KB, text/plain)
2012-11-13 13:20 UTC, tim_sa
Details
stacktrace (3.63 KB, text/plain)
2012-11-13 13:23 UTC, tim_sa
Details
stacktrace (3.63 KB, text/plain)
2012-11-13 13:26 UTC, tim_sa
Details
stacktrace (3.38 KB, text/plain)
2012-11-20 16:01 UTC, Petr Cyhelsky
Details
stacktrace (3.63 KB, text/plain)
2012-11-21 14:46 UTC, Jan Becicka
Details
stacktrace (3.63 KB, text/plain)
2012-11-27 00:38 UTC, David Konecny
Details
stacktrace (3.77 KB, text/plain)
2012-11-27 12:08 UTC, Petr Cyhelsky
Details
stacktrace (3.50 KB, text/plain)
2012-11-27 21:14 UTC, Egor Ushakov
Details
stacktrace (3.63 KB, text/plain)
2012-11-28 23:26 UTC, Egor Ushakov
Details
stacktrace (3.25 KB, text/plain)
2012-12-06 22:49 UTC, javydreamercsw
Details
stacktrace (3.63 KB, text/plain)
2012-12-07 08:28 UTC, Marian Mirilovic
Details
stacktrace (3.25 KB, text/plain)
2012-12-10 07:46 UTC, Alexander Simon
Details
stacktrace (3.25 KB, text/plain)
2012-12-11 09:49 UTC, Milos Kleint
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dwuysan 2011-09-15 01:53:19 UTC
Build: NetBeans IDE 7.0.1 (Build 201107282000)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07
OS: Linux

User Comments:
dwuysan: moving inner interface to outer




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.main.JavaCompiler.processAnnotations(JavaCompiler.java:1193)
   at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1079)
   at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:467)
   at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:436)
Comment 1 dwuysan 2011-09-15 01:53:23 UTC
Created attachment 110767 [details]
stacktrace
Comment 2 Dusan Balek 2011-09-15 09:09:00 UTC
Hard to fix without a reproducible test case. Are yo able to reproduce the problem? If so, could you please create a simple test case and attach it to the issue? Thanks.
Comment 3 aldobrucale 2011-10-18 08:17:48 UTC
Created attachment 112160 [details]
stacktrace

Clicked on a node in the "Usages" window
Comment 4 aldobrucale 2011-11-03 12:09:24 UTC
Created attachment 112772 [details]
stacktrace

clicked on a node in usages window
Comment 5 mgoe 2011-12-08 16:13:03 UTC
Created attachment 113966 [details]
stacktrace
Comment 6 boxunbox 2011-12-27 22:57:07 UTC
Created attachment 114496 [details]
stacktrace

Trying to force a refactoring deletion
Comment 7 aldobrucale 2012-05-18 09:33:08 UTC
Created attachment 119609 [details]
stacktrace

I was safely deleting a java method, the exception was notified after I double-clicked one of the results in the usages tab
Comment 8 alied 2012-09-12 19:38:12 UTC
Created attachment 124272 [details]
stacktrace

Did a rename (Ctrl+R) on a public static final String field
Comment 9 alied 2012-09-26 15:17:09 UTC
Created attachment 124954 [details]
stacktrace

after doing Rename (Ctrl+R) in a usage of a constant.
Comment 10 misterm 2012-10-18 04:44:17 UTC
Created attachment 126121 [details]
stacktrace
Comment 11 Egor Ushakov 2012-10-29 09:00:11 UTC
Created attachment 126699 [details]
stacktrace
Comment 12 markiewb 2012-10-31 08:56:07 UTC
Created attachment 126831 [details]
stacktrace

Opened plugins dialog
Comment 13 Antonin Nebuzelsky 2012-11-01 09:44:06 UTC
Created attachment 126908 [details]
stacktrace

I was not doing anything in NetBeans, it was just running since yesterday, with a bunch of NB projects open from my checkout. I was updating that checkout on command line (hg pull -u). A bit later this exception was raised.
Comment 14 dheffelfinger 2012-11-06 14:17:10 UTC
Created attachment 127230 [details]
stacktrace
Comment 15 Ralph Ruijs 2012-11-08 10:19:28 UTC
Created attachment 127377 [details]
stacktrace
Comment 16 David Strupl 2012-11-08 13:10:34 UTC
Created attachment 127396 [details]
stacktrace

I was examining the IDE log while on backgound a build was running on the sources which I have in the projects opened in the IDE. No editor was opened at the time.
Comment 17 Alexander Simon 2012-11-13 06:05:31 UTC
Created attachment 127677 [details]
stacktrace
Comment 18 tim_sa 2012-11-13 13:20:32 UTC
Created attachment 127717 [details]
stacktrace

deleted some code
Comment 19 tim_sa 2012-11-13 13:23:32 UTC
Created attachment 127718 [details]
stacktrace
Comment 20 tim_sa 2012-11-13 13:26:31 UTC
Created attachment 127719 [details]
stacktrace
Comment 21 Petr Cyhelsky 2012-11-20 16:01:39 UTC
Created attachment 128150 [details]
stacktrace
Comment 22 Jan Becicka 2012-11-21 14:46:38 UTC
Created attachment 128214 [details]
stacktrace
Comment 23 David Konecny 2012-11-27 00:38:25 UTC
Created attachment 128426 [details]
stacktrace

recompling a project
Comment 24 Petr Cyhelsky 2012-11-27 12:08:26 UTC
Created attachment 128449 [details]
stacktrace
Comment 25 Egor Ushakov 2012-11-27 21:14:28 UTC
Created attachment 128482 [details]
stacktrace
Comment 26 Egor Ushakov 2012-11-28 23:26:31 UTC
Created attachment 128543 [details]
stacktrace
Comment 27 David Konecny 2012-11-28 23:52:05 UTC
This has been happening a lot recently. I've seen it about five times over last few days. Happens completely randomly but I will keep an eye on some reproducible case.
Comment 28 David Konecny 2012-11-29 21:12:25 UTC
Today the exception happened as a result of "hg fetch" from the command line. IDE was minimized and not used.
Comment 29 javydreamercsw 2012-12-06 22:49:55 UTC
Created attachment 129012 [details]
stacktrace

Running NetBeans application and working in editor.
Comment 30 Marian Mirilovic 2012-12-07 08:28:54 UTC
Created attachment 129030 [details]
stacktrace

building refactoring.java project from the IDE
Comment 31 Marian Mirilovic 2012-12-07 08:35:04 UTC
88 duplicates ... majority from 7.3
Comment 32 Dusan Balek 2012-12-07 18:27:26 UTC
Additional diagnostics.

http://hg.netbeans.org/jet-main/rev/d7f0e3d676fc
Comment 33 Alexander Simon 2012-12-10 07:46:57 UTC
Created attachment 129130 [details]
stacktrace
Comment 34 Dusan Balek 2012-12-10 09:23:57 UTC
*** Bug 223574 has been marked as a duplicate of this bug. ***
Comment 35 Quality Engineering 2012-12-11 03:01:38 UTC
Integrated into 'main-golden', will be available in build *201212110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d7f0e3d676fc
User: Dusan Balek <dbalek@netbeans.org>
Log: Additional diagnostics (see issue #202152).
Comment 36 Milos Kleint 2012-12-11 09:49:58 UTC
Created attachment 129196 [details]
stacktrace
Comment 38 Quality Engineering 2012-12-13 02:38:13 UTC
Integrated into 'main-golden', will be available in build *201212130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/61c0b42819f5
User: Dusan Balek <dbalek@netbeans.org>
Log: Issues #202152 and #223641 fixed.