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 243699 - 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:
Depends on:
Blocks:
 
Reported: 2014-04-09 14:41 UTC by nvamelichev
Modified: 2015-09-10 01:29 UTC (History)
21 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 209023


Attachments
stacktrace (2.95 KB, text/plain)
2014-04-09 14:41 UTC, nvamelichev
Details
stacktrace (3.00 KB, text/plain)
2015-05-19 21:15 UTC, Vladimir Voskresensky
Details
stacktrace (3.31 KB, text/plain)
2015-05-22 06:03 UTC, _ tboudreau
Details
stacktrace (3.09 KB, text/plain)
2015-05-27 03:40 UTC, _ tboudreau
Details
stacktrace (1.99 KB, text/plain)
2015-06-05 13:44 UTC, Jiri Kovalsky
Details
stacktrace (5.42 KB, text/plain)
2015-06-08 09:17 UTC, Alexander Simon
Details
stacktrace (2.74 KB, text/plain)
2015-06-12 08:43 UTC, Vladimir Riha
Details
stacktrace (2.67 KB, text/plain)
2015-06-24 13:02 UTC, Martin Fousek
Details
stacktrace (6.07 KB, text/plain)
2015-06-29 07:03 UTC, ehsavoie
Details
stacktrace (6.46 KB, text/plain)
2015-07-14 14:14 UTC, Alexander Simon
Details
stacktrace (1.99 KB, text/plain)
2015-07-29 20:14 UTC, Michel Graciano
Details
stacktrace (3.92 KB, text/plain)
2015-08-12 15:45 UTC, Jesse Glick
Details
stacktrace (3.00 KB, text/plain)
2015-08-16 14:10 UTC, homberghp
Details
stacktrace (3.91 KB, text/plain)
2015-08-19 10:49 UTC, Vladimir Voskresensky
Details
stacktrace (3.84 KB, text/plain)
2015-08-19 16:55 UTC, Vladimir Voskresensky
Details
stacktrace (2.36 KB, text/plain)
2015-08-28 09:47 UTC, Alexander Simon
Details
stacktrace (2.56 KB, text/plain)
2015-08-31 06:45 UTC, Martin Fousek
Details
stacktrace (3.09 KB, text/plain)
2015-09-03 12:45 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nvamelichev 2014-04-09 14:41:01 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: OpenJDK 64-Bit Server VM, 24.45-b08, OpenJDK Runtime Environment, 1.7.0_51-b00
OS: Linux

User Comments:
nvamelichev: Java code editing




Stacktrace: 
java.lang.AssertionError
   at com.sun.tools.javac.util.Assert.error(Assert.java:126)
   at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:61)
   at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1171)
   at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1120)
   at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:479)
   at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:448)
Comment 1 nvamelichev 2014-04-09 14:41:03 UTC
Created attachment 146652 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2015-05-19 21:15:26 UTC
Created attachment 153758 [details]
stacktrace

modify code during scanning progress
Comment 3 _ tboudreau 2015-05-22 06:03:38 UTC
Created attachment 153802 [details]
stacktrace

Switched editor tabs
Comment 4 _ tboudreau 2015-05-27 03:40:20 UTC
Created attachment 153887 [details]
stacktrace

Pasting into an annotation
Comment 5 Jiri Kovalsky 2015-06-05 13:44:27 UTC
Created attachment 154071 [details]
stacktrace

I was editing debugger.jpda.ui/test/qa-functional/src/org/netbeans/modules/debugger/jpda/ui/AntSanityTest.java. With Ctrl key pressed I clicked Utilities.variablesViewTitle to quickly navigate to the variable. I just selected its assigned value i.e. Bundle.getStringTrimmed("org.netbeans.modules.debugger.ui.views.Bundle", "CTL_Variables_view") and this AssertionError was thrown.
Comment 6 Alexander Simon 2015-06-08 09:17:40 UTC
Created attachment 154097 [details]
stacktrace

create constructor
Comment 7 Vladimir Riha 2015-06-12 08:43:10 UTC
Created attachment 154179 [details]
stacktrace

copy pasting code in Java editor
Comment 8 Exceptions Reporter 2015-06-12 08:43:16 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=209023
Comment 9 Martin Fousek 2015-06-24 13:02:20 UTC
Created attachment 154378 [details]
stacktrace

ctrl click on some Class
Comment 10 ehsavoie 2015-06-29 07:03:25 UTC
Created attachment 154419 [details]
stacktrace

Starting netbeans
Comment 11 Alexander Simon 2015-07-14 14:14:26 UTC
Created attachment 154616 [details]
stacktrace

set breakpoint
Comment 12 Michel Graciano 2015-07-29 20:14:54 UTC
Created attachment 155024 [details]
stacktrace

Just editing some test classes
Comment 13 Jesse Glick 2015-08-12 15:45:28 UTC
Created attachment 155301 [details]
stacktrace

Trying to implement abstract methods.
Comment 14 homberghp 2015-08-16 14:10:04 UTC
Created attachment 155372 [details]
stacktrace

Trying code inspection on project. applied refactor.
Comment 15 Vladimir Voskresensky 2015-08-19 10:49:26 UTC
Created attachment 155448 [details]
stacktrace

open file
Comment 16 Vladimir Voskresensky 2015-08-19 16:55:29 UTC
Created attachment 155461 [details]
stacktrace

updated files from command line, then switched to the IDE
Comment 17 Alexander Simon 2015-08-28 09:47:54 UTC
Created attachment 155714 [details]
stacktrace

edit code
Comment 18 Alexander Simon 2015-08-28 09:58:50 UTC
40 reports => P2
Comment 19 Martin Fousek 2015-08-31 06:45:15 UTC
Created attachment 155765 [details]
stacktrace

unbuilded MVN project
Comment 20 Sergey Petrov 2015-09-03 12:45:32 UTC
Created attachment 155858 [details]
stacktrace

copy paste the same code into few classes, 
exception is thrown after paster into 2nd, 3rd etc class and press 'ok' in 'Import classes' dialog
Comment 22 Quality Engineering 2015-09-10 01:29:00 UTC
Integrated into 'main-silver', will be available in build *201509100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/64c05ad29ebb
User: Dusan Balek <dbalek@netbeans.org>
Log: Issues #243699 and #254646 fixed.