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

IndexNotReadyException #9

Open
donnerpeter opened this issue Nov 7, 2019 · 2 comments
Open

IndexNotReadyException #9

donnerpeter opened this issue Nov 7, 2019 · 2 comments

Comments

@donnerpeter
Copy link

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:81) VCS
at com.intellij.util.indexing.FileBasedIndexImpl.handleDumbMode(FileBasedIndexImpl.java:787) VCS
at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:745) VCS
at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:725) VCS
at com.intellij.psi.stubs.StubIndexImpl.getContainingIds(StubIndexImpl.java:519) VCS
at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:374) VCS
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:107) VCS
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:95) VCS
at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:47) VCS
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.doFindClasses(JavaFileManagerImpl.java:87) VCS
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClass(JavaFileManagerImpl.java:122) VCS
at com.intellij.psi.impl.PsiElementFinderImpl.findClass(PsiElementFinderImpl.java:44) VCS
at com.intellij.psi.impl.JavaPsiFacadeImpl.doFindClass(JavaPsiFacadeImpl.java:110) VCS
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClass(JavaPsiFacadeImpl.java:87) VCS
at com.intellij.psi.util.InheritanceUtil.isInheritor(InheritanceUtil.java:94) VCS
at com.intellij.psi.util.InheritanceUtil.isInheritor(InheritanceUtil.java:85) VCS
at in.oneton.idea.spring.assistant.plugin.misc.PsiCustomUtil.isClassSameOrDescendantOf(PsiCustomUtil.java:287)
at in.oneton.idea.spring.assistant.plugin.misc.PsiCustomUtil.isMap(PsiCustomUtil.java:277)
at in.oneton.idea.spring.assistant.plugin.misc.PsiCustomUtil.getSuggestionNodeType(PsiCustomUtil.java:203)
at in.oneton.idea.spring.assistant.plugin.suggestion.metadata.MetadataNonPropertySuggestionNode.updateGroupType(MetadataNonPropertySuggestionNode.java:546)
at in.oneton.idea.spring.assistant.plugin.suggestion.metadata.MetadataNonPropertySuggestionNode.setGroup(MetadataNonPropertySuggestionNode.java:445)
at in.oneton.idea.spring.assistant.plugin.suggestion.metadata.MetadataNonPropertySuggestionNode.addChildren(MetadataNonPropertySuggestionNode.java:236)
at in.oneton.idea.spring.assistant.plugin.suggestion.service.SuggestionServiceImpl.addGroupsToIndex(SuggestionServiceImpl.java:605)
at in.oneton.idea.spring.assistant.plugin.suggestion.service.SuggestionServiceImpl.buildMetadataHierarchy(SuggestionServiceImpl.java:459)
at in.oneton.idea.spring.assistant.plugin.suggestion.service.SuggestionServiceImpl.processContainers(SuggestionServiceImpl.java:412)
at in.oneton.idea.spring.assistant.plugin.suggestion.service.SuggestionServiceImpl.reindexModule(SuggestionServiceImpl.java:449)
at in.oneton.idea.spring.assistant.plugin.suggestion.service.SuggestionServiceImpl.lambda$null$8(SuggestionServiceImpl.java:154)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:796) VCS
at in.oneton.idea.spring.assistant.plugin.suggestion.service.SuggestionServiceImpl.lambda$reindex$9(SuggestionServiceImpl.java:142)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:238) VCS
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.lang.Thread.run(Thread.java:834)

@aiqency
Copy link

aiqency commented Dec 16, 2020

Same here after upgrading to:

IntelliJ IDEA 2020.3 (Community Edition)
Build #IC-203.5981.155, built on November 30, 2020
Runtime version: 11.0.9+11-b1145.21 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.16
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 16

@eltonsandre
Copy link

#18 (comment)

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