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

com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation #20

Open
uigdwunm opened this issue Mar 2, 2021 · 2 comments

Comments

@uigdwunm
Copy link

uigdwunm commented Mar 2, 2021

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:756)
at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:708)
at com.intellij.psi.stubs.StubIndexImpl.getContainingIds(StubIndexImpl.java:465)
at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:298)
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:105)
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:93)
at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:30)
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.doFindClasses(JavaFileManagerImpl.java:86)
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClasses(JavaFileManagerImpl.java:73)
at com.intellij.psi.impl.PsiElementFinderImpl.findClasses(PsiElementFinderImpl.java:62)
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClassesWithoutJvmFacade(JavaPsiFacadeImpl.java:157)
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClassesWithJvmFacade(JavaPsiFacadeImpl.java:128)
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClasses(JavaPsiFacadeImpl.java:120)
at com.intellij.psi.impl.file.PsiPackageImpl.findAllClasses(PsiPackageImpl.java:203)
at com.intellij.psi.impl.file.PsiPackageImpl.getCachedClassesByName(PsiPackageImpl.java:193)
at com.intellij.psi.impl.file.PsiPackageImpl.findClassByShortName(PsiPackageImpl.java:270)
at com.intellij.psi.impl.file.PsiPackageImpl.processDeclarations(PsiPackageImpl.java:310)
at com.intellij.psi.impl.source.resolve.JavaResolveUtil.processImplicitlyImportedPackages(JavaResolveUtil.java:239)
at com.intellij.psi.impl.source.JavaDummyHolder.processDeclarations(JavaDummyHolder.java:112)
at com.intellij.psi.scope.util.PsiScopesUtil.treeWalkUp(PsiScopesUti

@CrazyCoder
Copy link

@marchosius
Copy link

marchosius commented Apr 13, 2021

i have met same problem 😢

but I have fixed this problem by add *.json pattern in File Types

becasue of this setting make spring-boot-autoconfigure META-INFO/spring-configuration-metadata.json not been recognized

QQ图片20210416011435

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