Error in SonarLint for IntelliJ - IDE killed ConnectedSonarLintEngineImpl.withReadLock

IntelliJ IDEA 2021.2 EAP (Ultimate Edition)
Build #IU-212.4037.9, built on June 8, 2021
IntelliJ IDEA EAP User
Runtime version: 11.0.11+9-b1481.1 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.4
GC: G1 Young Generation, G1 Old Generation
Memory: 4000M
Cores: 12
Freeze for 180 seconds
IDE KILLED! Sampled time: 169900ms, sampling rate: 100ms, GC time: 73ms (0%), Class loading: 0%, cpu load: 0%

The stack is from the thread that was blocking EDT

com.intellij.diagnostic.Freeze
	at java.base@11.0.11/jdk.internal.misc.Unsafe.park(Native Method)
	at java.base@11.0.11/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
	at java.base@11.0.11/java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:885)
	at java.base@11.0.11/java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireShared(AbstractQueuedSynchronizer.java:1009)
	at java.base@11.0.11/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1324)
	at java.base@11.0.11/java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock(ReentrantReadWriteLock.java:738)
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(ConnectedSonarLintEngineImpl.java:347)
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.getProjectStorageStatus(ConnectedSonarLintEngineImpl.java:291)
	at org.sonarlint.intellij.core.SonarLintEngineManager.checkConnectedEngineStatus(SonarLintEngineManager.java:86)
	at org.sonarlint.intellij.core.SonarLintEngineManager.getConnectedEngine(SonarLintEngineManager.java:152)
	at org.sonarlint.intellij.core.ProjectBindingManager.getFacade(ProjectBindingManager.java:79)
	at org.sonarlint.intellij.core.ProjectBindingManager.getFacade(ProjectBindingManager.java:64)
	at org.sonarlint.intellij.analysis.LocalFileExclusions.filterWithServerExclusions(LocalFileExclusions.java:249)
	at org.sonarlint.intellij.analysis.LocalFileExclusions.retainNonExcludedFilesByModules(LocalFileExclusions.java:157)
	at org.sonarlint.intellij.ui.AutoTriggerStatusPanel.lambda$switchCards$3(AutoTriggerStatusPanel.java:118)
	at org.sonarlint.intellij.ui.AutoTriggerStatusPanel$$Lambda$8563/0x000000080429d840.run(Unknown Source)
	at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:264)
	at java.base@11.0.11/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base@11.0.11/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base@11.0.11/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base@11.0.11/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base@11.0.11/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
	at java.base@11.0.11/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
	at java.base@11.0.11/java.security.AccessController.doPrivileged(Native Method)
	at java.base@11.0.11/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
	at java.base@11.0.11/java.lang.Thread.run(Thread.java:829)

Hello Nick,

Thanks for this report. I don’t think the stack trace you reported is the EDT one. It is useful though.

This problem is related to what is already reported in a discussion you posted in where I will provide more details, so I will close this one.

Thanks again
Damien

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.