Hello Sonar-Team,
- SonarQube Server Developer Edition v2026.2.1 (121354)
- SonarJS v12.1.0.39434
- Installation via zip
- node v20.17.0
with the mentioned versions we are running into a null pointer exception since April 30th:
12:39:29.719 ERROR Runtime exception during onWebsocketMessage
java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because the return value of "org.sonar.plugins.javascript.bridge.BridgeServer$Issue.ruleESLintKeys()" is null
at org.sonar.plugins.javascript.external.ExternalIssueRepository.deduplicateIssues(ExternalIssueRepository.java:108)
at org.sonar.plugins.javascript.analysis.WebSensor$AnalyzeProjectHandler.handleMessage(WebSensor.java:320)
at org.sonar.plugins.javascript.bridge.JSWebSocketClient.onMessage(JSWebSocketClient.java:76)
at org.java_websocket.client.WebSocketClient.onWebsocketMessage(WebSocketClient.java:661)
at org.java_websocket.drafts.Draft_6455.processFrameText(Draft_6455.java:986)
at org.java_websocket.drafts.Draft_6455.processFrame(Draft_6455.java:910)
at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:397)
at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:229)
at org.java_websocket.client.WebSocketClient.run(WebSocketClient.java:544)
at java.base/java.lang.Thread.run(Unknown Source)
We are using Sonar for a vue 3 project with the following dependencies and version:
"dependencies": {
"@vueuse/components": "10.11.1",
"@vueuse/core": "10.11.1",
"axios": "1.13.5",
"luxon": "3.5.0",
"marked": "14.1.2",
"sass": "1.77.8",
"sass-loader": "16.0.0",
"typescript-eslint": "8.39.1",
"vue": "3.4.37",
"vue-axios": "3.5.2"
},
"devDependencies": {
"@stylistic/eslint-plugin": "5.2.3",
"@types/luxon": "3.4.2",
"@types/node": "22.3.0",
"@vitejs/plugin-vue": "5.1.2",
"eslint": "9.39.0",
"eslint-plugin-vue": "9.27.0",
"sass": "1.77.8",
"sass-loader": "14.1.0",
"typescript": "5.5.4",
"vite": "5.4.21",
"vue-a11y-dialog": "1.1.2",
"vue-tsc": "2.0.29"
},
Lintreport ist generated via:
"lintReport": "eslint -f json -o eslint_report.json ; exit 0"
We already checked the eslint_report.json for nullish ruleIds but this is not the case.
Running current node LTS does not fix the issue.
We did not change the configuration and we did not run into this issue with SonarJS v11.8.0.37897.
Can you help us with this issue?
If you need further information, please let me know.
Thanks alot, cheers
Niklas
