"Find in Path" / no results / view not available
Hello,
since a few weeks (maybe since updated from 7 to 8?) the "find in path" function doesn't find anything, just show "No occurrences of ...". Today i was really pissed... So i looked around about such topics and found the solution here "https://devnet.jetbrains.com/message/5508561#5508561" (File | invalidate caches and restart). This issue is maybe related to this question "https://devnet.jetbrains.com/message/5484119#5484119" and maybe many more concerning the "find" functionalities.
Invalidating the cache means also losing the local history. Is there a solution without losing the history?
Thank You!
ciao, Stefan
请先登录再写评论。
Please restart IDE, reproduce the issue and provide idea.log: Help | Show log.
Hello Liubov,
thank you for your answer, but i can't reproduce it, because i already invalidating the cache. This solved the problem.
a lot of entries should not be readable by a public audience. Is there another way to provide the log?
ciao, Stefan
Since the invalidating caches solved the problem, I believe, log is not needed.
Hi there,
Unfortunately no -- at least at the moment as local history functionality is tightly linked to the actual indexes/caches.
https://youtrack.jetbrains.com/issue/IDEA-61385 -- star/vote/comment to get notified on progress.
Hello Liubov,
:-) alright!
FYI:
2014-11-04 17:25:55,134 [31016284] ERROR - plication.impl.ApplicationImpl - PhpStorm 8.0.1 Build #PS-138.2001.2328
2014-11-04 17:25:55,134 [31016284] ERROR - plication.impl.ApplicationImpl - JDK: 1.8.0_25
2014-11-04 17:25:55,134 [31016284] ERROR - plication.impl.ApplicationImpl - VM: Java HotSpot(TM) 64-Bit Server VM
2014-11-04 17:25:55,134 [31016284] ERROR - plication.impl.ApplicationImpl - Vendor: Oracle Corporation
2014-11-04 17:25:55,134 [31016284] ERROR - plication.impl.ApplicationImpl - OS: Windows 8
2014-11-04 17:25:55,134 [31016284] ERROR - plication.impl.ApplicationImpl - Last Action: Find
2014-11-04 17:25:55,439 [31016589] INFO - il.indexing.FileBasedIndexImpl - Rebuild requested for index IdIndex
java.lang.Throwable: com.intellij.util.io.PersistentEnumeratorBase$CorruptedException: PersistentEnumerator storage corrupted C:\Users\stefan\.WebIde80\system\index\idindex\IdIndex
at com.intellij.util.indexing.FileBasedIndexImpl.scheduleRebuild(FileBasedIndexImpl.java:1221)
Caused by: com.intellij.util.io.PersistentEnumeratorBase$CorruptedException: PersistentEnumerator storage corrupted C:\Users\stefan\.WebIde80\system\index\idindex\IdIndex
at com.intellij.util.io.PersistentBTreeEnumerator.getNonnegativeValue(PersistentBTreeEnumerator.java:321)
at com.intellij.util.io.PersistentHashMap.doGet(PersistentHashMap.java:472)
... 50 more
Caused by: java.lang.IllegalStateException: Index corrupted
at com.intellij.util.io.IntToIntBtree$BtreeIndexNodeView.hashIndex(IntToIntBtree.java:1100)
at com.intellij.util.io.IntToIntBtree$BtreeIndexNodeView.search(IntToIntBtree.java:399)
... 59 more
Yes, and the index was corrupted. "Caused by: java.lang.IllegalStateException: Index corrupted
Thanks for your help.
ciao, Stefan