java.io.IOException: Broken index maps: trigrams empty true users empty false paths empty false

Answered

When opening a project I always get an error once, it says it's in IDEA Core.
How can I fix it?

java.io.IOException: Broken index maps:
trigrams empty true
users empty false
paths empty false
    at com.intellij.vcs.log.data.index.VcsLogPersistentIndex$IndexStorage.checkConsistency(VcsLogPersistentIndex.java:368)
    at com.intellij.vcs.log.data.index.VcsLogPersistentIndex$IndexStorage.<init>(VcsLogPersistentIndex.java:354)
    at com.intellij.vcs.log.data.index.VcsLogPersistentIndex.lambda$createIndexStorage$0(VcsLogPersistentIndex.java:129)
    at com.intellij.util.io.IOUtil.openCleanOrResetBroken(IOUtil.java:258)
    at com.intellij.vcs.log.data.index.VcsLogPersistentIndex.createIndexStorage(VcsLogPersistentIndex.java:129)
    at com.intellij.vcs.log.data.index.VcsLogPersistentIndex.<init>(VcsLogPersistentIndex.java:101)
    at com.intellij.vcs.log.data.VcsLogData.<init>(VcsLogData.java:90)
    at com.intellij.vcs.log.impl.VcsLogManager.<init>(VcsLogManager.java:68)
    at com.intellij.vcs.log.impl.VcsProjectLog$LazyVcsLogManager.getValue(VcsProjectLog.java:356)
    at com.intellij.vcs.log.impl.VcsProjectLog.createLog(VcsProjectLog.java:224)
    at com.intellij.vcs.log.impl.VcsProjectLog.lambda$disposeLog$3(VcsProjectLog.java:182)
    at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:241)
    at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:31)
    at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:214)
    at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:212)
    at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:203)
    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.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
    at java.base/java.lang.Thread.run(Thread.java:829)
3 comments
Comment actions Permalink

It's internal error in VCS subsystem, try File->Invalidate Caches and check option "Clear VCS Log caches and indexes".

0
Comment actions Permalink

Yann Cebron
Tried many times - unfortunately, unsuccessfully ;(

0
Comment actions Permalink

Please create bug in https://youtrack.jetbrains.com/issues/IDEA and provide your project as attachment, please

0

Please sign in to leave a comment.