unable to read tree
When I debug plugin and trigger action, error occurs.
```
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:150)
at com.intellij.vcs.log.impl.HeavyAwareExecutor.lambda$runAsync$4(HeavyAwareExecutor.java:74)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69)
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-02-01 15:10:07,219 [ 89896] ERROR - ta.index.VcsLogPersistentIndex - IntelliJ IDEA 2019.3.2 Build #IU-193.6015.39
2020-02-01 15:10:07,219 [ 89896] ERROR - ta.index.VcsLogPersistentIndex - JDK: 1.8.0_181; VM: Java HotSpot(TM) 64-Bit Server VM; Vendor: Oracle Corporation
2020-02-01 15:10:07,219 [ 89896] ERROR - ta.index.VcsLogPersistentIndex - OS: Mac OS X
2020-02-01 15:10:07,219 [ 89896] ERROR - ta.index.VcsLogPersistentIndex - Last Action: ViewPackageVersions
2020-02-01 15:10:07,233 [ 89910] ERROR - ta.index.VcsLogPersistentIndex - unable to read tree 17ef5cdf80a12a971a7d0ae98710854d3f370c19
com.intellij.openapi.vcs.VcsException: unable to read tree 17ef5cdf80a12a971a7d0ae98710854d3f370c19
at git4idea.commands.GitCommandResult.throwOnError(GitCommandResult.java:155)
at git4idea.history.GitDetailsCollector.readRecordsFromHandler(GitDetailsCollector.kt:95)
at git4idea.history.GitDetailsCollector.readFullDetailsFromHandler(GitDetailsCollector.kt:70)
at git4idea.history.GitDetailsCollector.readFullDetailsForHashes(GitDetailsCollector.kt:44)
at git4idea.log.GitLogIndexer.readFullDetails(GitLogIndexer.kt:52)
```
请先登录再写评论。
Hello Alan,
This definitely looks like a problem with git itself, not with IDE.
Please verify if your git project isn't corrupted.
https://stackoverflow.com/questions/20870895/how-to-diagnose-and-fix-git-fatal-unable-to-read-tree