mbolotov / intellij-cypress

IntelliJ-Cypress plugin: https://plugins.jetbrains.com/plugin/13819-intellij-cypress Pro version: https://plugins.jetbrains.com/plugin/13987-cypress-support-pro
MIT License
35 stars 5 forks source link

plugin crashes on opening project with TS #68

Closed rnovosad closed 2 years ago

rnovosad commented 2 years ago

Please investigate

java.lang.Throwable: Must be executed under progress indicator: com.intellij.openapi.progress.EmptyProgressIndicator@218aba66. Please see e.g. ProgressManager.runProcess() at com.intellij.openapi.diagnostic.Logger.error(Logger.java:182) at com.intellij.openapi.progress.impl.CoreProgressManager.assertUnderProgress(CoreProgressManager.java:1002) at com.intellij.psi.impl.search.PsiSearchHelperImpl.processFilesConcurrentlyDespiteWriteActions(PsiSearchHelperImpl.java:424) at com.intellij.psi.impl.search.PsiSearchHelperImpl.processPsiFileRoots(PsiSearchHelperImpl.java:390) at com.intellij.psi.impl.search.PsiSearchHelperImpl.processCandidates(PsiSearchHelperImpl.java:904) at com.intellij.psi.impl.search.PsiSearchHelperImpl.processGlobalRequests(PsiSearchHelperImpl.java:874) at com.intellij.psi.impl.search.PsiSearchHelperImpl.processGlobalRequestsOptimized(PsiSearchHelperImpl.java:840) at com.intellij.psi.impl.search.PsiSearchHelperImpl.processRequests(PsiSearchHelperImpl.java:765) at com.intellij.psi.search.SearchRequestQuery.processResults(SearchRequestQuery.java:24) at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91) at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:108) at com.intellij.util.MergeQuery.processResults(MergeQuery.java:22) at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91) at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:108) at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39) at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91) at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:83) at com.intellij.util.AbstractQuery.findAll(AbstractQuery.java:28) at com.intellij.util.Query.iterator(Query.java:129) at com.intellij.util.AbstractQuery.iterator(AbstractQuery.java:39) at kotlin.collections.CollectionsKtCollectionsKt$asSequence$$inlined$Sequence$1.iterator(Sequences.kt:681) at kotlin.sequences.TransformingSequence$iterator$1.(Sequences.kt:208) at kotlin.sequences.TransformingSequence.iterator(Sequences.kt:207) at kotlin.sequences.FilteringSequence$iterator$1.(Sequences.kt:164) at kotlin.sequences.FilteringSequence.iterator(Sequences.kt:163) at kotlin.sequences.FilteringSequence$iterator$1.(Sequences.kt:164) at kotlin.sequences.FilteringSequence.iterator(Sequences.kt:163) at kotlin.sequences.SequencesKtSequencesKt.toCollection(_Sequences.kt:752) at kotlin.sequences.SequencesKt_SequencesKt.toMutableList(Sequences.kt:782) at kotlin.sequences.SequencesKtSequencesKt.toList(_Sequences.kt:773) at me.mbolotov.cypress.refactoring.ExtractCommandKt.implementationRefs(Unknown Source) at me.mbolotov.cypress.refactoring.ImplementCommandIntention.isAvailable(Unknown Source) at com.intellij.codeInsight.intention.BaseElementAtCaretIntentionAction.isAvailable(BaseElementAtCaretIntentionAction.java:45) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.availableFor(ShowIntentionActionsHandler.java:169) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.lambda$getActionsToShow$1(ShowIntentionsPass.java:336) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseBetweenHostAndInjected(ShowIntentionActionsHandler.java:202) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:335) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:295) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:269) at com.intellij.ide.actions.ApplyIntentionAction.getAvailableIntentions(ApplyIntentionAction.java:50) at com.intellij.ide.util.gotoByName.GotoActionModel.getAvailableIntentions(GotoActionModel.java:124) at com.intellij.ide.util.gotoByName.GotoActionItemProvider.lambda$new$0(GotoActionItemProvider.java:58) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:854) at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:61) at com.intellij.ide.util.gotoByName.GotoActionItemProvider.lambda$new$1(GotoActionItemProvider.java:58) at com.intellij.openapi.util.ClearableLazyValue$1.compute(ClearableLazyValue.java:17) at com.intellij.openapi.util.ClearableLazyValue.getValue(ClearableLazyValue.java:39) at com.intellij.ide.util.gotoByName.GotoActionItemProvider.processIntentions(GotoActionItemProvider.java:249) at com.intellij.ide.util.gotoByName.GotoActionItemProvider.filterElements(GotoActionItemProvider.java:96) at com.intellij.ide.actions.searcheverywhere.ActionSearchEverywhereContributor.fetchWeightedElements(ActionSearchEverywhereContributor.java:99) at com.intellij.ide.actions.searcheverywhere.MixedResultsSearcher$ContributorSearchTask.run(MixedResultsSearcher.java:177) at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:213) at com.intellij.util.ConcurrencyUtil.lambda$underThreadNameRunnable$3(ConcurrencyUtil.java:201) at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:265) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665) at java.base/java.lang.Thread.run(Thread.java:829)

mbolotov commented 2 years ago

should be fixed in 2.5.1