What does this error mean: Directory index is not initialized yet for Project
Any idea when does IntelliJ throws Directory index is not initialized yet for Project ...?
Here is the exception message:
Directory index is not initialized yet for Project '/path/to/project.ipr'
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48)
at com.intellij.openapi.roots.impl.DirectoryIndexImpl.e(DirectoryIndexImpl.java:647)
at com.intellij.openapi.roots.impl.DirectoryIndexImpl.getInfoForDirectory(DirectoryIndexImpl.java:579)
at com.intellij.openapi.vcs.impl.ProjectExcludedFileIndex.isValidAncestor(ProjectExcludedFileIndex.java:52)
at com.intellij.openapi.vcs.impl.projectlevelman.MappingsToRoots.getRootsUnderVcs(MappingsToRoots.java:51)
at com.intellij.openapi.vcs.impl.ProjectLevelVcsManagerImpl.getRootsUnderVcs(ProjectLevelVcsManagerImpl.java:524)
at com.intellij.openapi.vcs.impl.ProjectLevelVcsManagerImpl.getAllVcsRoots(ProjectLevelVcsManagerImpl.java:541)
at com.intellij.openapi.vcs.changes.RemoteRevisionsCache.a(RemoteRevisionsCache.java:108)
at com.intellij.openapi.vcs.changes.RemoteRevisionsCache.directoryMappingChanged(RemoteRevisionsCache.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:87)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:33)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:64)
at $Proxy67.directoryMappingChanged(Unknown Source)
at com.intellij.openapi.vcs.impl.projectlevelman.NewMappings.mappingsChanged(NewMappings.java:174)
at com.intellij.openapi.vcs.impl.projectlevelman.NewMappings.activateActiveVcses(NewMappings.java:97)
at com.intellij.openapi.vcs.impl.projectlevelman.NewMappings$1.run(NewMappings.java:78)
at com.intellij.openapi.vcs.impl.VcsInitialization.execute(VcsInitialization.java:76)
at com.intellij.openapi.vcs.impl.VcsInitialization$1.run(VcsInitialization.java:45)
at com.intellij.ide.startup.impl.StartupManagerImpl.a(StartupManagerImpl.java:175)
at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(StartupManagerImpl.java:140)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:384)
...
请先登录再写评论。
Hello chandra,
In all the cases that we know of, such an exception is caused by a previous
exception thrown during component initialization.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"