com.intellij.openapi.project.IndexNotReadyException

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

Solutions on the web89

  • Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation
  • Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation
  • Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation
  • Stack trace

    • com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation at com.intellij.util.indexing.FileBasedIndexImpl.handleDumbMode(FileBasedIndexImpl.java:924) at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:872) at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:855) at com.intellij.psi.stubs.StubIndexImpl.doProcessStubs(StubIndexImpl.java:243) at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:224) at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:145) at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:135) at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:48) at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClassInIndex(JavaFileManagerImpl.java:122) at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClass(JavaFileManagerImpl.java:115) at com.intellij.psi.impl.PsiElementFinderImpl.findClass(PsiElementFinderImpl.java:54) at com.intellij.psi.impl.JavaPsiFacadeImpl.doFindClass(JavaPsiFacadeImpl.java:124) at com.intellij.psi.impl.JavaPsiFacadeImpl.findClass(JavaPsiFacadeImpl.java:101) at com.intellij.psi.impl.compiled.ClsJavaCodeReferenceElementImpl.resolveElement(ClsJavaCodeReferenceElementImpl.java:227) at com.intellij.psi.impl.compiled.ClsJavaCodeReferenceElementImpl.advancedResolveImpl(ClsJavaCodeReferenceElementImpl.java:105) at com.intellij.psi.impl.compiled.ClsJavaCodeReferenceElementImpl.access$000(ClsJavaCodeReferenceElementImpl.java:42) at com.intellij.psi.impl.compiled.ClsJavaCodeReferenceElementImpl$Resolver.resolve(ClsJavaCodeReferenceElementImpl.java:98) at com.intellij.psi.impl.compiled.ClsJavaCodeReferenceElementImpl$Resolver.resolve(ClsJavaCodeReferenceElementImpl.java:92) at com.intellij.psi.impl.source.resolve.ResolveCache$4.compute(ResolveCache.java:191) at com.intellij.psi.impl.source.resolve.ResolveCache$4.compute(ResolveCache.java:188) at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:112) at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:188) at com.intellij.psi.impl.compiled.ClsJavaCodeReferenceElementImpl.multiResolve(ClsJavaCodeReferenceElementImpl.java:193) at com.intellij.psi.impl.compiled.ClsJavaCodeReferenceElementImpl.advancedResolve(ClsJavaCodeReferenceElementImpl.java:183) at com.intellij.psi.impl.source.PsiClassReferenceType.resolveGenerics(PsiClassReferenceType.java:145) at com.intellij.psi.impl.source.PsiClassReferenceType.resolve(PsiClassReferenceType.java:93) at com.intellij.psi.util.TypeConversionUtil$6.visitClassType(TypeConversionUtil.java:1320) at com.intellij.psi.util.TypeConversionUtil$6.visitClassType(TypeConversionUtil.java:1311) at com.intellij.psi.PsiClassType.accept(PsiClassType.java:233) at com.intellij.psi.util.TypeConversionUtil.erasure(TypeConversionUtil.java:1311) at com.intellij.psi.util.MethodSignatureUtil.calcErasedParameterTypes(MethodSignatureUtil.java:91) at com.intellij.psi.util.MethodSignatureBase.getErasedParameterTypes(MethodSignatureBase.java:82) at com.intellij.psi.util.MethodSignatureBase.hashCode(MethodSignatureBase.java:97) at com.intellij.psi.util.MethodSignatureUtil$2.computeHashCode(MethodSignatureUtil.java:52) at com.intellij.psi.util.MethodSignatureUtil$2.computeHashCode(MethodSignatureUtil.java:49) at gnu.trove.TObjectHash.index(TObjectHash.java:186) at gnu.trove.THashMap.get(THashMap.java:362) at com.intellij.psi.impl.PsiSuperMethodImplUtil.buildMethodHierarchy(PsiSuperMethodImplUtil.java:213) at com.intellij.psi.impl.PsiSuperMethodImplUtil.access$000(PsiSuperMethodImplUtil.java:44) at com.intellij.psi.impl.PsiSuperMethodImplUtil$2$1.create(PsiSuperMethodImplUtil.java:62) at com.intellij.psi.impl.PsiSuperMethodImplUtil$2$1.create(PsiSuperMethodImplUtil.java:58) at com.intellij.util.containers.FactoryMap.get(FactoryMap.java:56) at com.intellij.psi.impl.PsiSuperMethodImplUtil$5.compute(PsiSuperMethodImplUtil.java:397) at com.intellij.psi.impl.PsiSuperMethodImplUtil$5.compute(PsiSuperMethodImplUtil.java:391) at com.intellij.psi.impl.PsiParameterizedCachedValue.doCompute(PsiParameterizedCachedValue.java:53) at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222) at com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:66) at com.intellij.psi.impl.PsiParameterizedCachedValue.getValue(PsiParameterizedCachedValue.java:43) at com.intellij.psi.util.CachedValuesManager.getParameterizedCachedValue(CachedValuesManager.java:97) at com.intellij.psi.impl.PsiSuperMethodImplUtil.getHierarchicalMethodSignature(PsiSuperMethodImplUtil.java:385) at com.intellij.psi.impl.compiled.ClsMethodImpl.getHierarchicalMethodSignature(ClsMethodImpl.java:126) at com.intellij.psi.impl.search.MethodSuperSearcher$1.compute(MethodSuperSearcher.java:45) at com.intellij.psi.impl.search.MethodSuperSearcher$1.compute(MethodSuperSearcher.java:42) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:962) at com.intellij.psi.impl.search.MethodSuperSearcher.execute(MethodSuperSearcher.java:42) at com.intellij.psi.impl.search.MethodSuperSearcher.execute(MethodSuperSearcher.java:35) at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:45) at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:75) at com.intellij.util.AbstractQuery.findFirst(AbstractQuery.java:52) at com.intellij.util.UniqueResultsQuery.findFirst(UniqueResultsQuery.java:51) at org.intellij.plugins.ceylon.ide.ceylonCode.model.PSIMethod$3.$call$(PSIMethod.ceylon:40) at org.intellij.plugins.ceylon.ide.ceylonCode.model.PSIMethod$3.$call$(PSIMethod.ceylon:40) at org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_$2.$call$(concurrencyManager.ceylon:150) at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1178) at org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_$1runInReadActionWithWriteActionPriority_$2.$call$(concurrencyManager.ceylon:132) at ceylon.interop.java.JavaRunnable.run(JavaRunnable.ceylon:7) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127) at org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_$1runInReadActionWithWriteActionPriority_.runInReadActionWithWriteActionPriority(concurrencyManager.ceylon:129) at org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.needReadAccess$canonical$(concurrencyManager.ceylon:150) at org.intellij.plugins.ceylon.ide.ceylonCode.model.concurrencyManager_.needReadAccess(concurrencyManager.ceylon:96) at org.intellij.plugins.ceylon.ide.ceylonCode.model.PSIMethod.getComputedIsOverriding$priv$(PSIMethod.ceylon:40) at org.intellij.plugins.ceylon.ide.ceylonCode.model.PSIMethod.getIsOverriding(PSIMethod.ceylon:43) at org.intellij.plugins.ceylon.ide.ceylonCode.model.IdeaModelLoader.isOverridingMethod(IdeaModelLoader.ceylon:125) at com.redhat.ceylon.model.loader.AbstractModelLoader.completeActual(AbstractModelLoader.java:4041) at com.redhat.ceylon.model.typechecker.model.Declaration.completeActual(Declaration.java:290) at com.redhat.ceylon.model.typechecker.model.Declaration.isActual(Declaration.java:194) at com.redhat.ceylon.model.typechecker.model.TypeDeclaration.isBetterRefinement(TypeDeclaration.java:402) at com.redhat.ceylon.model.typechecker.model.TypeDeclaration.getRefinedMember(TypeDeclaration.java:391) at com.redhat.ceylon.model.typechecker.model.TypeDeclaration.getRefinedMember(TypeDeclaration.java:364) at com.redhat.ceylon.model.typechecker.model.TypeDeclaration.getRefinedMember(TypeDeclaration.java:348) at com.redhat.ceylon.model.typechecker.model.TypeDeclaration.getRefinedMember(TypeDeclaration.java:341) at com.redhat.ceylon.compiler.typechecker.analyzer.RefinementVisitor.checkMember(RefinementVisitor.java:760) at com.redhat.ceylon.compiler.typechecker.analyzer.RefinementVisitor.visit(RefinementVisitor.java:157) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:63) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:68) at com.redhat.ceylon.compiler.typechecker.analyzer.RefinementVisitor.visit(RefinementVisitor.java:88) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:69) at com.redhat.ceylon.compiler.typechecker.tree.Tree$MethodDefinition.visit(Tree.java:1408) at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkBody(Walker.java:437) at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassBody(Walker.java:446) at com.redhat.ceylon.compiler.typechecker.tree.Tree$ClassBody.visitChildren(Tree.java:1874) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:83) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:85) at com.redhat.ceylon.compiler.typechecker.tree.Tree$ClassBody.visit(Tree.java:1866) at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkClassDefinition(Walker.java:250) at com.redhat.ceylon.compiler.typechecker.tree.Tree$ClassDefinition.visitChildren(Tree.java:953) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:131) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:132) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:40) at com.redhat.ceylon.compiler.typechecker.analyzer.RefinementVisitor.visit(RefinementVisitor.java:128) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:42) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:43) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:54) at com.redhat.ceylon.compiler.typechecker.analyzer.RefinementVisitor.visit(RefinementVisitor.java:95) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:55) at com.redhat.ceylon.compiler.typechecker.tree.Tree$ClassDefinition.visit(Tree.java:945) at com.redhat.ceylon.compiler.typechecker.tree.Walker.walkCompilationUnit(Walker.java:30) at com.redhat.ceylon.compiler.typechecker.tree.Tree$CompilationUnit.visitChildren(Tree.java:30) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24) at com.redhat.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:26) at com.redhat.ceylon.compiler.typechecker.tree.Tree$CompilationUnit.visit(Tree.java:22) at com.redhat.ceylon.compiler.typechecker.context.PhasedUnit.validateRefinement(PhasedUnit.java:407) at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$21$3.$call$(CeylonProjectBuild.ceylon:750) at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:623) at com.redhat.ceylon.compiler.java.Util.apply(Util.java:1637) at ceylon.language.unflatten_$1.$call$(unflatten_.java:44) at ceylon.language.Iterable$impl.each(Iterable.ceylon:347) at ceylon.language.impl.BaseIterable.each(bases.ceylon) at com.redhat.ceylon.ide.common.model.CeylonProjectBuild.typecheckDependencies$priv$(CeylonProjectBuild.ceylon:755) at com.redhat.ceylon.ide.common.model.CeylonProjectBuild.access$1500(CeylonProjectBuild.ceylon:123) at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$27$1$1.$call$(CeylonProjectBuild.ceylon:924) at com.redhat.ceylon.ide.common.model.BaseCeylonProject.withSourceModel$canonical$(CeylonProject.ceylon:440) at com.redhat.ceylon.ide.common.model.BaseCeylonProject.withSourceModel(CeylonProject.ceylon:432) at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$27$1.$call$(CeylonProjectBuild.ceylon:912) at com.redhat.ceylon.ide.common.model.withCeylonModelCaching_.withCeylonModelCaching(CeylonProjects.ceylon:47) at com.redhat.ceylon.ide.common.model.CeylonProjectBuild$27.$call$(CeylonProjectBuild.ceylon:911) at ceylon.interop.java.internal.synchronize_.synchronize(synchronize_.java:33) at ceylon.interop.java.synchronize_.synchronize(misc.ceylon:79) at com.redhat.ceylon.ide.common.model.CeylonProjectBuild.updateCeylonModel(CeylonProjectBuild.ceylon:910) at com.redhat.ceylon.ide.common.model.CeylonProjectBuild.performBuild$canonical$(CeylonProjectBuild.ceylon:608) at com.redhat.ceylon.ide.common.model.CeylonProjectBuild.performBuild(CeylonProjectBuild.ceylon:578)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    2 times, 1 year ago
    Unknown user
    3 times, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    6 more bugmates