mbien commented on issue #6822:
URL: https://github.com/apache/netbeans/issues/6822#issuecomment-1849511775
@luvunix if you would manage to create a small reproducer for this exception
- that would be great. We might have to file this against OpenJDK.
exception from the log for copy/paste convenience:
```
Caused: java.lang.AssertionError: Unexpected tree: (ERROR) ? (ERROR) > entry
: (ERROR) with kind: CONDITIONAL_EXPRESSION within: (ERROR) ? (ERROR) > entry :
(ERROR) with kind: CONDITIONAL_EXPRESSION
at com.sun.tools.javac.util.Assert.error(Assert.java:162)
at
com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.validateAnnotatedType(Attr.java:5918)
at
com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.visitVarDef(Attr.java:5764)
at
com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:1022)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:50)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:58)
at
com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.visitMethodDef(Attr.java:5754)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:916)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:50)
at
com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.visitClassDef(Attr.java:5817)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:814)
at com.sun.tools.javac.comp.Attr.validateTypeAnnotations(Attr.java:5714)
at
com.sun.tools.javac.code.TypeAnnotations.lambda$validateTypeAnnotationsSignatures$1(TypeAnnotations.java:144)
at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:200)
at
com.sun.tools.javac.comp.Annotate.unblockAnnotations(Annotate.java:144)
at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:157)
at
com.sun.tools.javac.main.JavaCompiler.enterDone(JavaCompiler.java:1820)
at
com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1074)
at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:345)
at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:282)
at
org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:748)
at
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:541)
at
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:142)
at
org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
at
org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:241)
at
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:288)
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:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1420)
at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2035)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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