# Error in SonarLint for IntelliJ

**URL:** <https://community.sonarsource.com/t/error-in-sonarlint-for-intellij/125168>\
**Category:** IntelliJ Platform\
**Tags:** intellij, sonarqube-ide\
**Created:** [September 16, 2024, 7:56am UTC](https://community.sonarsource.com/t/error-in-sonarlint-for-intellij/125168 "2024-09-16T07:56:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![quentinf](https://avatars.discourse-cdn.com/v4/letter/q/e47c2d/32.png) [@quentinf](https://community.sonarsource.com/u/quentinf)\
**Post date:** [September 16, 2024, 7:56am UTC](https://community.sonarsource.com/t/error-in-sonarlint-for-intellij/125168/1 "2024-09-16T07:56:03Z")

</div>

Environment:

- Java: JetBrains s.r.o. 21.0.3
- OS: Windows 11 amd64
- IDE: PhpStorm 2024.2
- SonarLint: 10.8.1.79205

```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: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)
```

---

<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:** [September 16, 2024, 9:44am UTC](https://community.sonarsource.com/t/error-in-sonarlint-for-intellij/125168/3 "2024-09-16T09:44:13Z")

</div>

Hello @quentinf, thanks for reaching out to us.

Which IDE version are you using?

I believe this issue happens on IntelliJ 2024.1 and should be fixed on the latest version, currently 2024.2, as stated by this [bug report](https://youtrack.jetbrains.com/issue/IDEA-347138/java.lang.IllegalStateException-There-is-no-ProgressIndicator-or-Job-in-this-thread-the-current-job-is-not-cancellable-at-at) on JetBrains’ side.

I also invite you to update SonarLint to the latest version, currently 10.9! :sonarlint:
