Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin causes an exception when launching php storm #150

Open
jakub-gawlik opened this issue Nov 26, 2024 · 2 comments
Open

plugin causes an exception when launching php storm #150

jakub-gawlik opened this issue Nov 26, 2024 · 2 comments

Comments

@jakub-gawlik
Copy link

OS: Windows 11
PhpStorm 2024.3

Extension seems to be working as expected though.

Please let me know if you want me to provide any more details.

Screenshot

image

Complete log

java.lang.IllegalStateException: There is no ProgressIndicator or Job in this thread, the current job is not cancellable.
	at com.intellij.openapi.progress.CoroutinesKt.runBlockingCancellable$lambda$0(coroutines.kt:142)
	at com.intellij.openapi.progress.ContextKt.prepareThreadContext(context.kt:85)
	at com.intellij.openapi.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:140)
	at com.intellij.openapi.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:123)
	at com.intellij.execution.wsl.WslIjentUtil.runProcessBlocking(WslIjentUtil.kt:68)
	at com.intellij.execution.wsl.WSLDistribution.lambda$patchCommandLine$2(WSLDistribution.java:245)
	at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:463)
	at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:469)
	at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:374)
	at com.intellij.execution.process.OSProcessHandler.startProcess(OSProcessHandler.java:85)
	at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:45)
	at com.intellij.execution.process.KillableProcessHandler.<init>(KillableProcessHandler.java:41)
	at com.intellij.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)
	at git4idea.commands.GitLineHandler.createProcess(GitLineHandler.java:143)
	at git4idea.commands.GitTextHandler.startProcess(GitTextHandler.java:77)
	at git4idea.commands.GitHandler.start(GitHandler.java:470)
	at git4idea.commands.GitHandler.runInCurrentThread(GitHandler.java:408)
	at git4idea.commands.GitImplBase.doRun(GitImplBase.java:199)
	at git4idea.commands.GitImplBase.run(GitImplBase.java:171)
	at git4idea.commands.GitImplBase.runCommand(GitImplBase.java:62)
	at git4idea.config.GitConfigUtil.getValue(GitConfigUtil.java:88)
	at git4idea.config.GitConfigUtil.getValue(GitConfigUtil.java:75)
	at git4idea.GitUserRegistry.readCurrentUser(GitUserRegistry.java:71)
	at git4idea.GitUserRegistry.readUser(GitUserRegistry.java:62)
	at git4idea.GitUserRegistry.getOrReadUser(GitUserRegistry.java:52)
	at git4idea.log.GitLogProvider.getCurrentUser(GitLogProvider.java:553)
	at com.github.lppedd.cc.vcs.InternalVcsService$fetchCurrentUsers$1.invoke(InternalVcsService.kt:75)
	at com.github.lppedd.cc.vcs.InternalVcsService$fetchCurrentUsers$1.invoke(InternalVcsService.kt:75)
	at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:210)
	at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:170)
	at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
	at kotlin.sequences.SequencesKt___SequencesKt.toSet(_Sequences.kt:838)
	at com.github.lppedd.cc.vcs.InternalVcsService.fetchCurrentUsers(InternalVcsService.kt:77)
	at com.github.lppedd.cc.vcs.InternalVcsService.refreshCachedValues(InternalVcsService.kt:69)
	at com.github.lppedd.cc.vcs.InternalVcsService.refresh(InternalVcsService.kt:55)
	at com.github.lppedd.cc.vcs.VcsStartupActivity.runActivity$lambda$1$lambda$0(VcsStartupActivity.kt:21)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport$executeOnPooledThread$1.run(AnyThreadWriteThreadingSupport.kt:167)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
	at com.intellij.util.concurrency.ContextCallable.lambda$call$1(ContextCallable.java:74)
	at com.intellij.util.concurrency.ContextCallable.call(ContextCallable.java:83)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:101)
	at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:101)
	at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:107)
	at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:101)
	at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
	at java.base/java.lang.Thread.run(Thread.java:1583)
@lppedd
Copy link
Owner

lppedd commented Nov 27, 2024

Thanks for the report!
Will be fixed in the next release, which I'll publish on the weekend.

@botmaster
Copy link

Hello,
Same issue.

WebStorm 2024.3
Build #WS-243.21565.180, built on November 12, 2024

Runtime version: 21.0.5+8-b631.16 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 10.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 6144M
Cores: 16
Registry:
debugger.new.tool.window.layout=true
ide.experimental.ui=true
i18n.locale=
Non-Bundled Plugins:
com.github.patou.gitmoji (2.2.2)
de.femtopedia.diffplugin (2.2.0)
com.jetbrains.space (243.21565.122)
com.samvtran.plugins.macosforallkeymap (3.0.0)
com.github.lppedd.idea-conventional-commit (0.23.1)
org.toml.lang (243.21565.122)
com.arcticicestudio.nord.jetbrains (0.13.0)
Key Promoter X (2024.2.2)
com.jetbrains.twig (243.21565.208)
com.intellij.kubernetes (243.21565.180)
ru.adelf.idea.dotenv (2024.3)
com.intellij.ml.llm (243.21565.247)
org.jetbrains.plugins.gitlab (243.21565.204)
org.jetbrains.plugins.github (243.21565.204-ultimate)
com.github.aleksandrsl.intellijbrowserslist (1.0.2)
com.eny.i18n (2.6.2)
de.marhali.easyi18n (4.7.0)
org.jetbrains.plugins.astro (243.21565.120)
com.github.copilot (1.5.29.7524)
mobi.hsz.idea.gitignore (4.5.4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants