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 257758 - AssertionError at com.sun.tools.javac.util.Assert.error
Summary: AssertionError at com.sun.tools.javac.util.Assert.error
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-29 11:57 UTC by muellermi
Modified: 2017-04-10 12:58 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 222295


Attachments
stacktrace (3.44 KB, text/plain)
2016-01-29 11:57 UTC, muellermi
Details
stacktrace (3.30 KB, text/plain)
2016-05-24 15:00 UTC, aschild
Details
stacktrace (7.53 KB, text/plain)
2016-07-19 15:01 UTC, _ gtzabari
Details
stacktrace (3.30 KB, text/plain)
2016-10-13 06:49 UTC, Andrew Krasny
Details
stacktrace (3.88 KB, text/plain)
2017-03-15 12:27 UTC, muellermi
Details
stacktrace (8.28 KB, text/plain)
2017-03-15 12:33 UTC, muellermi
Details
stacktrace (7.81 KB, text/plain)
2017-04-10 12:58 UTC, bolsover
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2016-01-29 11:57:58 UTC
Build: NetBeans IDE Dev (Build 201601260002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.72-b15, Java(TM) SE Runtime Environment, 1.8.0_72-b15
OS: Windows 7

User Comments:
muellermi: typing in editor




Stacktrace: 
java.lang.AssertionError
   at com.sun.tools.javac.util.Assert.error(Assert.java:155)
   at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62)
   at com.sun.tools.javac.comp.Annotate.queueScanTreeAndTypeAnnotate(Annotate.java:994)
   at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1119)
   at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:926)
   at com.sun.tools.javac.comp.Attr$ResultInfo.attr(Attr.java:494)
Comment 1 muellermi 2016-01-29 11:57:59 UTC
Created attachment 158285 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-03-15 02:56:25 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=222295
Comment 3 aschild 2016-05-24 15:00:48 UTC
Created attachment 159862 [details]
stacktrace

Autocomplete method
Comment 4 _ gtzabari 2016-07-19 15:01:01 UTC
Created attachment 160565 [details]
stacktrace

Not sure what I did.
Comment 5 Andrew Krasny 2016-10-13 06:49:30 UTC
Created attachment 162483 [details]
stacktrace

Editing a java code.

public final class MyClass {
    private static final ScheduledExecutorService executor = Executors.newSingleThreadScheduledExecutor(new ThreadFactory() {
        @Override
        public Thread newThread(Runnable r) {
            Thread t = new Thread("T");
            t.s|<cursor here>
        }
    });
Comment 6 muellermi 2017-03-15 12:27:39 UTC
Created attachment 163845 [details]
stacktrace

edit Java
Comment 7 muellermi 2017-03-15 12:33:40 UTC
Created attachment 163847 [details]
stacktrace

try to invoke bulb hint
Comment 8 bolsover 2017-04-10 12:58:12 UTC
Created attachment 164065 [details]
stacktrace

opening project