Extra logging:
2025-06-15 17:17:18.663 [info] [Trace - 5:17:18 PM] Sending request 'textDocument/codeAction - (79)'.
2025-06-15 17:17:18.663 [info] Params: {
"textDocument": {
"uri": "file:///Users/oren/work/rpp-server-2/framework/grpc_manager/rpp_grpc_server_disp.h"
},
"range": {
"start": {
"line": 1772,
"character": 79
},
"end": {
"line": 1772,
"character": 79
}
},
"context": {
"diagnostics": [
{
"range": {
"start": {
"line": 1772,
"character": 33
},
"end": {
"line": 1772,
"character": 96
}
},
"message": "Pass large object \"reqRespOverrideFn\" by reference to const.",
"data": {
"entryKey": "a875203d-6490-4ce6-b31e-19bb604958c2"
},
"code": "cpp:S1238",
"severity": 2,
"source": "sonarqube"
}
],
"triggerKind": 2
}
}
2025-06-15 17:17:19.097 [info] [Trace - 5:17:19 PM] Received notification 'window/logMessage'.
2025-06-15 17:17:19.097 [info] Params: {
"type": 4,
"message": "[Error - 17:17:19.097] [org.eclipse.lsp4j.jsonrpc.RemoteEndpoint : SonarLint Server RPC request executor] Internal error: org.sonarsource.sonarlint.core.serverapi.exception.UnexpectedBodyException: No issue found with key 'a875203d-6490-4ce6-b31e-19bb604958c2'"
}
2025-06-15 17:17:19.097 [info] [Error - 17:17:19.097] [org.eclipse.lsp4j.jsonrpc.RemoteEndpoint : SonarLint Server RPC request executor] Internal error: org.sonarsource.sonarlint.core.serverapi.exception.UnexpectedBodyException: No issue found with key 'a875203d-6490-4ce6-b31e-19bb604958c2'
2025-06-15 17:17:19.097 [info] [Trace - 5:17:19 PM] Received notification 'window/logMessage'.
2025-06-15 17:17:19.097 [info] Params: {
"type": 4,
"message": "[Error - 17:17:19.097] [org.eclipse.lsp4j.jsonrpc.RemoteEndpoint : SonarLint Server RPC request executor] java.util.concurrent.CompletionException: org.sonarsource.sonarlint.core.serverapi.exception.UnexpectedBodyException: No issue found with key 'a875203d-6490-4ce6-b31e-19bb604958c2'\n\tat java.base/java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)\n\tat java.base/java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source)\n\tat java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)\n\tat java.base/java.util.concurrent.CompletableFuture$Completion.run(Unknown Source)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\n\tat java.base/java.lang.Thread.run(Unknown Source)\nCaused by: org.sonarsource.sonarlint.core.serverapi.exception.UnexpectedBodyException: No issue found with key 'a875203d-6490-4ce6-b31e-19bb604958c2'\n\tat org.sonarsource.sonarlint.core.serverapi.issue.IssueApi.searchByKey(IssueApi.java:247)\n\tat org.sonarsource.sonarlint.core.issue.IssueService.lambda$checkStatusChangePermitted$9(IssueService.java:208)\n\tat java.base/java.util.Optional.orElseGet(Unknown Source)\n\tat org.sonarsource.sonarlint.core.issue.IssueService.lambda$checkStatusChangePermitted$10(IssueService.java:207)\n\tat org.sonarsource.sonarlint.core.connection.SonarQubeClient.withClientApiAndReturn(SonarQubeClient.java:58)\n\tat org.sonarsource.sonarlint.core.issue.IssueService.checkStatusChangePermitted(IssueService.java:193)\n\tat org.sonarsource.sonarlint.core.rpc.impl.IssueRpcServiceDelegate.lambda$checkStatusChangePermitted$3(IssueRpcServiceDelegate.java:68)\n\tat org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$0(AbstractRpcServiceDelegate.java:67)\n\tat org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.computeWithLogger(AbstractRpcServiceDelegate.java:154)\n\tat org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$1(AbstractRpcServiceDelegate.java:65)\n\t... 5 common frames omitted\n"
}
2025-06-15 17:17:19.097 [info] [Error - 17:17:19.097] [org.eclipse.lsp4j.jsonrpc.RemoteEndpoint : SonarLint Server RPC request executor] java.util.concurrent.CompletionException: org.sonarsource.sonarlint.core.serverapi.exception.UnexpectedBodyException: No issue found with key 'a875203d-6490-4ce6-b31e-19bb604958c2'
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.sonarsource.sonarlint.core.serverapi.exception.UnexpectedBodyException: No issue found with key 'a875203d-6490-4ce6-b31e-19bb604958c2'
at org.sonarsource.sonarlint.core.serverapi.issue.IssueApi.searchByKey(IssueApi.java:247)
at org.sonarsource.sonarlint.core.issue.IssueService.lambda$checkStatusChangePermitted$9(IssueService.java:208)
at java.base/java.util.Optional.orElseGet(Unknown Source)
at org.sonarsource.sonarlint.core.issue.IssueService.lambda$checkStatusChangePermitted$10(IssueService.java:207)
at org.sonarsource.sonarlint.core.connection.SonarQubeClient.withClientApiAndReturn(SonarQubeClient.java:58)
at org.sonarsource.sonarlint.core.issue.IssueService.checkStatusChangePermitted(IssueService.java:193)
at org.sonarsource.sonarlint.core.rpc.impl.IssueRpcServiceDelegate.lambda$checkStatusChangePermitted$3(IssueRpcServiceDelegate.java:68)
at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$0(AbstractRpcServiceDelegate.java:67)
at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.computeWithLogger(AbstractRpcServiceDelegate.java:154)
at org.sonarsource.sonarlint.core.rpc.impl.AbstractRpcServiceDelegate.lambda$requestAsync$1(AbstractRpcServiceDelegate.java:65)
... 5 common frames omitted
2025-06-15 17:17:19.098 [info] [Trace - 5:17:19 PM] Received notification 'window/logMessage'.
2025-06-15 17:17:19.098 [info] Params: {
"type": 4,
"message": "[Warn - 17:17:19.098] Future computation completed with an exception\njava.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Internal error.\n\tat java.base/java.util.concurrent.CompletableFuture.reportGet(Unknown Source)\n\tat java.base/java.util.concurrent.CompletableFuture.get(Unknown Source)\n\tat org.sonarsource.sonarlint.ls.util.Utils.safelyGetCompletableFuture(Utils.java:174)\n\tat org.sonarsource.sonarlint.ls.CommandManager.createResolveIssueCodeAction(CommandManager.java:250)\n\tat org.sonarsource.sonarlint.ls.CommandManager.computeCodeActionsForSonarLintIssues(CommandManager.java:225)\n\tat org.sonarsource.sonarlint.ls.CommandManager.computeCodeActions(CommandManager.java:171)\n\tat org.sonarsource.sonarlint.ls.SonarLintLanguageServer.lambda$codeAction$4(SonarLintLanguageServer.java:438)\n\tat java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)\n\tat java.base/java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source)\n\tat java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)\n\tat java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)\n\tat java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)\n\tat java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)\n\tat java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)\nCaused by: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Internal error.\n\tat org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:220)\n\tat org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:204)\n\tat org.sonarsource.sonarlint.core.rpc.protocol.SingleThreadedMessageConsumer.lambda$new$0(SingleThreadedMessageConsumer.java:49)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\n\tat java.base/java.lang.Thread.run(Unknown Source)\n"
}
2025-06-15 17:17:19.098 [info] [Warn - 17:17:19.098] Future computation completed with an exception
java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Internal error.
at java.base/java.util.concurrent.CompletableFuture.reportGet(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.get(Unknown Source)
at org.sonarsource.sonarlint.ls.util.Utils.safelyGetCompletableFuture(Utils.java:174)
at org.sonarsource.sonarlint.ls.CommandManager.createResolveIssueCodeAction(CommandManager.java:250)
at org.sonarsource.sonarlint.ls.CommandManager.computeCodeActionsForSonarLintIssues(CommandManager.java:225)
at org.sonarsource.sonarlint.ls.CommandManager.computeCodeActions(CommandManager.java:171)
at org.sonarsource.sonarlint.ls.SonarLintLanguageServer.lambda$codeAction$4(SonarLintLanguageServer.java:438)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Internal error.
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:220)
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:204)
at org.sonarsource.sonarlint.core.rpc.protocol.SingleThreadedMessageConsumer.lambda$new$0(SingleThreadedMessageConsumer.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Here’s another one, a couple of seconds after killing the java processes and restarting the extension host:
2025-06-15 17:28:20.771 [info] [Trace - 5:28:20 PM] Received response 'textDocument/codeAction - (82)' in 12ms.
2025-06-15 17:28:20.771 [info] Result: [
{
"title": "SonarQube: Change to pointer-to-const",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 739,
"character": 27
},
"end": {
"line": 739,
"character": 55
}
},
"severity": 2,
"code": "cpp:S995",
"source": "sonarqube",
"message": "Make the type of this parameter a pointer-to-const. The current type of \"rri\" is \"class rpp::ISrvGrpcReqRespInstance *\".",
"data": {
"entryKey": "88296894-8cbf-4176-8f22-834794900cd0"
}
}
],
"edit": {
"changes": {},
"documentChanges": [
{
"textDocument": {
"version": null,
"uri": "file:///Users/oren/work/rpp-server-2/framework/grpc_manager/rpp_grpc_server_disp.h"
},
"edits": [
{
"range": {
"start": {
"line": 739,
"character": 50
},
"end": {
"line": 739,
"character": 50
}
},
"newText": " const"
}
]
}
]
},
"command": {
"title": "Change to pointer-to-const",
"command": "SonarLint.QuickFixApplied",
"arguments": [
"cpp:S995"
]
}
},
{
"title": "SonarQube: Show issue details for 'cpp:S995'",
"kind": "quickfix",
"diagnostics": [
{
"range": {
"start": {
"line": 739,
"character": 27
},
"end": {
"line": 739,
"character": 55
}
},
"severity": 2,
"code": "cpp:S995",
"source": "sonarqube",
"message": "Make the type of this parameter a pointer-to-const. The current type of \"rri\" is \"class rpp::ISrvGrpcReqRespInstance *\".",
"data": {
"entryKey": "88296894-8cbf-4176-8f22-834794900cd0"
}
}
],
"command": {
"title": "Show issue details for 'cpp:S995'",
"command": "SonarLint.ShowIssueDetailsCodeAction",
"arguments": [
"88296894-8cbf-4176-8f22-834794900cd0",
"file:///Users/oren/work/rpp-server-2/framework/grpc_manager/rpp_grpc_server_disp.h"
]
}
}
]
2025-06-15 17:28:20.771 [info] [Trace - 5:28:20 PM] Received notification 'window/logMessage'.
2025-06-15 17:28:20.771 [info] Params: {
"type": 4,
"message": "[Error - 17:28:20.764] [com.sonar.cpp.analyzer.AnalysisExecutor : pool-21-thread-1] Exception in thread pool-21-thread-1"
}
2025-06-15 17:28:20.771 [info] [Error - 17:28:20.764] [com.sonar.cpp.analyzer.AnalysisExecutor : pool-21-thread-1] Exception in thread pool-21-thread-1
2025-06-15 17:28:20.772 [info] [Trace - 5:28:20 PM] Received notification 'window/logMessage'.
2025-06-15 17:28:20.772 [info] Params: {
"type": 4,
"message": "[Error - 17:28:20.764] [com.sonar.cpp.analyzer.AnalysisExecutor : pool-21-thread-1] com.sonar.cpp.analyzer.Analyzer$AnalyzerException: Exit code 143: /Users/oren/work/rpp-server-2/framework/grpc_manager/rpp_grpc_server_disp.h\n\tat com.sonar.cpp.plugin.SonarLintSensor.lambda$execute$10(SonarLintSensor.java:420)\n\tat com.sonar.cpp.analyzer.Subprocess.executeImpl(Subprocess.java:127)\n\tat com.sonar.cpp.analyzer.Subprocess.execute(Subprocess.java:159)\n\tat com.sonar.cpp.plugin.SonarLintSensor.execute(SonarLintSensor.java:403)\n\tat com.sonar.cpp.plugin.SonarLintSensor.executeWithPreamble(SonarLintSensor.java:452)\n\tat com.sonar.cpp.plugin.SonarLintSensor.lambda$process$5(SonarLintSensor.java:388)\n\tat com.sonar.cpp.analyzer.AnalysisExecutor.lambda$submit$0(AnalysisExecutor.java:58)\n\tat java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)\n\tat java.base/java.util.concurrent.FutureTask.run(Unknown Source)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\n\tat java.base/java.lang.Thread.run(Unknown Source)\n"
}
2025-06-15 17:28:20.772 [info] [Error - 17:28:20.764] [com.sonar.cpp.analyzer.AnalysisExecutor : pool-21-thread-1] com.sonar.cpp.analyzer.Analyzer$AnalyzerException: Exit code 143: /Users/oren/work/rpp-server-2/framework/grpc_manager/rpp_grpc_server_disp.h
at com.sonar.cpp.plugin.SonarLintSensor.lambda$execute$10(SonarLintSensor.java:420)
at com.sonar.cpp.analyzer.Subprocess.executeImpl(Subprocess.java:127)
at com.sonar.cpp.analyzer.Subprocess.execute(Subprocess.java:159)
at com.sonar.cpp.plugin.SonarLintSensor.execute(SonarLintSensor.java:403)
at com.sonar.cpp.plugin.SonarLintSensor.executeWithPreamble(SonarLintSensor.java:452)
at com.sonar.cpp.plugin.SonarLintSensor.lambda$process$5(SonarLintSensor.java:388)
at com.sonar.cpp.analyzer.AnalysisExecutor.lambda$submit$0(AnalysisExecutor.java:58)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)