Error in SonarLint for IntelliJ

Environment:

  • Java: JetBrains s.r.o. 21.0.3
  • OS: Windows 10 amd64
  • IDE: IntelliJ IDEA 2024.2.0.1
  • SonarLint: 10.8.1.79205
java.lang.IllegalStateException: There is no ProgressIndicator or Job in this thread, the current job is not cancellable.
	at c.ij.oa.progress.CoroutinesKt$runBlockingCancellable$1.invoke(coroutines.kt:141)
	at c.ij.oa.progress.CoroutinesKt$runBlockingCancellable$1.invoke(coroutines.kt:139)
	at c.ij.oa.progress.ContextKt.prepareThreadContext(context.kt:85)
	at c.ij.oa.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:139)
	at c.ij.oa.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:122)
	at c.ij.execution.wsl.WslIjentUtil.runProcessBlocking(WslIjentUtil.kt:64)
	at c.ij.execution.wsl.WSLDistribution.lambda$patchCommandLine$2(WSLDistribution.java:241)
	at c.ij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:463)
	at c.ij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:469)
	at c.ij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:374)
	at c.ij.execution.process.OSProcessHandler.startProcess(OSProcessHandler.java:85)
	at c.ij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:45)
	at c.ij.execution.process.KillableProcessHandler.<init>(KillableProcessHandler.java:41)
	at c.ij.execution.process.KillableProcessHandler.<init>(KillableProcessHandler.java:55)
	at git4idea.commands.GitTextHandler$MyOSProcessHandler.<init>(GitTextHandler.java:166)
	at git4idea.commands.GitLineHandler$1.<init>(GitLineHandler.java:143)

Hi,

Welcome to the community!

Can you share what you were doing when this happened? And the full stacktrace, if you still have it?

 
Thx,
Ann

Hello, Ann.

I forgot what I was doing and I don’t have the fullstack trace anymore. If this error happens again, I’ll send it to you.

1 Like