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

Summary: AssertionError at com.sun.tools.javac.util.Assert.error
Product: java Reporter: muellermi <muellermi>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: akrasny, aschild, bolsover, gtzabari, muellermi, wshackleAtGmail
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222295
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

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