com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation
See original GitHub issueQ | A |
---|---|
Bug report? | yes |
Plugin version | 1.2.0 |
Pest version | x.y.z |
IntelliJ version | PS-212.5284.49 |
OS | Mac OS X |
Description
Stacktrace
com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation
at com.intellij.openapi.project.IndexNotReadyException.create(IndexNotReadyException.java:67)
at com.intellij.util.indexing.FileBasedIndexImpl.handleDumbMode(FileBasedIndexImpl.java:821)
at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:773)
at com.intellij.psi.stubs.StubIndexImpl.getContainingIds(StubIndexImpl.java:501)
at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:305)
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:100)
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:88)
at com.jetbrains.php.PhpIndexImpl.getElements(PhpIndexImpl.java:574)
at com.jetbrains.php.PhpIndexImpl.lambda$getFunctionsByName$12(PhpIndexImpl.java:522)
at com.jetbrains.php.PhpIndexImpl.getCached(PhpIndexImpl.java:503)
at com.jetbrains.php.PhpIndexImpl.getFunctionsByName(PhpIndexImpl.java:521)
at com.jetbrains.php.PhpIndexImpl.getFunctionsByFQN(PhpIndexImpl.java:530)
at com.jetbrains.php.PhpIndexImpl.getBySignatureInternal(PhpIndexImpl.java:723)
at com.jetbrains.php.PhpIndexImpl.getBySignature(PhpIndexImpl.java:662)
at com.jetbrains.php.PhpIndexImpl.getBySignature(PhpIndexImpl.java:649)
at com.jetbrains.php.lang.psi.resolve.types.generics.PhpGenericsBaseExtendedWithGenericTypeProvider.decodeExtendedClassesAndSubstitutedTemplates(PhpGenericsBaseExtendedWithGenericTypeProvider.java:113)
at com.jetbrains.php.lang.psi.resolve.types.generics.PhpGenericsBaseExtendedWithGenericTypeProvider.getExtendedClassesToSubstitutedTemplates(PhpGenericsBaseExtendedWithGenericTypeProvider.java:89)
at com.jetbrains.php.lang.psi.resolve.types.generics.PhpGenericsBaseExtendedWithGenericTypeProvider.complete(PhpGenericsBaseExtendedWithGenericTypeProvider.java:67)
at com.jetbrains.php.PhpIndexImpl.lambda$doCompleteType$1(PhpIndexImpl.java:158)
at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
at com.jetbrains.php.PhpIndexImpl.doCompleteType(PhpIndexImpl.java:158)
at com.jetbrains.php.PhpIndexImpl.completeType(PhpIndexImpl.java:115)
at com.jetbrains.php.PhpIndexImpl.completeType(PhpIndexImpl.java:94)
at com.jetbrains.php.lang.psi.resolve.types.PhpType.global(PhpType.java:688)
at com.pestphp.pest.customExpectations.generators.ExpectationGenerator.methodString(ExpectationGenerator.kt:32)
at com.pestphp.pest.customExpectations.generators.ExpectationGenerator.access$methodString(ExpectationGenerator.kt:11)
at com.pestphp.pest.customExpectations.generators.ExpectationGenerator$generate$1.invoke(ExpectationGenerator.kt:16)
at com.pestphp.pest.customExpectations.generators.ExpectationGenerator$generate$1.invoke(ExpectationGenerator.kt:16)
at kotlin.text.StringsKt__AppendableKt.appendElement(A
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Please change caller according to com.intellij.openapi.project ...
project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation at com.
Read more >Why I get IndexNotReadyException
https://github.com/JetBrains/intellij-community/blob/master/platform/core-api/src/com/intellij/openapi/project/IndexNotReadyException.java
Read more >Please change caller according to com.intellij ... - YouTrack
Open any project PHP project with or without phar. There will be the following exception: Please change caller according to com.intellij.openapi.project.
Read more >Please change caller according to com.intellij.openapi.project ...
IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation. EA-1069229
Read more >Please change caller according to com.intellij ... - YouTrack
Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation. Duplicates 1. Duplicates 1 issue (1 unresolved).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think I might have found the cause, however would like to get it verified before releasing a new release.
@crezra and @qwertywelch could you please install this EAP and check if you still have issues?
Install it manually using <kbd>Preferences</kbd> > <kbd>Plugins</kbd> > <kbd>⚙️</kbd> > <kbd>Install plugin from disk…</kbd> PEST PHP-1.2.1-EAP.1.zip
Same issue immediately after updating to the Pest plugin 1.2.0 and opening a project. Here’s the full stack trace: