Error in SonarLint for IntelliJ. I have to terminate IntelliJ IDEA for unfreeze IDE

Environment:

  • Java: JetBrains s.r.o. 17.0.9
  • OS: Windows 11 amd64
  • IDE: IntelliJ IDEA 2023.2.5
  • SonarLint: 10.1.0.77128

*** exception class was changed or removed

   Freeze for 40 seconds
IDE KILLED! Sampled time: 29800ms, sampling rate: 100ms, GC time: 47ms (0%), Class loading: 0%, cpu load: 5%

The stack is from the thread that was blocking EDT
   
   c.ij.diagnostic.Freeze
	at o.sl.ij.finding.persistence.LiveFindingCache.getLive(LiveFindingCache.java:123)
	at o.sl.ij.finding.persistence.FindingsCache.lambda$getFindingsForFile$0(FindingsCache.java:76)
	at o.sl.ij.finding.persistence.FindingsCache$$Lambda$8198/0x0000000803099588.apply(Unknown Source)
	at java.base@17.0.9/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base@17.0.9/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
	at java.base@17.0.9/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base@17.0.9/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base@17.0.9/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
	at java.base@17.0.9/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base@17.0.9/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
	at o.sl.ij.finding.persistence.FindingsCache.getFindingsForFile(FindingsCache.java:79)
	at o.sl.ij.ui.traffic.light.SonarLintTrafficLightAction.updatePresentation(SonarLintTrafficLightAction.kt:57)
	at o.sl.ij.actions.AbstractSonarAction.update(AbstractSonarAction.java:67)

A post was merged into an existing topic: The idea interface suddenly stuck

Hello @VaolEr,

I moved your post to a related topic, and I will close this one. You can give a try to the build I prepared. Thanks for reporting