Error Using SonarLint exyension in VS code

Please provide

  • Operating system: Windows 11 Pro
  • SonarLint plugin version: Vscode extension
  • Programming language you’re coding in C++
  • Is connected mode used: No
    • Connected to SonarCloud or SonarQube (and which version):

Initial Error leads to non-ending loops of analyzing

Executing C:\Program Files\Java\jdk-23\bin\java -jar c:\Users\BIZZ\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\server\sonarlint-ls.jar -stdio -analyzers c:\Users\BIZZ\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonargo.jar c:\Users\BIZZ\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarjava.jar c:\Users\BIZZ\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarjs.jar c:\Users\BIZZ\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarphp.jar c:\Users\BIZZ\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarpython.jar c:\Users\BIZZ\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarhtml.jar c:\Users\BIZZ\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarxml.jar c:\Users\BIZZ\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarcfamily.jar c:\Users\BIZZ\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonartext.jar c:\Users\BIZZ\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonariac.jar c:\Users\BIZZ\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarlintomnisharp.jar

[Info - 15:05:09.107] SonarLint backend started, instance=org.sonarsource.sonarlint.core.rpc.impl.SonarLintRpcServerImpl@6f15d60e

[Info - 15:05:18.126] Started embedded server on port 64120

[Warn - 15:05:18.262] Can't open directory channel. Log directory fsync won't be performed.

[Error - 15:05:21.208] Unable to update configuration of folder file:///c:/Users/BIZZ/Documents/Vscode/Projects/Stock_Market_Simulator

java.util.concurrent.ExecutionException: java.nio.file.InvalidPathException: Illegal char <"> at index 0: ""

at java.base/java.util.concurrent.CompletableFuture.wrapInExecutionException(CompletableFuture.java:345)

at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:440)

at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2117)

at org.sonarsource.sonarlint.ls.settings.SettingsManager.updateWorkspaceFolderSettings(SettingsManager.java:349)

at org.sonarsource.sonarlint.ls.settings.SettingsManager.lambda$didChangeConfiguration$2(SettingsManager.java:194)

at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)

at org.sonarsource.sonarlint.ls.settings.SettingsManager.lambda$didChangeConfiguration$3(SettingsManager.java:194)

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:1575)

Caused by: java.nio.file.InvalidPathException: Illegal char <"> at index 0: ""

at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:204)

at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:175)

at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)

at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)

at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:231)

at java.base/java.nio.file.Path.resolve(Path.java:516)

at org.sonarsource.sonarlint.ls.settings.SettingsManager.updateProperties(SettingsManager.java:291)

at org.sonarsource.sonarlint.ls.settings.SettingsManager.lambda$requestSonarLintAndOmnisharpConfigurationAsync$7(SettingsManager.java:269)

at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:690)

at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:554)

at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2223)

at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:212)

at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:193)

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)

... 3 more

[Error - 15:06:18.782] Failed to initialize workspace folders.

java.lang.IllegalStateException: Unable to get settings in time

at org.sonarsource.sonarlint.ls.folders.WorkspaceFolderWrapper.getSettings(WorkspaceFolderWrapper.java:91)

at java.base/java.util.Optional.map(Optional.java:260)

at org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.lambda$getBinding$0(ProjectBindingManager.java:167)

at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1713)

at org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.getBinding(ProjectBindingManager.java:166)

at org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.getBinding(ProjectBindingManager.java:133)

at org.sonarsource.sonarlint.ls.folders.WorkspaceFoldersManager.lambda$getBindingProvider$8(WorkspaceFoldersManager.java:126)

at org.sonarsource.sonarlint.ls.backend.BackendService.lambda$addWorkspaceFolders$4(BackendService.java:199)

at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)

at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1709)

at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)

at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)

at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:636)

at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:291)

at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:656)

at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:662)

at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:667)

at org.sonarsource.sonarlint.ls.backend.BackendService.addWorkspaceFolders(BackendService.java:200)

at org.sonarsource.sonarlint.ls.folders.WorkspaceFoldersManager.lambda$initialize$1(WorkspaceFoldersManager.java:80)

at org.sonarsource.sonarlint.ls.util.CatchingRunnable.run(CatchingRunnable.java:36)

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:1575)

[Error - 15:07:18.790] Error when handling a notification

[Error - 15:07:18.790] java.lang.IllegalStateException: Unable to get settings in time

at org.sonarsource.sonarlint.ls.folders.WorkspaceFolderWrapper.getSettings(WorkspaceFolderWrapper.java:91)

at java.base/java.util.Optional.map(Optional.java:260)

at org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.lambda$getBinding$0(ProjectBindingManager.java:167)

at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1713)

at org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.getBinding(ProjectBindingManager.java:166)

at org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.getBinding(ProjectBindingManager.java:133)

at org.sonarsource.sonarlint.ls.ForcedAnalysisCoordinator.lambda$analyzeAllUnboundOpenFiles$7(ForcedAnalysisCoordinator.java:132)

at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:196)

at java.base/java.util.concurrent.ConcurrentHashMap$ValueSpliterator.forEachRemaining(ConcurrentHashMap.java:3617)

at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)

at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)

at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:636)

at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:291)

at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:656)

at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:662)

at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:667)

at org.sonarsource.sonarlint.ls.ForcedAnalysisCoordinator.analyzeAllUnboundOpenFiles(ForcedAnalysisCoordinator.java:133)

at org.sonarsource.sonarlint.ls.clientapi.SonarLintVSCodeClient.lambda$didChangeAnalysisReadiness$18(SonarLintVSCodeClient.java:532)

at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)

at org.sonarsource.sonarlint.ls.clientapi.SonarLintVSCodeClient.didChangeAnalysisReadiness(SonarLintVSCodeClient.java:524)

at org.sonarsource.sonarlint.core.rpc.client.SonarLintRpcClientImpl.lambda$didChangeAnalysisReadiness$33(SonarLintRpcClientImpl.java:358)

at org.sonarsource.sonarlint.core.rpc.client.SonarLintRpcClientImpl.lambda$notify$4(SonarLintRpcClientImpl.java:150)

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:1575)
2 Likes

I have the same exact problem, for now I installed the previous version (v4.9.1) and it’s working fine.

2 Likes

I had the same problem and going back to 4.9.1 did the trick.

1 Like

Hello @Devin_11, @skylion, and @bealtis, welcome to Sonar Community, and thanks all for reporting this behavior! :wave: :bowing_woman:

According to the logs shared, it seems to me that SonarLint fails to properly parse your folder settings :thinking:

In order to understand the root cause, we would need more verbose logs. To get them, please drop the following line in your VSCode user settings "sonarlint.trace.server": "verbose", , reload the VSCode window and get the logs from the output window as you normally would :pray: :bowing_woman: :pleading_face:

If you’d rather share the logs in a private message, please ping me here, and I will initiate the conversation.

Thanks again,
Sophio

Hi Sophio, I’m going to report here the complete log with verbose tracing enabled.
In the log I only masked my project name but it’s written in CamelCase, therefore I just replaced it with “NameOfMyProjectInCamelCase” before pasting the log. Thanks for looking it up.

SonarLint Log
Executing c:\Users\Fabrizio\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\jre\21.0.4-win32-x86_64.tar\bin\java -jar c:\Users\Fabrizio\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\server\sonarlint-ls.jar -stdio -analyzers c:\Users\Fabrizio\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonargo.jar c:\Users\Fabrizio\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarjava.jar c:\Users\Fabrizio\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarjs.jar c:\Users\Fabrizio\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarphp.jar c:\Users\Fabrizio\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarpython.jar c:\Users\Fabrizio\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarhtml.jar c:\Users\Fabrizio\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarxml.jar c:\Users\Fabrizio\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarcfamily.jar c:\Users\Fabrizio\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonartext.jar c:\Users\Fabrizio\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonariac.jar c:\Users\Fabrizio\.vscode\extensions\sonarsource.sonarlint-vscode-4.10.0-win32-x64\analyzers\sonarlintomnisharp.jar
[Trace - 11:30:16 AM] Sending request 'initialize - (0)'.
Params: {
    "processId": 17096,
    "clientInfo": {
        "name": "Visual Studio Code",
        "version": "1.93.1"
    },
    "locale": "en",
    "rootPath": "d:\\Users\\Fabrizio\\Desktop\\Progetti\\NameOfMyProjectInCamelCase",
    "rootUri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase",
    "capabilities": {
        "workspace": {
            "applyEdit": true,
            "workspaceEdit": {
                "documentChanges": true,
                "resourceOperations": [
                    "create",
                    "rename",
                    "delete"
                ],
                "failureHandling": "textOnlyTransactional",
                "normalizesLineEndings": true,
                "changeAnnotationSupport": {
                    "groupsOnLabel": true
                }
            },
            "configuration": true,
            "didChangeWatchedFiles": {
                "dynamicRegistration": true,
                "relativePatternSupport": true
            },
            "symbol": {
                "dynamicRegistration": true,
                "symbolKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25,
                        26
                    ]
                },
                "tagSupport": {
                    "valueSet": [
                        1
                    ]
                },
                "resolveSupport": {
                    "properties": [
                        "location.range"
                    ]
                }
            },
            "codeLens": {
                "refreshSupport": true
            },
            "executeCommand": {
                "dynamicRegistration": true
            },
            "didChangeConfiguration": {
                "dynamicRegistration": true
            },
            "workspaceFolders": true,
            "semanticTokens": {
                "refreshSupport": true
            },
            "fileOperations": {
                "dynamicRegistration": true,
                "didCreate": true,
                "didRename": true,
                "didDelete": true,
                "willCreate": true,
                "willRename": true,
                "willDelete": true
            },
            "inlineValue": {
                "refreshSupport": true
            },
            "inlayHint": {
                "refreshSupport": true
            },
            "diagnostics": {
                "refreshSupport": true
            }
        },
        "textDocument": {
            "publishDiagnostics": {
                "relatedInformation": true,
                "versionSupport": false,
                "tagSupport": {
                    "valueSet": [
                        1,
                        2
                    ]
                },
                "codeDescriptionSupport": true,
                "dataSupport": true
            },
            "synchronization": {
                "dynamicRegistration": true,
                "willSave": true,
                "willSaveWaitUntil": true,
                "didSave": true
            },
            "completion": {
                "dynamicRegistration": true,
                "contextSupport": true,
                "completionItem": {
                    "snippetSupport": true,
                    "commitCharactersSupport": true,
                    "documentationFormat": [
                        "markdown",
                        "plaintext"
                    ],
                    "deprecatedSupport": true,
                    "preselectSupport": true,
                    "tagSupport": {
                        "valueSet": [
                            1
                        ]
                    },
                    "insertReplaceSupport": true,
                    "resolveSupport": {
                        "properties": [
                            "documentation",
                            "detail",
                            "additionalTextEdits"
                        ]
                    },
                    "insertTextModeSupport": {
                        "valueSet": [
                            1,
                            2
                        ]
                    },
                    "labelDetailsSupport": true
                },
                "insertTextMode": 2,
                "completionItemKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25
                    ]
                },
                "completionList": {
                    "itemDefaults": [
                        "commitCharacters",
                        "editRange",
                        "insertTextFormat",
                        "insertTextMode"
                    ]
                }
            },
            "hover": {
                "dynamicRegistration": true,
                "contentFormat": [
                    "markdown",
                    "plaintext"
                ]
            },
            "signatureHelp": {
                "dynamicRegistration": true,
                "signatureInformation": {
                    "documentationFormat": [
                        "markdown",
                        "plaintext"
                    ],
                    "parameterInformation": {
                        "labelOffsetSupport": true
                    },
                    "activeParameterSupport": true
                },
                "contextSupport": true
            },
            "definition": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "references": {
                "dynamicRegistration": true
            },
            "documentHighlight": {
                "dynamicRegistration": true
            },
            "documentSymbol": {
                "dynamicRegistration": true,
                "symbolKind": {
                    "valueSet": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13,
                        14,
                        15,
                        16,
                        17,
                        18,
                        19,
                        20,
                        21,
                        22,
                        23,
                        24,
                        25,
                        26
                    ]
                },
                "hierarchicalDocumentSymbolSupport": true,
                "tagSupport": {
                    "valueSet": [
                        1
                    ]
                },
                "labelSupport": true
            },
            "codeAction": {
                "dynamicRegistration": true,
                "isPreferredSupport": true,
                "disabledSupport": true,
                "dataSupport": true,
                "resolveSupport": {
                    "properties": [
                        "edit"
                    ]
                },
                "codeActionLiteralSupport": {
                    "codeActionKind": {
                        "valueSet": [
                            "",
                            "quickfix",
                            "refactor",
                            "refactor.extract",
                            "refactor.inline",
                            "refactor.rewrite",
                            "source",
                            "source.organizeImports"
                        ]
                    }
                },
                "honorsChangeAnnotations": false
            },
            "codeLens": {
                "dynamicRegistration": true
            },
            "formatting": {
                "dynamicRegistration": true
            },
            "rangeFormatting": {
                "dynamicRegistration": true
            },
            "onTypeFormatting": {
                "dynamicRegistration": true
            },
            "rename": {
                "dynamicRegistration": true,
                "prepareSupport": true,
                "prepareSupportDefaultBehavior": 1,
                "honorsChangeAnnotations": true
            },
            "documentLink": {
                "dynamicRegistration": true,
                "tooltipSupport": true
            },
            "typeDefinition": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "implementation": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "colorProvider": {
                "dynamicRegistration": true
            },
            "foldingRange": {
                "dynamicRegistration": true,
                "rangeLimit": 5000,
                "lineFoldingOnly": true,
                "foldingRangeKind": {
                    "valueSet": [
                        "comment",
                        "imports",
                        "region"
                    ]
                },
                "foldingRange": {
                    "collapsedText": false
                }
            },
            "declaration": {
                "dynamicRegistration": true,
                "linkSupport": true
            },
            "selectionRange": {
                "dynamicRegistration": true
            },
            "callHierarchy": {
                "dynamicRegistration": true
            },
            "semanticTokens": {
                "dynamicRegistration": true,
                "tokenTypes": [
                    "namespace",
                    "type",
                    "class",
                    "enum",
                    "interface",
                    "struct",
                    "typeParameter",
                    "parameter",
                    "variable",
                    "property",
                    "enumMember",
                    "event",
                    "function",
                    "method",
                    "macro",
                    "keyword",
                    "modifier",
                    "comment",
                    "string",
                    "number",
                    "regexp",
                    "operator",
                    "decorator"
                ],
                "tokenModifiers": [
                    "declaration",
                    "definition",
                    "readonly",
                    "static",
                    "deprecated",
                    "abstract",
                    "async",
                    "modification",
                    "documentation",
                    "defaultLibrary"
                ],
                "formats": [
                    "relative"
                ],
                "requests": {
                    "range": true,
                    "full": {
                        "delta": true
                    }
                },
                "multilineTokenSupport": false,
                "overlappingTokenSupport": false,
                "serverCancelSupport": true,
                "augmentsSyntaxTokens": true
            },
            "linkedEditingRange": {
                "dynamicRegistration": true
            },
            "typeHierarchy": {
                "dynamicRegistration": true
            },
            "inlineValue": {
                "dynamicRegistration": true
            },
            "inlayHint": {
                "dynamicRegistration": true,
                "resolveSupport": {
                    "properties": [
                        "tooltip",
                        "textEdits",
                        "label.tooltip",
                        "label.location",
                        "label.command"
                    ]
                }
            },
            "diagnostic": {
                "dynamicRegistration": true,
                "relatedDocumentSupport": false
            }
        },
        "window": {
            "showMessage": {
                "messageActionItem": {
                    "additionalPropertiesSupport": true
                }
            },
            "showDocument": {
                "support": true
            },
            "workDoneProgress": true
        },
        "general": {
            "staleRequestSupport": {
                "cancel": true,
                "retryOnContentModified": [
                    "textDocument/semanticTokens/full",
                    "textDocument/semanticTokens/range",
                    "textDocument/semanticTokens/full/delta"
                ]
            },
            "regularExpressions": {
                "engine": "ECMAScript",
                "version": "ES2020"
            },
            "markdown": {
                "parser": "marked",
                "version": "1.1.0"
            },
            "positionEncodings": [
                "utf-16"
            ]
        },
        "notebookDocument": {
            "synchronization": {
                "dynamicRegistration": true,
                "executionSummarySupport": true
            }
        }
    },
    "initializationOptions": {
        "productKey": "vscode",
        "telemetryStorage": "c:\\Users\\Fabrizio\\.vscode\\extensions\\sonarlint_usage",
        "productName": "SonarLint VSCode",
        "productVersion": "4.10.0",
        "workspaceName": "NameOfMyProjectInCamelCase",
        "firstSecretDetected": false,
        "showVerboseLogs": true,
        "platform": "win32",
        "architecture": "x64",
        "additionalAttributes": {
            "vscode": {
                "remoteName": "none",
                "uiKind": "Desktop",
                "installTime": "2024-09-21T08:46:19.948Z",
                "isTelemetryEnabled": true,
                "machineId": "2e80e634bc9728e39f302ae4d9b96580822709318f27e33f744788309e1f8cd1"
            },
            "omnisharpDirectory": "c:\\Users\\Fabrizio\\.vscode\\extensions\\sonarsource.sonarlint-vscode-4.10.0-win32-x64\\omnisharp"
        },
        "enableNotebooks": true,
        "clientNodePath": ""
    },
    "trace": "verbose",
    "workspaceFolders": [
        {
            "uri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase",
            "name": "NameOfMyProjectInCamelCase"
        }
    ]
}


[Trace - 11:30:17 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Info - 11:30:17.397] SonarLint backend started, instance=org.sonarsource.sonarlint.core.rpc.impl.SonarLintRpcServerImpl@70cf32e3"
}


[Info - 11:30:17.397] SonarLint backend started, instance=org.sonarsource.sonarlint.core.rpc.impl.SonarLintRpcServerImpl@70cf32e3
[Trace - 11:30:17 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:17.504] Folder WorkspaceFolder[name=NameOfMyProjectInCamelCase,uri=file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase] added"
}


[Debug - 11:30:17.504] Folder WorkspaceFolder[name=NameOfMyProjectInCamelCase,uri=file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase] added
[Trace - 11:30:17 AM] Received response 'initialize - (0)' in 1048ms.
Result: {
    "capabilities": {
        "textDocumentSync": {
            "openClose": true,
            "change": 1
        },
        "notebookDocumentSync": {
            "notebookSelector": [
                {
                    "notebook": "jupyter-notebook",
                    "cells": [
                        {
                            "language": "python"
                        }
                    ]
                }
            ]
        },
        "codeActionProvider": true,
        "executeCommandProvider": {
            "commands": [
                "SonarLint.QuickFixApplied",
                "SonarLint.OpenRuleDescCodeAction",
                "SonarLint.OpenStandaloneRuleDesc",
                "SonarLint.BrowseTaintVulnerability",
                "SonarLint.ShowTaintVulnerabilityFlows"
            ],
            "workDoneProgress": true
        },
        "workspace": {
            "workspaceFolders": {
                "supported": true,
                "changeNotifications": true
            }
        }
    },
    "serverInfo": {
        "name": "SonarLint Language Server",
        "version": "3.10.0.75477"
    }
}


[Trace - 11:30:17 AM] Sending notification 'initialized'.
Params: {}


[Trace - 11:30:17 AM] Sending notification 'textDocument/didOpen'.
Params: {
    "textDocument": {
        "uri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase/src/main.py",
        "languageId": "python",
        "version": 1,
        "text": "import sys\r\n\r\nsys.path.append(\".\")\r\n\r\nimport matplotlib.pyplot as plt\r\n\r\nfrom src.video import get_video_frame\r\n\r\n\r\ndef main():\r\n    video_path = r\"data\\videos\\CRAB RAVE - Piano Tutorial-swuoGF0WwNQ.webm\"\r\n    frame = get_video_frame(video_path, 250)\r\n\r\n    plt.imshow(frame)\r\n    plt.show()\r\n\r\n\r\nif __name__ == \"__main__\":\r\n    main()\r\n"
    }
}


[Trace - 11:30:17 AM] Sending notification 'workspace/didChangeConfiguration'.
Params: {
    "settings": {
        "sonarlint": {
            "rules": {},
            "connectedMode": {
                "servers": [],
                "connections": {
                    "sonarqube": [],
                    "sonarcloud": []
                },
                "project": {}
            },
            "pathToNodeExecutable": "",
            "pathToCompileCommands": "",
            "testFilePattern": "",
            "analysisExcludesStandalone": "",
            "ls": {
                "javaHome": "",
                "vmargs": ""
            },
            "output": {
                "showVerboseLogs": true,
                "showAnalyzerLogs": true
            },
            "analyzerProperties": {},
            "trace": {
                "server": "verbose"
            },
            "disableTelemetry": false,
            "focusOnNewCode": false
        }
    }
}


[Trace - 11:30:17 AM] Sending request 'textDocument/codeAction - (1)'.
Params: {
    "textDocument": {
        "uri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase/src/main.py"
    },
    "range": {
        "start": {
            "line": 6,
            "character": 0
        },
        "end": {
            "line": 6,
            "character": 0
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}


[Trace - 11:30:17 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:17.683] Fetching global configuration"
}


[Debug - 11:30:17.683] Fetching global configuration
[Trace - 11:30:17 AM] Received request 'workspace/configuration - (1)'.
Params: {
    "items": [
        {
            "section": "sonarlint"
        },
        {
            "section": "dotnet.defaultSolution"
        },
        {
            "section": "omnisharp.useModernNet"
        },
        {
            "section": "omnisharp.enableMsBuildLoadProjectsOnDemand"
        },
        {
            "section": "omnisharp.projectLoadTimeout"
        },
        {
            "section": "files.exclude"
        }
    ]
}


[Trace - 11:30:17 AM] Sending response 'workspace/configuration - (1)'. Processing request took 1ms
Result: [
    {
        "rules": {},
        "connectedMode": {
            "servers": [],
            "connections": {
                "sonarqube": [],
                "sonarcloud": []
            },
            "project": {}
        },
        "pathToNodeExecutable": "",
        "pathToCompileCommands": "",
        "testFilePattern": "",
        "analysisExcludesStandalone": "",
        "ls": {
            "javaHome": "",
            "vmargs": ""
        },
        "output": {
            "showVerboseLogs": true,
            "showAnalyzerLogs": true
        },
        "analyzerProperties": {},
        "trace": {
            "server": "verbose"
        },
        "disableTelemetry": false,
        "focusOnNewCode": false
    },
    "",
    true,
    false,
    60,
    {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/CVS": true,
        "**/.DS_Store": true,
        "**/Thumbs.db": true
    }
]


[Trace - 11:30:17 AM] Received response 'textDocument/codeAction - (1)' in 38ms.
Result: []


Initializing file:///d%3A/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase on branch main
[Trace - 11:30:18 AM] Sending notification 'sonarlint/didLocalBranchNameChange'.
Params: {
    "folderUri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase",
    "branchName": "main"
}


[Trace - 11:30:18 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:18.027] Folder file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase is now on branch main."
}


[Debug - 11:30:18.027] Folder file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase is now on branch main.
[Trace - 11:30:18 AM] Sending request 'textDocument/codeAction - (2)'.
Params: {
    "textDocument": {
        "uri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase/src/main.py"
    },
    "range": {
        "start": {
            "line": 6,
            "character": 0
        },
        "end": {
            "line": 6,
            "character": 0
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}


[Trace - 11:30:18 AM] Received response 'textDocument/codeAction - (2)' in 1ms.
Result: []


[Trace - 11:30:18 AM] Sending request 'textDocument/codeAction - (3)'.
Params: {
    "textDocument": {
        "uri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase/src/main.py"
    },
    "range": {
        "start": {
            "line": 6,
            "character": 0
        },
        "end": {
            "line": 6,
            "character": 0
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}


[Trace - 11:30:18 AM] Received response 'textDocument/codeAction - (3)' in 1ms.
Result: []


[Trace - 11:30:18 AM] Sending request 'textDocument/codeAction - (4)'.
Params: {
    "textDocument": {
        "uri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase/src/main.py"
    },
    "range": {
        "start": {
            "line": 6,
            "character": 0
        },
        "end": {
            "line": 6,
            "character": 0
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}


[Trace - 11:30:18 AM] Received response 'textDocument/codeAction - (4)' in 5ms.
Result: []


[Trace - 11:30:22 AM] Sending request 'textDocument/codeAction - (5)'.
Params: {
    "textDocument": {
        "uri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase/src/main.py"
    },
    "range": {
        "start": {
            "line": 6,
            "character": 0
        },
        "end": {
            "line": 6,
            "character": 0
        }
    },
    "context": {
        "diagnostics": [],
        "triggerKind": 2
    }
}


[Trace - 11:30:22 AM] Received response 'textDocument/codeAction - (5)' in 1ms.
Result: []


[Trace - 11:30:23 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Info - 11:30:23.951] Started embedded server on port 64120"
}


[Info - 11:30:23.951] Started embedded server on port 64120
[Trace - 11:30:23 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:23.963] Restoring previous local-only issue database from C:\\Users\\Fabrizio\\.sonarlint\\storage\\local_only_issue_backup.tar.gz"
}


[Debug - 11:30:23.963] Restoring previous local-only issue database from C:\Users\Fabrizio\.sonarlint\storage\local_only_issue_backup.tar.gz
[Trace - 11:30:23 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:23.984] Starting local-only issue database from C:\\Users\\Fabrizio\\.sonarlint\\xodus-local-only-issue-store2333646154597643814"
}


[Debug - 11:30:23.984] Starting local-only issue database from C:\Users\Fabrizio\.sonarlint\xodus-local-only-issue-store2333646154597643814
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Warn - 11:30:24.026] Can't open directory channel. Log directory fsync won't be performed."
}


[Warn - 11:30:24.026] Can't open directory channel. Log directory fsync won't be performed.
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.374] Fetching configuration for folder 'file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase'"
}


[Debug - 11:30:24.374] Fetching configuration for folder 'file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase'
[Trace - 11:30:24 AM] Received request 'workspace/configuration - (2)'.
Params: {
    "items": [
        {
            "scopeUri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase",
            "section": "sonarlint"
        },
        {
            "scopeUri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase",
            "section": "dotnet.defaultSolution"
        },
        {
            "scopeUri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase",
            "section": "omnisharp.useModernNet"
        },
        {
            "scopeUri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase",
            "section": "omnisharp.enableMsBuildLoadProjectsOnDemand"
        },
        {
            "scopeUri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase",
            "section": "omnisharp.projectLoadTimeout"
        },
        {
            "scopeUri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase",
            "section": "files.exclude"
        }
    ]
}


[Trace - 11:30:24 AM] Sending response 'workspace/configuration - (2)'. Processing request took 1ms
Result: [
    {
        "rules": {},
        "connectedMode": {
            "servers": [],
            "connections": {
                "sonarqube": [],
                "sonarcloud": []
            },
            "project": {}
        },
        "pathToNodeExecutable": "",
        "pathToCompileCommands": "",
        "testFilePattern": "",
        "analysisExcludesStandalone": "",
        "ls": {
            "javaHome": "",
            "vmargs": ""
        },
        "output": {
            "showVerboseLogs": true,
            "showAnalyzerLogs": true
        },
        "analyzerProperties": {},
        "trace": {
            "server": "verbose"
        },
        "disableTelemetry": false,
        "focusOnNewCode": false
    },
    "",
    true,
    false,
    60,
    {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/CVS": true,
        "**/.DS_Store": true,
        "**/Thumbs.db": true
    }
]


[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Error - 11:30:24.378] Unable to update configuration of folder file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase\njava.util.concurrent.ExecutionException: java.nio.file.InvalidPathException: Illegal char <\"> at index 0: \"\"\r\n\tat java.base/java.util.concurrent.CompletableFuture.reportGet(Unknown Source)\r\n\tat java.base/java.util.concurrent.CompletableFuture.get(Unknown Source)\r\n\tat org.sonarsource.sonarlint.ls.settings.SettingsManager.updateWorkspaceFolderSettings(SettingsManager.java:349)\r\n\tat org.sonarsource.sonarlint.ls.settings.SettingsManager.lambda$didChangeConfiguration$2(SettingsManager.java:194)\r\n\tat java.base/java.util.ArrayList.forEach(Unknown Source)\r\n\tat org.sonarsource.sonarlint.ls.settings.SettingsManager.lambda$didChangeConfiguration$3(SettingsManager.java:194)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n\tat java.base/java.lang.Thread.run(Unknown Source)\r\nCaused by: java.nio.file.InvalidPathException: Illegal char <\"> at index 0: \"\"\r\n\tat java.base/sun.nio.fs.WindowsPathParser.normalize(Unknown Source)\r\n\tat java.base/sun.nio.fs.WindowsPathParser.parse(Unknown Source)\r\n\tat java.base/sun.nio.fs.WindowsPathParser.parse(Unknown Source)\r\n\tat java.base/sun.nio.fs.WindowsPath.parse(Unknown Source)\r\n\tat java.base/sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)\r\n\tat java.base/java.nio.file.Path.resolve(Unknown Source)\r\n\tat org.sonarsource.sonarlint.ls.settings.SettingsManager.updateProperties(SettingsManager.java:291)\r\n\tat org.sonarsource.sonarlint.ls.settings.SettingsManager.lambda$requestSonarLintAndOmnisharpConfigurationAsync$7(SettingsManager.java:269)\r\n\tat java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)\r\n\tat java.base/java.util.concurrent.CompletableFuture.postComplete(Unknown Source)\r\n\tat java.base/java.util.concurrent.CompletableFuture.complete(Unknown Source)\r\n\tat org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:212)\r\n\tat org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:193)\r\n\tat org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)\r\n\tat org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)\r\n\tat org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)\r\n\tat java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)\r\n\tat java.base/java.util.concurrent.FutureTask.run(Unknown Source)\r\n\t... 3 more\r\n"
}


[Error - 11:30:24.378] Unable to update configuration of folder file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase
java.util.concurrent.ExecutionException: java.nio.file.InvalidPathException: Illegal char <"> at index 0: ""
	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.settings.SettingsManager.updateWorkspaceFolderSettings(SettingsManager.java:349)
	at org.sonarsource.sonarlint.ls.settings.SettingsManager.lambda$didChangeConfiguration$2(SettingsManager.java:194)
	at java.base/java.util.ArrayList.forEach(Unknown Source)
	at org.sonarsource.sonarlint.ls.settings.SettingsManager.lambda$didChangeConfiguration$3(SettingsManager.java:194)
	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: java.nio.file.InvalidPathException: Illegal char <"> at index 0: ""
	at java.base/sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
	at java.base/sun.nio.fs.WindowsPathParser.parse(Unknown Source)
	at java.base/sun.nio.fs.WindowsPathParser.parse(Unknown Source)
	at java.base/sun.nio.fs.WindowsPath.parse(Unknown Source)
	at java.base/sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
	at java.base/java.nio.file.Path.resolve(Unknown Source)
	at org.sonarsource.sonarlint.ls.settings.SettingsManager.updateProperties(SettingsManager.java:291)
	at org.sonarsource.sonarlint.ls.settings.SettingsManager.lambda$requestSonarLintAndOmnisharpConfigurationAsync$7(SettingsManager.java:269)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(Unknown Source)
	at java.base/java.util.concurrent.CompletableFuture.complete(Unknown Source)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleResponse(RemoteEndpoint.java:212)
	at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:193)
	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(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	... 3 more

[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.378] Global settings updated: WorkspaceSettings[analysisExcludes=,connections={},disableTelemetry=false,excludedRules=[],focusOnNewCode=false,includedRules=[],pathToNodeExecutable=,ruleParameters={},showAnalyzerLogs=true,showVerboseLogs=true]"
}


[Debug - 11:30:24.378] Global settings updated: WorkspaceSettings[analysisExcludes=,connections={},disableTelemetry=false,excludedRules=[],focusOnNewCode=false,includedRules=[],pathToNodeExecutable=,ruleParameters={},showAnalyzerLogs=true,showVerboseLogs=true]
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.381] Default settings updated: WorkspaceFolderSettings[analyzerProperties={},connectionId=<null>,pathToCompileCommands=,projectKey=<null>,testFilePattern=]"
}


[Debug - 11:30:24.381] Default settings updated: WorkspaceFolderSettings[analyzerProperties={},connectionId=<null>,pathToCompileCommands=,projectKey=<null>,testFilePattern=]
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.384] No connections configured, skipping binding suggestions."
}


[Debug - 11:30:24.384] No connections configured, skipping binding suggestions.
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.384] Synchronizing new configuration scopes: [<root>]"
}


[Debug - 11:30:24.384] Synchronizing new configuration scopes: [<root>]
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.389] Looking for node in the PATH"
}


[Debug - 11:30:24.389] Looking for node in the PATH
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.394] Execute command 'C:\\Windows\\System32\\where.exe $PATH:node.exe'..."
}


[Debug - 11:30:24.394] Execute command 'C:\Windows\System32\where.exe $PATH:node.exe'...
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.503] Command 'C:\\Windows\\System32\\where.exe $PATH:node.exe' exited with 0\nstdout: C:\\Program Files\\nodejs\\node.exe"
}


[Debug - 11:30:24.503] Command 'C:\Windows\System32\where.exe $PATH:node.exe' exited with 0
stdout: C:\Program Files\nodejs\node.exe
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.503] Found node at C:\\Program Files\\nodejs\\node.exe"
}


[Debug - 11:30:24.503] Found node at C:\Program Files\nodejs\node.exe
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.504] Checking node version..."
}


[Debug - 11:30:24.504] Checking node version...
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.504] Execute command 'C:\\Program Files\\nodejs\\node.exe -v'..."
}


[Debug - 11:30:24.504] Execute command 'C:\Program Files\nodejs\node.exe -v'...
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.536] Command 'C:\\Program Files\\nodejs\\node.exe -v' exited with 0\nstdout: v16.16.0"
}


[Debug - 11:30:24.536] Command 'C:\Program Files\nodejs\node.exe -v' exited with 0
stdout: v16.16.0
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.536] Detected node version: 16.16.0"
}


[Debug - 11:30:24.536] Detected node version: 16.16.0
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.536] Auto-detected Node.js path set to: C:\\Program Files\\nodejs\\node.exe (version 16.16.0)"
}


[Debug - 11:30:24.536] Auto-detected Node.js path set to: C:\Program Files\nodejs\node.exe (version 16.16.0)
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.562] Plugin 'JavaScript/TypeScript/CSS Code Quality and Security' requires Node.js 18.17.0 while current is 16.16.0. Skip loading it."
}


[Debug - 11:30:24.562] Plugin 'JavaScript/TypeScript/CSS Code Quality and Security' requires Node.js 18.17.0 while current is 16.16.0. Skip loading it.
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.641] Loaded 10 plugins"
}


[Debug - 11:30:24.641] Loaded 10 plugins
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.641]   * Python Code Quality and Security 4.21.0.16473 (python)"
}


[Debug - 11:30:24.641]   * Python Code Quality and Security 4.21.0.16473 (python)
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.641]   * CFamily Code Quality and Security 6.58.0.74356 (cpp)"
}


[Debug - 11:30:24.641]   * CFamily Code Quality and Security 6.58.0.74356 (cpp)
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.642]   * C# Code Quality and Security (Omnisharp) 1.24.0.100127 (csharp)"
}


[Debug - 11:30:24.642]   * C# Code Quality and Security (Omnisharp) 1.24.0.100127 (csharp)
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.642]   * Java Code Quality and Security 8.1.0.36477 (java)"
}


[Debug - 11:30:24.642]   * Java Code Quality and Security 8.1.0.36477 (java)
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.642]   * HTML Code Quality and Security 3.16.0.5274 (web)"
}


[Debug - 11:30:24.642]   * HTML Code Quality and Security 3.16.0.5274 (web)
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.642]   * XML Code Quality and Security 2.10.0.4108 (xml)"
}


[Debug - 11:30:24.642]   * XML Code Quality and Security 2.10.0.4108 (xml)
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.642]   * Go Code Quality and Security 1.15.0.4655 (go)"
}


[Debug - 11:30:24.642]   * Go Code Quality and Security 1.15.0.4655 (go)
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.642]   * PHP Code Quality and Security 3.37.0.12086 (php)"
}


[Debug - 11:30:24.642]   * PHP Code Quality and Security 3.37.0.12086 (php)
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.642]   * IaC Code Quality and Security 1.33.1.11833 (iac)"
}


[Debug - 11:30:24.642]   * IaC Code Quality and Security 1.33.1.11833 (iac)
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.642]   * Text Code Quality and Security 2.15.0.3845 (text)"
}


[Debug - 11:30:24.642]   * Text Code Quality and Security 2.15.0.3845 (text)
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.805] Creating container for module '<root>'"
}


[Debug - 11:30:24.805] Creating container for module '<root>'
[Trace - 11:30:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:30:24.829] Analysis readiness changed for config scope `<root>` to true"
}


[Debug - 11:30:24.829] Analysis readiness changed for config scope `<root>` to true
[Trace - 11:30:24 AM] Received notification 'sonarlint/submitNewCodeDefinition'.
Params: {
    "folderUri": "file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase",
    "newCodeDefinitionOrMessage": "From last 30 days",
    "isSupported": true
}


[Trace - 11:31:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Error - 11:31:24.381] Failed to initialize workspace folders.\njava.lang.IllegalStateException: Unable to get settings in time\r\n\tat org.sonarsource.sonarlint.ls.folders.WorkspaceFolderWrapper.getSettings(WorkspaceFolderWrapper.java:91)\r\n\tat java.base/java.util.Optional.map(Unknown Source)\r\n\tat org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.lambda$getBinding$0(ProjectBindingManager.java:167)\r\n\tat java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(Unknown Source)\r\n\tat org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.getBinding(ProjectBindingManager.java:166)\r\n\tat org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.getBinding(ProjectBindingManager.java:133)\r\n\tat org.sonarsource.sonarlint.ls.folders.WorkspaceFoldersManager.lambda$getBindingProvider$8(WorkspaceFoldersManager.java:126)\r\n\tat org.sonarsource.sonarlint.ls.backend.BackendService.lambda$addWorkspaceFolders$4(BackendService.java:199)\r\n\tat java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)\r\n\tat java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline.toList(Unknown Source)\r\n\tat org.sonarsource.sonarlint.ls.backend.BackendService.addWorkspaceFolders(BackendService.java:200)\r\n\tat org.sonarsource.sonarlint.ls.folders.WorkspaceFoldersManager.lambda$initialize$1(WorkspaceFoldersManager.java:80)\r\n\tat org.sonarsource.sonarlint.ls.util.CatchingRunnable.run(CatchingRunnable.java:36)\r\n\tat java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)\r\n\tat java.base/java.util.concurrent.FutureTask.run(Unknown Source)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n\tat java.base/java.lang.Thread.run(Unknown Source)\r\n"
}


[Error - 11:31:24.381] Failed to initialize workspace folders.
java.lang.IllegalStateException: Unable to get settings in time
	at org.sonarsource.sonarlint.ls.folders.WorkspaceFolderWrapper.getSettings(WorkspaceFolderWrapper.java:91)
	at java.base/java.util.Optional.map(Unknown Source)
	at org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.lambda$getBinding$0(ProjectBindingManager.java:167)
	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(Unknown Source)
	at org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.getBinding(ProjectBindingManager.java:166)
	at org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.getBinding(ProjectBindingManager.java:133)
	at org.sonarsource.sonarlint.ls.folders.WorkspaceFoldersManager.lambda$getBindingProvider$8(WorkspaceFoldersManager.java:126)
	at org.sonarsource.sonarlint.ls.backend.BackendService.lambda$addWorkspaceFolders$4(BackendService.java:199)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.toList(Unknown Source)
	at org.sonarsource.sonarlint.ls.backend.BackendService.addWorkspaceFolders(BackendService.java:200)
	at org.sonarsource.sonarlint.ls.folders.WorkspaceFoldersManager.lambda$initialize$1(WorkspaceFoldersManager.java:80)
	at org.sonarsource.sonarlint.ls.util.CatchingRunnable.run(CatchingRunnable.java:36)
	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)

[Trace - 11:32:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Error - 11:32:24.386] Error when handling a notification"
}


[Error - 11:32:24.386] Error when handling a notification
[Trace - 11:32:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Error - 11:32:24.386] java.lang.IllegalStateException: Unable to get settings in time\r\n\tat org.sonarsource.sonarlint.ls.folders.WorkspaceFolderWrapper.getSettings(WorkspaceFolderWrapper.java:91)\r\n\tat java.base/java.util.Optional.map(Unknown Source)\r\n\tat org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.lambda$getBinding$0(ProjectBindingManager.java:167)\r\n\tat java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(Unknown Source)\r\n\tat org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.getBinding(ProjectBindingManager.java:166)\r\n\tat org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.getBinding(ProjectBindingManager.java:133)\r\n\tat org.sonarsource.sonarlint.ls.ForcedAnalysisCoordinator.lambda$analyzeAllUnboundOpenFiles$7(ForcedAnalysisCoordinator.java:132)\r\n\tat java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)\r\n\tat java.base/java.util.concurrent.ConcurrentHashMap$ValueSpliterator.forEachRemaining(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline.toList(Unknown Source)\r\n\tat org.sonarsource.sonarlint.ls.ForcedAnalysisCoordinator.analyzeAllUnboundOpenFiles(ForcedAnalysisCoordinator.java:133)\r\n\tat org.sonarsource.sonarlint.ls.clientapi.SonarLintVSCodeClient.lambda$didChangeAnalysisReadiness$18(SonarLintVSCodeClient.java:532)\r\n\tat java.base/java.util.ArrayList.forEach(Unknown Source)\r\n\tat org.sonarsource.sonarlint.ls.clientapi.SonarLintVSCodeClient.didChangeAnalysisReadiness(SonarLintVSCodeClient.java:524)\r\n\tat org.sonarsource.sonarlint.core.rpc.client.SonarLintRpcClientImpl.lambda$didChangeAnalysisReadiness$33(SonarLintRpcClientImpl.java:358)\r\n\tat org.sonarsource.sonarlint.core.rpc.client.SonarLintRpcClientImpl.lambda$notify$4(SonarLintRpcClientImpl.java:150)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n\tat java.base/java.lang.Thread.run(Unknown Source)\r\n"
}


[Error - 11:32:24.386] java.lang.IllegalStateException: Unable to get settings in time
	at org.sonarsource.sonarlint.ls.folders.WorkspaceFolderWrapper.getSettings(WorkspaceFolderWrapper.java:91)
	at java.base/java.util.Optional.map(Unknown Source)
	at org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.lambda$getBinding$0(ProjectBindingManager.java:167)
	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(Unknown Source)
	at org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.getBinding(ProjectBindingManager.java:166)
	at org.sonarsource.sonarlint.ls.connected.ProjectBindingManager.getBinding(ProjectBindingManager.java:133)
	at org.sonarsource.sonarlint.ls.ForcedAnalysisCoordinator.lambda$analyzeAllUnboundOpenFiles$7(ForcedAnalysisCoordinator.java:132)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
	at java.base/java.util.concurrent.ConcurrentHashMap$ValueSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.toList(Unknown Source)
	at org.sonarsource.sonarlint.ls.ForcedAnalysisCoordinator.analyzeAllUnboundOpenFiles(ForcedAnalysisCoordinator.java:133)
	at org.sonarsource.sonarlint.ls.clientapi.SonarLintVSCodeClient.lambda$didChangeAnalysisReadiness$18(SonarLintVSCodeClient.java:532)
	at java.base/java.util.ArrayList.forEach(Unknown Source)
	at org.sonarsource.sonarlint.ls.clientapi.SonarLintVSCodeClient.didChangeAnalysisReadiness(SonarLintVSCodeClient.java:524)
	at org.sonarsource.sonarlint.core.rpc.client.SonarLintRpcClientImpl.lambda$didChangeAnalysisReadiness$33(SonarLintRpcClientImpl.java:358)
	at org.sonarsource.sonarlint.core.rpc.client.SonarLintRpcClientImpl.lambda$notify$4(SonarLintRpcClientImpl.java:150)
	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)

[Trace - 11:32:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:32:24.386] VCS repository changed for configuration scope 'file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase', queuing matching of the Sonar project branch..."
}


[Debug - 11:32:24.386] VCS repository changed for configuration scope 'file:///d:/Users/Fabrizio/Desktop/Progetti/NameOfMyProjectInCamelCase', queuing matching of the Sonar project branch...
[Trace - 11:32:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:32:24.386] Matching Sonar project branch"
}


[Debug - 11:32:24.386] Matching Sonar project branch
[Trace - 11:32:24 AM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[Debug - 11:32:24.386] No binding for configuration scope"
}


[Debug - 11:32:24.386] No binding for configuration scope

1 Like

Wow, guys, thanks a lot again for the reports! Thanks to you, we found a bug (tracked here).

From 4.9.1 to 4.10 we slightly refactored the code that was handling the parsing of client settings, and a bug slipped through :see_no_evil:

We are already working on a proper fix and it will be a part of the upcoming release.

All the best,
Sophio

2 Likes