Aldo Brucale created NETBEANS-1577:
--------------------------------------
Summary: Assertion Error in Java autocompletion
Key: NETBEANS-1577
URL: https://issues.apache.org/jira/browse/NETBEANS-1577
Project: NetBeans
Issue Type: Bug
Components: java - Editor
Affects Versions: 10.0
Environment: Netbeans 10.0-vc1
Reporter: Aldo Brucale
Attachments: messages.log
Often when I hit ctrl-spaceĀ I get this exception:
{noformat}
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)
{noformat}
When the exception appears, subsequent attempts fail with the same exception.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists