# Error in SonarLint for IntelliJ

**URL:** <https://community.sonarsource.com/t/error-in-sonarlint-for-intellij/118495>\
**Category:** IntelliJ Platform\
**Tags:** intellij, sonarqube-ide\
**Created:** [July 5, 2024, 1:05pm UTC](https://community.sonarsource.com/t/error-in-sonarlint-for-intellij/118495 "2024-07-05T13:05:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikhailNUWA](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/mikhailnuwa/32/53848_2.png) [@MikhailNUWA](https://community.sonarsource.com/u/MikhailNUWA)\
**Post date:** [July 5, 2024, 1:05pm UTC](https://community.sonarsource.com/t/error-in-sonarlint-for-intellij/118495/1 "2024-07-05T13:05:01Z")

</div>

Environment:

- Java: JetBrains s.r.o. 21.0.3
- OS: Windows 11 amd64
- IDE: CLion 2024.2 EAP
- SonarLint: 10.7.0.78874

```auto
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:128)
	at c.ij.oa.progress.CoroutinesKt$runBlockingCancellable$1.invoke(coroutines.kt:126)
	at c.ij.oa.progress.ContextKt.prepareThreadContext(context.kt:85)
	at c.ij.oa.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:126)
	at c.ij.oa.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:121)
	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)
```

---

<div class="post-metadata">

**Author:** ![nicolas.quinquenel](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/nicolas.quinquenel/32/40740_2.png) [@nicolas.quinquenel](https://community.sonarsource.com/u/nicolas.quinquenel)\
**Post date:** [July 8, 2024, 8:03am UTC](https://community.sonarsource.com/t/error-in-sonarlint-for-intellij/118495/5 "2024-07-08T08:03:54Z")

</div>

Thank you, @MikhailNUWA, for notifying us about this.

It seems to be coming from the IDE rather than from us. If you have the full stack trace, could you share it?

I see many tickets on JetBrains’ side, such as this [one](https://youtrack.jetbrains.com/issue/IJPL-72798/GitOutgoingCommitsProvider-WSL-There-is-no-ProgressIndicator-or-Job-in-this-thread-the-current-job-is-not-cancellable.). I suggest keeping an eye on these tickets.

---

<div class="post-metadata">

**Author:** ![MikhailNUWA](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/mikhailnuwa/32/53848_2.png) [@MikhailNUWA](https://community.sonarsource.com/u/MikhailNUWA)\
**Post date:** [July 11, 2024, 8:02pm UTC](https://community.sonarsource.com/t/error-in-sonarlint-for-intellij/118495/6 "2024-07-11T20:02:43Z")

</div>

Environment:

- Java: JetBrains s.r.o. 21.0.3
- OS: Windows 11 amd64
- IDE: CLion 2024.2 EAP
- SonarLint: 10.7.0.78874

```auto
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:128)
	at c.ij.oa.progress.CoroutinesKt$runBlockingCancellable$1.invoke(coroutines.kt:126)
	at c.ij.oa.progress.ContextKt.prepareThreadContext(context.kt:85)
	at c.ij.oa.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:126)
	at c.ij.oa.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:121)
	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)
```
