Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
10.0
-
None
-
Netbeans 10.0-vc1
Description
Often when I hit ctrl-spaceĀ I get this exception:
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.fromAnnotations(Annotate.java:167) at com.sun.tools.javac.comp.Annotate.lambda$annotateTypeSecondStage$5(Annotate.java:1031) at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:194) at com.sun.tools.javac.comp.Annotate.unblockAnnotations(Annotate.java:144) at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1173) at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736) at com.sun.tools.javac.comp.Attr.visitForeachLoop(Attr.java:1402) at com.sun.tools.javac.tree.JCTree$JCEnhancedForLoop.accept(JCTree.java:1166) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736) at org.netbeans.modules.java.hints.spiimpl.Utilities.attributeTree(Utilities.java:651) at org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:430) at org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:344) at org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:324) at org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:320) at org.netbeans.modules.java.hints.spiimpl.pm.PatternCompiler.compile(PatternCompiler.java:44) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:535) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeSuggestions(HintsInvoker.java:450) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:221) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166) at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128) at org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114) at org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65) at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273) at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702) [catch] at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
When the exception appears, subsequent attempts fail with the same exception.