Sonarqube intellij plugin crashes with ConcurrentModification

versions:

SonarQube Community Edition Version 9.9.2 (build 77730)
Intellij 2023.2.5
Intellij Sonarlint plugin 10.0.1.77000

I am uncertain about how the sonarqube server is deployed, but this works in other projects.

I am trying to run sonarlint on a project by going to Sonarlint window, pressing Report, “Analyze All Project Files”, “OK”.

I then get this output in the log:

Using connection 'SKE Sonar' for project 'no.skatteetaten.aurora:autobumper'
Analysing 'BitBucketConfig.kt'...
Found 0 issues and 0 hotspots
Error running SonarLint analysis
java.util.ConcurrentModificationException
	at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:723)
	at org.sonarlint.intellij.finding.persistence.LiveFindingCache.flushAll(LiveFindingCache.java:141)
	at org.sonarlint.intellij.finding.persistence.LiveFindingCache.replaceFindings(LiveFindingCache.java:59)
	at org.sonarlint.intellij.finding.persistence.FindingsCache.replaceFindings(FindingsCache.java:100)
	at org.sonarlint.intellij.analysis.Analysis.doRun(Analysis.java:141)
	at org.sonarlint.intellij.analysis.Analysis.run(Analysis.java:79)
	at org.sonarlint.intellij.tasks.TaskRunnerKt$startBackgroundable$task$1.run(TaskRunner.kt:54)
	at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:428)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:115)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$6(CoreProgressManager.java:478)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:251)
	at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:71)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173)
	at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:71)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:251)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:465)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
	at java.base/java.lang.Thread.run(Thread.java:840)

Using connection 'SKE Sonar' for project 'no.skatteetaten.aurora:autobumper'
Analysing 'BitBucketRestClient.kt'...
Found 0 issues and 0 hotspots
Using connection 'SKE Sonar' for project 'no.skatteetaten.aurora:autobumper'
Analysing 'BitBucketRestClient.kt'...
Found 0 issues and 0 hotspots
Analysis canceled

Apparently it works some of the time so there seems to be a race condition somewhere.
For another project, it seems to work every time:

Using connection 'SKE Sonar' for project 'no.skatteetaten.sikkerhet.autentisering:bigbird'
Analysing 120 files...
Found 15 issues and 0 hotspots

Also, strangely, the two projects seem to get different results (the last one identifies commented out code, but the one that fails occasionally, doesn’t)

Hi @ThomasArpSkatt,

We are aware of this issue and already fixed it. A new version will be released in a couple of days.

Thanks for using SonarLint!