GoStructureView$1$1.getRoot() has thrown an IndexNotReadyException

com.intellij.openapi.project.IndexNotReadyException
Javadoc
at com.intellij.util.indexing.FileBasedIndexImpl.a
at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate
at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate
at com.intellij.psi.stubs.StubIndexImpl.processElements
at com.intellij.psi.stubs.StubIndexImpl.processElements
at com.intellij.psi.stubs.StubIndex.process
at com.intellij.psi.stubs.StubIndex.process
at com.intellij.psi.stubs.StubIndexImpl.get
at com.intellij.psi.stubs.StubIndex.getElements
at com.intellij.psi.stubs.StubIndex.getElements
at ro.redeul.google.go.lang.stubs.GoNamesCache.getFilesByPackageName
at ro.redeul.google.go.ide.structureview.GoStructureViewElement$TypeInfo.getAllSamePackageFiles
at ro.redeul.google.go.ide.structureview.GoStructureViewElement$TypeInfo.getMethods
at ro.redeul.google.go.ide.structureview.GoStructureViewElement$StructInfo.getMembers
at ro.redeul.google.go.ide.structureview.GoStructureViewElement$TypeInfo.getChildren
at ro.redeul.google.go.ide.structureview.GoStructureViewElement.<init>
at ro.redeul.google.go.ide.structureview.GoStructureViewElement.<init>
at ro.redeul.google.go.ide.structureview.GoStructureViewElement$FileInfo.getChildren
at ro.redeul.google.go.ide.structureview.GoStructureViewElement.<init>
at ro.redeul.google.go.ide.structureview.GoStructureViewElement.<init>
at ro.redeul.google.go.ide.structureview.GoStructureView$1$1.getRoot
20 frames hidden

Typical Exception Messages

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

Origin

StubIndex.getElements() has thrown an IndexNotReadyException

com.intellij.openapi.project.IndexNotReadyException
9 frames hidden
com.intellij.psi.stubs.StubIndex.getElements
16Web pages

Similar

Specific cases

Solution

rafael, 1 year ago

Try "File -> Invalidate Cache" and restarting, this should kill old indexing process and start a new one, wait until it's finished and let the project build.

Check the source of this solution for more info

External results for this pattern (3)

  1. Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation
    Show stack trace
  2. Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation
    Show stack trace
  3. Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation
    Show stack trace