oracle / javavscode

Java platform support for Visual Studio Code for full featured Java development (edit-compile-debug & test cycle)
Apache License 2.0
229 stars 30 forks source link

Clean Workspace command failed #51

Open anthonyvdotbe opened 1 year ago

anthonyvdotbe commented 1 year ago

Logs:

[Error - 9:26:39 AM] Request textDocument/codeAction failed.
  Message: Internal error.
  Code: -32603 
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.lambda$consume$0(Server.java:295)
    at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.consume(Server.java:293)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
    at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:115)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
    ... 15 more
Caused by: java.lang.NullPointerException: Cannot read field "outer" because "env" is null
    at com.sun.tools.javac.api.JavacScope.create(JavacScope.java:60)
    at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:725)
    at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:157)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitIdentifier(ComputeImports.java:586)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitIdentifier(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2723)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:663)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:473)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2589)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:663)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:96)
    at com.sun.source.util.TreeScanner.visitLambdaExpression(TreeScanner.java:647)
    at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1997)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:664)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:473)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2589)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:663)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.visitReturn(TreeScanner.java:545)
    at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1736)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:272)
    at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1104)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:96)
    at com.sun.source.util.TreeScanner.visitTry(TreeScanner.java:436)
    at com.sun.tools.javac.tree.JCTree$JCTry.accept(JCTree.java:1479)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:272)
    at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1104)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethod(ComputeImports.java:718)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethod(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:948)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:96)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitClass(ComputeImports.java:696)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitClass(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:855)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:119)
    at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:152)
    at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:623)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports.doComputeCandidates(ComputeImports.java:237)
    at org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidatesEx(ComputeImports.java:207)
    at org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidatesEx(ComputeImports.java:165)
    at org.netbeans.modules.java.hints.errors.ImportClass.getCandidateFQNs(ImportClass.java:348)
    at org.netbeans.modules.java.hints.errors.ImportClass.run(ImportClass.java:185)
    at org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:123)
    at org.netbeans.modules.java.hints.infrastructure.JavaErrorProvider.lambda$convertFixes$3(JavaErrorProvider.java:182)
    at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:504)
    at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
    at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:132)
    at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:116)
    at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
    at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
    at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
    at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
    at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
    at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
    at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
    at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:83)
    at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:454)
    at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:425)
    at org.netbeans.modules.java.hints.infrastructure.JavaErrorProvider.convertFixes(JavaErrorProvider.java:180)
    at org.netbeans.modules.java.hints.infrastructure.JavaErrorProvider.lambda$convert2Diagnostic$2(JavaErrorProvider.java:161)
    at org.netbeans.modules.java.lsp.server.protocol.TextDocumentServiceImpl.codeAction(TextDocumentServiceImpl.java:948)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
    ... 17 more

WARNING [org.netbeans.modules.java.lsp.server.protocol.Server]: Error occurred during LSP message dispatch
java.lang.NullPointerException: Cannot read field "outer" because "env" is null
    at com.sun.tools.javac.api.JavacScope.create(JavacScope.java:60)
    at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:725)
    at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:157)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitIdentifier(ComputeImports.java:586)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitIdentifier(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2723)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:663)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:473)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2589)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:663)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:96)
    at com.sun.source.util.TreeScanner.visitLambdaExpression(TreeScanner.java:647)
    at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1997)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:664)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:473)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2589)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:663)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.visitReturn(TreeScanner.java:545)
    at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1736)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:272)
    at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1104)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:96)
    at com.sun.source.util.TreeScanner.visitTry(TreeScanner.java:436)
    at com.sun.tools.javac.tree.JCTree$JCTry.accept(JCTree.java:1479)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:272)
    at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1104)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethod(ComputeImports.java:718)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethod(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:948)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:96)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitClass(ComputeImports.java:696)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitClass(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:855)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:119)
    at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:152)
    at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:623)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports.doComputeCandidates(ComputeImports.java:237)
    at org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidatesEx(ComputeImports.java:207)
    at org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidatesEx(ComputeImports.java:165)
    at org.netbeans.modules.java.hints.errors.ImportClass.getCandidateFQNs(ImportClass.java:348)
    at org.netbeans.modules.java.hints.errors.ImportClass.run(ImportClass.java:185)
    at org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:123)
    at org.netbeans.modules.java.hints.infrastructure.JavaErrorProvider.lambda$convertFixes$3(JavaErrorProvider.java:182)
    at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:504)
    at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
    at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:132)
    at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:116)
    at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
    at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
    at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
    at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
    at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
    at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
    at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
    at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:83)
    at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:454)
    at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:425)
    at org.netbeans.modules.java.hints.infrastructure.JavaErrorProvider.convertFixes(JavaErrorProvider.java:180)
    at org.netbeans.modules.java.hints.infrastructure.JavaErrorProvider.lambda$convert2Diagnostic$2(JavaErrorProvider.java:161)
    at org.netbeans.modules.java.lsp.server.protocol.TextDocumentServiceImpl.codeAction(TextDocumentServiceImpl.java:948)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
Caused: java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:115)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
Caused: java.lang.RuntimeException
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
[catch] at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.lambda$consume$0(Server.java:295)
    at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.consume(Server.java:293)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
    at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.lang.Thread.run(Thread.java:1583)
java.lang.NullPointerException: Cannot read field "outer" because "env" is null
    at com.sun.tools.javac.api.JavacScope.create(JavacScope.java:60)
    at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:725)
    at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:157)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitIdentifier(ComputeImports.java:586)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitIdentifier(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2723)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:663)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:473)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2589)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:663)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:96)
    at com.sun.source.util.TreeScanner.visitLambdaExpression(TreeScanner.java:647)
    at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1997)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:664)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:473)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2589)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:663)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.visitReturn(TreeScanner.java:545)
    at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1736)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:272)
    at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1104)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:96)
    at com.sun.source.util.TreeScanner.visitTry(TreeScanner.java:436)
    at com.sun.tools.javac.tree.JCTree$JCTry.accept(JCTree.java:1479)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:272)
    at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1104)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethod(ComputeImports.java:718)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethod(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:948)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:96)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitClass(ComputeImports.java:696)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitClass(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:855)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:119)
    at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:152)
    at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:623)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports.doComputeCandidates(ComputeImports.java:237)
    at org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidatesEx(ComputeImports.java:207)
    at org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidatesEx(ComputeImports.java:165)
    at org.netbeans.modules.java.hints.errors.ImportClass.getCandidateFQNs(ImportClass.java:348)
    at org.netbeans.modules.java.hints.errors.ImportClass.run(ImportClass.java:185)
    at org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:123)
    at org.netbeans.modules.java.hints.infrastructure.JavaErrorProvider.lambda$convertFixes$3(JavaErrorProvider.java:182)
    at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:504)
    at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
    at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:132)
    at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:116)
    at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
    at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
    at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
    at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
    at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
    at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
    at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
    at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:83)
    at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:454)
    at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:425)
    at org.netbeans.modules.java.hints.infrastructure.JavaErrorProvider.convertFixes(JavaErrorProvider.java:180)
    at org.netbeans.modules.java.hints.infrastructure.JavaErrorProvider.lambda$convert2Diagnostic$2(JavaErrorProvider.java:161)
    at org.netbeans.modules.java.lsp.server.protocol.TextDocumentServiceImpl.codeAction(TextDocumentServiceImpl.java:948)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
Caused: java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:115)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
Caused: java.lang.RuntimeException
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
[catch] at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.lambda$consume$0(Server.java:295)
    at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.consume(Server.java:293)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
    at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
SEVERE [org.eclipse.lsp4j.jsonrpc.RemoteEndpoint]: Internal error: java.lang.reflect.InvocationTargetException
java.lang.NullPointerException: Cannot read field "outer" because "env" is null
    at com.sun.tools.javac.api.JavacScope.create(JavacScope.java:60)
    at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:725)
    at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:157)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitIdentifier(ComputeImports.java:586)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitIdentifier(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2723)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:663)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:473)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2589)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:663)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:96)
    at com.sun.source.util.TreeScanner.visitLambdaExpression(TreeScanner.java:647)
    at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1997)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:664)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:473)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2589)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:663)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.visitReturn(TreeScanner.java:545)
    at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1736)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:272)
    at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1104)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:96)
    at com.sun.source.util.TreeScanner.visitTry(TreeScanner.java:436)
    at com.sun.tools.javac.tree.JCTree$JCTry.accept(JCTree.java:1479)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:272)
    at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1104)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethod(ComputeImports.java:718)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethod(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:948)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:96)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitClass(ComputeImports.java:696)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitClass(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:855)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:119)
    at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:152)
    at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:623)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports.doComputeCandidates(ComputeImports.java:237)
    at org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidatesEx(ComputeImports.java:207)
    at org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidatesEx(ComputeImports.java:165)
    at org.netbeans.modules.java.hints.errors.ImportClass.getCandidateFQNs(ImportClass.java:348)
    at org.netbeans.modules.java.hints.errors.ImportClass.run(ImportClass.java:185)
    at org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:123)
    at org.netbeans.modules.java.hints.infrastructure.JavaErrorProvider.lambda$convertFixes$3(JavaErrorProvider.java:182)
    at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:504)
    at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
    at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:132)
    at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:116)
    at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
    at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
    at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
    at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
    at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
    at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
    at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
    at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:83)
    at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:454)
    at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:425)
    at org.netbeans.modules.java.hints.infrastructure.JavaErrorProvider.convertFixes(JavaErrorProvider.java:180)
    at org.netbeans.modules.java.hints.infrastructure.JavaErrorProvider.lambda$convert2Diagnostic$2(JavaErrorProvider.java:161)
    at org.netbeans.modules.java.lsp.server.protocol.TextDocumentServiceImpl.codeAction(TextDocumentServiceImpl.java:948)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
Caused: java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:115)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
Caused: java.lang.RuntimeException
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
[catch] at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.lambda$consume$0(Server.java:295)
    at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.consume(Server.java:293)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
    at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.lang.Thread.run(Thread.java:1583)
    at java.base/java.util.concurrent.Executorjava.lang.NullPointerException: Cannot read field "outer" because "env" is null
    at com.sun.tools.javac.api.JavacScope.create(JavacScope.java:60)
    at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:725)
    at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:157)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitIdentifier(ComputeImports.java:586)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitIdentifier(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2723)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:663)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:473)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2589)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:663)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:96)
    at com.sun.source.util.TreeScanner.visitLambdaExpression(TreeScanner.java:647)
    at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1997)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:664)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:473)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMemberSelect(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2589)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:663)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethodInvocation(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1832)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.visitReturn(TreeScanner.java:545)
    at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1736)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:272)
    at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1104)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:96)
    at com.sun.source.util.TreeScanner.visitTry(TreeScanner.java:436)
    at com.sun.tools.javac.tree.JCTree$JCTry.accept(JCTree.java:1479)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:272)
    at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1104)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethod(ComputeImports.java:718)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitMethod(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:948)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:96)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitClass(ComputeImports.java:696)
    at org.netbeans.modules.java.editor.imports.ComputeImports$TreeVisitorImpl.visitClass(ComputeImports.java:451)
    at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:855)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at com.sun.source.util.TreeScanner.scan(TreeScanner.java:111)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:119)
    at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:152)
    at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:623)
    at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:92)
    at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at org.netbeans.modules.java.editor.imports.ComputeImports.doComputeCandidates(ComputeImports.java:237)
    at org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidatesEx(ComputeImports.java:207)
    at org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidatesEx(ComputeImports.java:165)
    at org.netbeans.modules.java.hints.errors.ImportClass.getCandidateFQNs(ImportClass.java:348)
    at org.netbeans.modules.java.hints.errors.ImportClass.run(ImportClass.java:185)
    at org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:123)
    at org.netbeans.modules.java.hints.infrastructure.JavaErrorProvider.lambda$convertFixes$3(JavaErrorProvider.java:182)
    at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:504)
    at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
    at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:132)
    at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:116)
    at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
    at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
    at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
    at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
    at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
    at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
    at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
    at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:83)
    at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:454)
    at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:425)
    at org.netbeans.modules.java.hints.infrastructure.JavaErrorProvider.convertFixes(JavaErrorProvider.java:180)
    at org.netbeans.modules.java.hints.infrastructure.JavaErrorProvider.lambda$convert2Diagnostic$2(JavaErrorProvider.java:161)
    at org.netbeans.modules.java.lsp.server.protocol.TextDocumentServiceImpl.codeAction(TextDocumentServiceImpl.java:948)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
Caused: java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:115)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
Caused: java.lang.RuntimeException
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
[catch] at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.lambda$consume$0(Server.java:295)
    at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.consume(Server.java:293)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
    at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)

Extension 1.0.0 with VS Code

Version: 1.83.1 (user setup) Commit: f1b07bd25dfad64b0167beb15359ae573aecd2cc Date: 2023-10-10T23:48:05.904Z Electron: 25.8.4 ElectronBuildId: 24154031 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.22621

anthonyvdotbe commented 1 year ago

Second part of the log, starting at "starting jdk.clean.workspace":

starting jdk.clean.workspace
[Error - 9:26:45 AM] Request workspace/executeCommand failed.
  Message: Internal error.
  Code: -32603 
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.lambda$consume$0(Server.java:295)
    at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.consume(Server.java:293)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
    at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
    ... 15 more
Caused by: java.lang.IllegalStateException: Cannot block LSP server message loop. Use RequestProcessor to run the calling code, or use notifyLater()
    at org.netbeans.modules.java.lsp.server.LspServerUtils.avoidClientMessageThread(LspServerUtils.java:88)
    at org.netbeans.modules.java.lsp.server.ui.AbstractDialogDisplayer.notify(AbstractDialogDisplayer.java:48)
    at org.netbeans.core.NbLifecycleManager.saveAll(NbLifecycleManager.java:105)
    at org.netbeans.modules.maven.execute.MavenCommandLineExecutor$ExecuteMaven.execute(MavenCommandLineExecutor.java:177)
    at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.executeMaven(MavenCommandLineExecutor.java:169)
    at org.netbeans.modules.maven.api.execute.RunUtils.executeMaven(RunUtils.java:103)
    at org.netbeans.modules.maven.api.execute.RunUtils.run(RunUtils.java:81)
    at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:319)
    at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:251)
    at org.netbeans.modules.java.lsp.server.protocol.WorkspaceServiceImpl.executeCommand(WorkspaceServiceImpl.java:269)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
    ... 17 more

INFO [org.netbeans.ui.indexing]: Indexing started, time from last indexing 1.439.948 ms.
WARNING [org.netbeans.core.NbLifecycleManager]

msg
Caused: org.netbeans.modules.openide.loaders.UIException$AnnException
    at org.netbeans.modules.openide.loaders.UIException$AnnException.findOrCreate(UIException.java:80)
    at org.netbeans.modules.openide.loaders.UIException.annotateUser(UIException.java:52)
    at org.netbeans.modules.openide.loaders.AskEditorQuestions.throwableIsReadOnly(AskEditorQuestions.java:33)
Caused: java.io.IOException: File is read-only: C:\path\to\Diagnostic copy.java@456b6581:70857440[invalid]
    at org.netbeans.modules.openide.loaders.AskEditorQuestions.throwableIsReadOnly(AskEditorQuestions.java:32)
    at org.openide.text.DataEditorSupport$SaveImpl.run(DataEditorSupport.java:1320)
    at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:102)
    at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494)
    at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:404)
    at org.openide.text.DataEditorSupport.saveDocument(DataEditorSupport.java:568)
    at org.netbeans.modules.openide.loaders.SimpleES$SaveCookieImpl.save(SimpleES.java:202)
[catch] at org.netbeans.core.NbLifecycleManager.saveAll(NbLifecycleManager.java:93)
    at org.netbeans.modules.maven.execute.MavenCommandLineExecutor$ExecuteMaven.execute(MavenCommandLineExecutor.java:177)
    at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.executeMaven(MavenCommandLineExecutor.java:169)
    at org.netbeans.modules.maven.api.execute.RunUtils.executeMaven(RunUtils.java:103)
    at org.netbeans.modules.maven.api.execute.RunUtils.run(RunUtils.java:81)
    at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:319)
    at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:251)
    at org.netbeans.modules.java.lsp.server.protocol.WorkspaceServiceImpl.executeCommand(WorkspaceServiceImpl.java:269)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.lambda$consume$0(Server.java:295)
    at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.consume(Server.java:293)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
    at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.lang.Thread.run(Thread.java:1583)
USER [null]
    at java.base/java.util.concurrent.ExecutorAnnotation: File Diagnostic copy.java was changed to read-only! Can not save it.
Annotation: File Diagnostic copy.java was changed to read-only! Can not save it.
Annotation: File Diagnostic copy.java was changed to read-only! Can not save it.

msg
Caused: org.netbeans.modules.openide.loaders.UIException$AnnException
    at org.netbeans.modules.openide.loaders.UIException$AnnException.findOrCreate(UIException.java:80)
    at org.netbeans.modules.openide.loaders.UIException.annotateUser(UIException.java:52)
    at org.netbeans.modules.openide.loaders.AskEditorQuestions.throwableIsReadOnly(AskEditorQuestions.java:33)
Caused: java.io.IOException: File is read-only: C:\path\to\Diagnostic copy.java@456b6581:70857440[invalid]
    at org.netbeans.modules.openide.loaders.AskEditorQuestions.throwableIsReadOnly(AskEditorQuestions.java:32)
    at org.openide.text.DataEditorSupport$SaveImpl.run(DataEditorSupport.java:1320)
    at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:102)
    at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494)
    at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:404)
    at org.openide.text.DataEditorSupport.saveDocument(DataEditorSupport.java:568)
    at org.netbeans.modules.openide.loaders.SimpleES$SaveCookieImpl.save(SimpleES.java:202)
[catch] at org.netbeans.core.NbLifecycleManager.saveAll(NbLifecycleManager.java:93)
    at org.netbeans.modules.maven.execute.MavenCommandLineExecutor$ExecuteMaven.execute(MavenCommandLineExecutor.java:177)
    at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.executeMaven(MavenCommandLineExecutor.java:169)
    at org.netbeans.modules.maven.api.execute.RunUtils.executeMaven(RunUtils.java:103)
    at org.netbeans.modules.maven.api.execute.RunUtils.run(RunUtils.java:81)
    at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:319)
    at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:251)
    at org.netbeans.modules.java.lsp.server.protocol.WorkspaceServiceImpl.executeCommand(WorkspaceServiceImpl.java:269)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.lambda$consume$0(Server.java:295)
    at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.consume(Server.java:293)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
    at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
WARNING [org.netbeans.modules.java.lsp.server.protocol.Server]: Error occurred during LSP message dispatch
java.lang.IllegalStateException: Cannot block LSP server message loop. Use RequestProcessor to run the calling code, or use notifyLater()
    at org.netbeans.modules.java.lsp.server.LspServerUtils.avoidClientMessageThread(LspServerUtils.java:88)
    at org.netbeans.modules.java.lsp.server.ui.AbstractDialogDisplayer.notify(AbstractDialogDisplayer.java:48)
    at org.netbeans.core.NbLifecycleManager.saveAll(NbLifecycleManager.java:105)
    at org.netbeans.modules.maven.execute.MavenCommandLineExecutor$ExecuteMaven.execute(MavenCommandLineExecutor.java:177)
    at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.executeMaven(MavenCommandLineExecutor.java:169)
    at org.netbeans.modules.maven.api.execute.RunUtils.executeMaven(RunUtils.java:103)
    at org.netbeans.modules.maven.api.execute.RunUtils.run(RunUtils.java:81)
    at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:319)
    at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:251)
    at org.netbeans.modules.java.lsp.server.protocol.WorkspaceServiceImpl.executeCommand(WorkspaceServiceImpl.java:269)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
Caused: java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
Caused: java.lang.RuntimeException
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
[catch] at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.lambda$consume$0(Server.java:295)
    at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.consume(Server.java:293)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
    at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.lang.Thread.run(Thread.java:1583)
    at java.base/java.lang.Tjava.lang.IllegalStateException: Cannot block LSP server message loop. Use RequestProcessor to run the calling code, or use notifyLater()
    at org.netbeans.modules.java.lsp.server.LspServerUtils.avoidClientMessageThread(LspServerUtils.java:88)
    at org.netbeans.modules.java.lsp.server.ui.AbstractDialogDisplayer.notify(AbstractDialogDisplayer.java:48)
    at org.netbeans.core.NbLifecycleManager.saveAll(NbLifecycleManager.java:105)
    at org.netbeans.modules.maven.execute.MavenCommandLineExecutor$ExecuteMaven.execute(MavenCommandLineExecutor.java:177)
    at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.executeMaven(MavenCommandLineExecutor.java:169)
    at org.netbeans.modules.maven.api.execute.RunUtils.executeMaven(RunUtils.java:103)
    at org.netbeans.modules.maven.api.execute.RunUtils.run(RunUtils.java:81)
    at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:319)
    at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:251)
    at org.netbeans.modules.java.lsp.server.protocol.WorkspaceServiceImpl.executeCommand(WorkspaceServiceImpl.java:269)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
Caused: java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
Caused: java.lang.RuntimeException
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
[catch] at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.lambda$consume$0(Server.java:295)
    at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.consume(Server.java:293)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
SEVERE [org.eclipse.lsp4j.jsonrpc.RemoteEndpoint]: Internal error: java.lang.reflect.InvocationTargetException
java.lang.IllegalStateException: Cannot block LSP server message loop. Use RequestProcessor to run the calling code, or use notifyLater()
    at org.netbeans.modules.java.lsp.server.LspServerUtils.avoidClientMessageThread(LspServerUtils.java:88)
    at org.netbeans.modules.java.lsp.server.ui.AbstractDialogDisplayer.notify(AbstractDialogDisplayer.java:48)
    at org.netbeans.core.NbLifecycleManager.saveAll(NbLifecycleManager.java:105)
    at org.netbeans.modules.maven.execute.MavenCommandLineExecutor$ExecuteMaven.execute(MavenCommandLineExecutor.java:177)
    at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.executeMaven(MavenCommandLineExecutor.java:169)
    at org.netbeans.modules.maven.api.execute.RunUtils.executeMaven(RunUtils.java:103)
    at org.netbeans.modules.maven.api.execute.RunUtils.run(RunUtils.java:81)
    at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:319)
    at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:251)
    at org.netbeans.modules.java.lsp.server.protocol.WorkspaceServiceImpl.executeCommand(WorkspaceServiceImpl.java:269)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
Caused: java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
Caused: java.lang.RuntimeException
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
[catch] at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.lambda$consume$0(Server.java:295)
    at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.consume(Server.java:293)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
    at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.lang.Thread.run(Thread.java:1583)
    at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMejava.lang.IllegalStateException: Cannot block LSP server message loop. Use RequestProcessor to run the calling code, or use notifyLater()
    at org.netbeans.modules.java.lsp.server.LspServerUtils.avoidClientMessageThread(LspServerUtils.java:88)
    at org.netbeans.modules.java.lsp.server.ui.AbstractDialogDisplayer.notify(AbstractDialogDisplayer.java:48)
    at org.netbeans.core.NbLifecycleManager.saveAll(NbLifecycleManager.java:105)
    at org.netbeans.modules.maven.execute.MavenCommandLineExecutor$ExecuteMaven.execute(MavenCommandLineExecutor.java:177)
    at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.executeMaven(MavenCommandLineExecutor.java:169)
    at org.netbeans.modules.maven.api.execute.RunUtils.executeMaven(RunUtils.java:103)
    at org.netbeans.modules.maven.api.execute.RunUtils.run(RunUtils.java:81)
    at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:319)
    at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:251)
    at org.netbeans.modules.java.lsp.server.protocol.WorkspaceServiceImpl.executeCommand(WorkspaceServiceImpl.java:269)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
Caused: java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
Caused: java.lang.RuntimeException
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67)
    at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
[catch] at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
    at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.lambda$consume$0(Server.java:295)
    at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
    at org.netbeans.modules.java.lsp.server.protocol.Server$ConsumeWithLookup$1.consume(Server.java:293)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
    at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)