6913: Repository cache corruption

Recently I've been getting an error out of nowhere just while editing a file. The error occurs multiple times from multiple sources in quick succession (making IDEA sluggish and requiring a restart) but it seems to be ultimately the same error. One particular stacktrace looks like this:

2007-05-07 11:45:34,956 ERROR - e.NonSlaveRepositoryPsiElement - IntelliJ IDEA (Selena) #6913 Build #6913
2007-05-07 11:45:34,956 ERROR - e.NonSlaveRepositoryPsiElement - JDK: 1.5.0_10
2007-05-07 11:45:34,956 ERROR - e.NonSlaveRepositoryPsiElement - VM: Java HotSpot(TM) Client VM
2007-05-07 11:45:34,956 ERROR - e.NonSlaveRepositoryPsiElement - Vendor: Sun Microsystems Inc.
2007-05-07 11:45:34,956 ERROR - e.NonSlaveRepositoryPsiElement - OS: Windows XP
2007-05-07 11:45:34,956 ERROR - e.NonSlaveRepositoryPsiElement - Last Action: EditorDelete
2007-05-07 11:45:34,956 ERROR - e.NonSlaveRepositoryPsiElement - Current Command: Delete
2007-05-07 11:45:34,972 ERROR - e.NonSlaveRepositoryPsiElement - id: 146028890330
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48)
at com.intellij.psi.impl.source.NonSlaveRepositoryPsiElement.setRepositoryId(NonSlaveRepositoryPsiElement.java:19)
at com.intellij.psi.impl.source.PsiClassImpl.setRepositoryId(PsiClassImpl.java:166)
at com.intellij.psi.impl.RepositoryElementsManager.repositoryIdAssociated(RepositoryElementsManager.java:402)
at com.intellij.psi.impl.cache.impl.RepositoryManagerImpl$MyIdAssociator.associateId(RepositoryManagerImpl.java:2)
at com.intellij.psi.impl.cache.impl.repositoryCache.RecordManager.createClass(RecordManager.java:164)
at com.intellij.psi.impl.cache.impl.repositoryCache.RecordManager.createClass(RecordManager.java:163)
at com.intellij.psi.impl.cache.impl.repositoryCache.RecordManager.a(RecordManager.java:0)
at com.intellij.psi.impl.cache.impl.repositoryCache.RecordManager.createFile(RecordManager.java:101)
at com.intellij.psi.impl.cache.impl.repositoryCache.RepositoryCache$5.run(RepositoryCache.java:0)
at com.intellij.psi.impl.cache.impl.repositoryCache.RepositoryCache.a(RepositoryCache.java:381)
at com.intellij.psi.impl.cache.impl.repositoryCache.RepositoryCache.fileCreated(RepositoryCache.java:356)
at com.intellij.psi.impl.cache.impl.RepositoryManagerImpl.a(RepositoryManagerImpl.java:424)
at com.intellij.psi.impl.cache.impl.RepositoryManagerImpl.updateAll(RepositoryManagerImpl.java:25)
at com.intellij.psi.impl.cache.impl.RepositoryManagerImpl.updateAll(RepositoryManagerImpl.java:102)
at com.intellij.psi.impl.cache.impl.RepositoryIndexImpl.getNameOccurrencesInExtendsLists(RepositoryIndexImpl.java:38)
at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher$3.compute(JavaDirectInheritorsSearcher.java:2)
at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher$3.compute(JavaDirectInheritorsSearcher.java:0)
at com.intellij.openapi.application.impl.ApplicationImpl$12.run(ApplicationImpl.java:1)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:197)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:77)
at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:10)
at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:17)
at com.intellij.util.ExecutorsQuery.forEach(ExecutorsQuery.java:59)
at com.intellij.util.UniqueResultsQuery.forEach(UniqueResultsQuery.java:49)
at com.intellij.psi.search.searches.ClassInheritorsSearch.processInheritors(ClassInheritorsSearch.java:128)
at com.intellij.psi.search.searches.ClassInheritorsSearch.access$100(ClassInheritorsSearch.java:23)
at com.intellij.psi.search.searches.ClassInheritorsSearch$1.execute(ClassInheritorsSearch.java:47)
at com.intellij.psi.search.searches.ClassInheritorsSearch$1.execute(ClassInheritorsSearch.java:30)
at com.intellij.util.ExecutorsQuery.forEach(ExecutorsQuery.java:59)
at com.intellij.util.ExecutorsQuery.findFirst(ExecutorsQuery.java:49)
at com.intellij.util.UniqueResultsQuery.findFirst(UniqueResultsQuery.java:44)
at com.intellij.codeInsight.daemon.impl.OverriddenMarkersPass.a(OverriddenMarkersPass.java:52)
at com.intellij.codeInsight.daemon.impl.OverriddenMarkersPass.a(OverriddenMarkersPass.java:40)
at com.intellij.codeInsight.daemon.impl.OverriddenMarkersPass.doCollectInformation(OverriddenMarkersPass.java:39)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:6)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:197)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:2)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:34)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:41)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

2 comments

On 2007-05-08 00:06:03 +0400, Gordon Tyler <gordon.tyler@quest.com> said:

Recently I've been getting an error out of nowhere just while editing a
file. The error occurs multiple times from multiple sources in quick
succession (making IDEA sluggish and requiring a restart) but it seems
to be ultimately the same error. One particular stacktrace looks like
this:


You may want to delete the caches manually, if they don't automatically
on restart.
If you'd be able to reproduce the problem with the clean caches I owe
you a beer.

0

I believe I have deleted the the %HOME%\.IntelliJIdea70\system\caches directory after a previous occurrence of this error last week. The error occurred again this morning (which is what prompted this thread) but I just restarted IDEA. If it happens again, I'll try deleting the caches manually.

0

Please sign in to leave a comment.