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 239657 - 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: 8.0
Hardware: All All
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords: 8.1_WAIVER_APPROVED
: 248720 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-19 12:49 UTC by Martin Kozeny
Modified: 2016-06-29 11:19 UTC (History)
24 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206143


Attachments
stacktrace (3.99 KB, text/plain)
2013-12-19 12:49 UTC, Martin Kozeny
Details
stacktrace (3.88 KB, text/plain)
2014-01-02 18:36 UTC, host
Details
stacktrace (4.58 KB, text/plain)
2014-01-21 12:03 UTC, aldobrucale
Details
stacktrace (4.58 KB, text/plain)
2014-01-24 11:58 UTC, aldobrucale
Details
stacktrace (3.99 KB, text/plain)
2014-01-27 12:28 UTC, palman
Details
stacktrace (3.86 KB, text/plain)
2014-01-28 09:31 UTC, Alexander Simon
Details
stacktrace (4.58 KB, text/plain)
2014-01-29 12:40 UTC, aldobrucale
Details
stacktrace (3.86 KB, text/plain)
2014-02-13 16:19 UTC, Alexander Simon
Details
stacktrace (3.86 KB, text/plain)
2014-02-17 17:28 UTC, Alexander Simon
Details
stacktrace (3.99 KB, text/plain)
2014-02-25 17:14 UTC, skygo
Details
stacktrace (3.86 KB, text/plain)
2014-07-10 15:04 UTC, Vladimir Riha
Details
stacktrace (3.86 KB, text/plain)
2014-07-24 12:07 UTC, Jan Becicka
Details
stacktrace (3.99 KB, text/plain)
2015-01-26 15:39 UTC, javydreamercsw
Details
stacktrace (3.86 KB, text/plain)
2015-06-03 12:14 UTC, Egor Ushakov
Details
stacktrace (3.86 KB, text/plain)
2015-07-03 12:58 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Kozeny 2013-12-19 12:49:28 UTC
Build: NetBeans IDE Dev (Build 201312100002)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
mkozeny: When starting NetBeans this error occurs.




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.SymbolMetadata.setDeclarationAttributesWithCompletion(SymbolMetadata.java:161)
   at com.sun.tools.javac.code.Symbol.setDeclarationAttributesWithCompletion(Symbol.java:218)
   at com.sun.tools.javac.comp.MemberEnter.actualEnterAnnotations(MemberEnter.java:1190)
   at com.sun.tools.javac.comp.MemberEnter.access$700(MemberEnter.java:70)
Comment 1 Martin Kozeny 2013-12-19 12:49:30 UTC
Created attachment 143340 [details]
stacktrace
Comment 2 host 2014-01-02 18:36:37 UTC
Created attachment 143572 [details]
stacktrace

I was doing an inspect with all analyzers on a web project.
Comment 3 aldobrucale 2014-01-21 12:03:51 UTC
Created attachment 144193 [details]
stacktrace

inspect and transform
Comment 4 aldobrucale 2014-01-24 11:58:02 UTC
Created attachment 144332 [details]
stacktrace

inspect and transform -> convert to java 7 (several projects)
Comment 5 palman 2014-01-27 12:28:09 UTC
Created attachment 144406 [details]
stacktrace

Maven Project; while "clean & build"
Comment 6 Alexander Simon 2014-01-28 09:31:09 UTC
Created attachment 144456 [details]
stacktrace

build project
Comment 7 aldobrucale 2014-01-29 12:40:10 UTC
Created attachment 144530 [details]
stacktrace

inspect and transform (add @Override annotations)
Comment 8 Alexander Simon 2014-02-13 16:19:26 UTC
Created attachment 145158 [details]
stacktrace

build project in console
Comment 9 Alexander Simon 2014-02-17 17:28:29 UTC
Created attachment 145320 [details]
stacktrace

build project in terminal
Comment 10 skygo 2014-02-25 17:14:20 UTC
Created attachment 145576 [details]
stacktrace

lots of mavenized module open, compilation and extensive renamingin pom
Comment 11 Alexander Simon 2014-03-07 17:29:30 UTC
23 reports => P2
Comment 12 Dusan Balek 2014-03-28 08:17:54 UTC
Hard to fix without a reproducible test case. Could you please try to create a simple reproducible test case and attach it to the issue? Thanks.
Comment 13 Vladimir Riha 2014-07-10 15:04:17 UTC
Created attachment 147978 [details]
stacktrace

happened during building NetBeans
Comment 14 Jan Becicka 2014-07-24 12:07:42 UTC
Created attachment 148277 [details]
stacktrace

ant build-nozip is running on background. All editor windows closed.
Comment 15 Svata Dedic 2014-12-01 14:38:45 UTC
*** Bug 248720 has been marked as a duplicate of this bug. ***
Comment 16 javydreamercsw 2015-01-26 15:39:51 UTC
Created attachment 151685 [details]
stacktrace

Not sure when it was triggered.
Comment 17 Egor Ushakov 2015-06-03 12:14:15 UTC
Created attachment 154034 [details]
stacktrace

exception
Comment 18 Egor Ushakov 2015-07-03 12:58:26 UTC
Created attachment 154474 [details]
stacktrace

ex
Comment 19 Alexander Simon 2015-07-03 13:25:36 UTC
68 reports => P1
Comment 20 Antonin Nebuzelsky 2015-07-10 12:51:24 UTC
(In reply to Alexander Simon from comment #19)
> 68 reports => P1

68 reports over the period of 2 years => P2
Comment 21 Dusan Balek 2015-09-30 11:34:55 UTC
Hard to fix without a reproducible test case => 8.1_WAIVER_REQUEST
Comment 22 Jiri Kovalsky 2015-09-30 13:13:38 UTC
Bug waiver for 8.1 approved.
Comment 23 gszilagyi 2016-01-26 21:18:05 UTC
Maybe this helps: I had the same problem when two package-info files were present in the same package. (My build uses generated-sources, so it is actually possible)

As soon as I got rid of one of them the problem vanished.

hope this helps
Comment 24 Dusan Balek 2016-06-29 11:19:03 UTC
Fixed together with #257050.