Code analysis hanging

Using IntellJ 7.0.6

Right now, my project loads, then the code inspection just hangs around 13%, which makes all inspection from that point on not happen.

Huge, crippling problem for me, as I cannot work efficiently at all without the syntax highlighting, auto imports, jump to class, etc...

I've tried clearing cache, and recreating the project.   Here's whats in the log:

java.lang.AssertionError
    at com.intellij.util.io.

ByteBufferIntObjectMap.<init>(ByteBufferIntObjectMap.java:32)
     at com.intellij.psi.impl.cache.impl.idCache.ImmutableIdCacheImpl.a(ImmutableIdCacheImpl.java:39)
    at com.intellij.psi.impl.cache.impl.idCache.ImmutableIdCacheImpl.processFilesWithWord(ImmutableIdCacheImpl.java:62)
     at com.intellij.psi.impl.cache.impl.idCache.IdCacheImpl.processFilesWithWord(IdCacheImpl.java:150)
    at com.intellij.psi.impl.cache.impl.CacheManagerImpl.processFilesWithWord(CacheManagerImpl.java:52)
    at com.intellij.psi.impl.cache.impl.CompositeCacheManager.processFilesWithWord(CompositeCacheManager.java:24)
     at com.intellij.psi.impl.cache.impl.CompositeCacheManager.getFilesWithWord(CompositeCacheManager.java:11)
    at com.intellij.psi.impl.search.PsiSearchHelperImpl.findFormsBoundToClass(PsiSearchHelperImpl.java:137)
     at com.intellij.uiDesigner.binding.FormReferenceProvider.getFormReference(FormReferenceProvider.java:77)
    at com.intellij.uiDesigner.binding.FormReferenceProvider.getFormFile(FormReferenceProvider.java:65)
    at com.intellij.uiDesigner.binding.FormClassAnnotator.annotate(FormClassAnnotator.java:30)
     at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitElement(HighlightVisitorImpl.java:269)
    at com.intellij.psi.JavaElementVisitor.visitVariable(JavaElementVisitor.java:336)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitVariable(HighlightVisitorImpl.java:241)
     at com.intellij.psi.JavaElementVisitor.visitField(JavaElementVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitField(HighlightVisitorImpl.java:518)
    at com.intellij.psi.impl.source.PsiFieldImpl.accept(PsiFieldImpl.java:143)
     at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:354)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:212)
     at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:100)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:1)
     at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:50)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:2)
     at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:207)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:3)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:6)
     at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:15)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
     at java.lang.Thread.run(Thread.java:619)
2009-05-18 10:58:40,185 [ 652008]  ERROR - aemon.impl.PassExecutorService - 
java.lang.AssertionError
    at com.intellij.util.io.ByteBufferIntObjectMap.<init>(ByteBufferIntObjectMap.java:32)
     at com.intellij.psi.impl.cache.impl.idCache.ImmutableIdCacheImpl.a(ImmutableIdCacheImpl.java:39)
    at com.intellij.psi.impl.cache.impl.idCache.ImmutableIdCacheImpl.processFilesWithWord(ImmutableIdCacheImpl.java:62)
     at com.intellij.psi.impl.cache.impl.idCache.IdCacheImpl.processFilesWithWord(IdCacheImpl.java:150)
    at com.intellij.psi.impl.cache.impl.CacheManagerImpl.processFilesWithWord(CacheManagerImpl.java:52)
    at com.intellij.psi.impl.cache.impl.CompositeCacheManager.processFilesWithWord(CompositeCacheManager.java:24)
     at com.intellij.psi.impl.cache.impl.CompositeCacheManager.getFilesWithWord(CompositeCacheManager.java:11)
    at com.intellij.psi.impl.search.PsiSearchHelperImpl.findFormsBoundToClass(PsiSearchHelperImpl.java:137)
     at com.intellij.uiDesigner.binding.FormReferenceProvider.getFormReference(FormReferenceProvider.java:77)
    at com.intellij.uiDesigner.binding.FormReferenceProvider.getFormFile(FormReferenceProvider.java:65)
    at com.intellij.uiDesigner.binding.FormClassAnnotator.annotate(FormClassAnnotator.java:30)
     at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitElement(HighlightVisitorImpl.java:269)
    at com.intellij.psi.JavaElementVisitor.visitVariable(JavaElementVisitor.java:336)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitVariable(HighlightVisitorImpl.java:241)
     at com.intellij.psi.JavaElementVisitor.visitField(JavaElementVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitField(HighlightVisitorImpl.java:518)
    at com.intellij.psi.impl.source.PsiFieldImpl.accept(PsiFieldImpl.java:143)
     at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:354)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:212)
     at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:100)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:1)
     at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:50)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:2)
     at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:207)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:3)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:6)
     at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:15)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
     at java.lang.Thread.run(Thread.java:619)
2009-05-18 10:58:40,186 [ 652009]  ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA 7.0.6  Build #7973
2009-05-18 10:58:40,191 [ 652014]  ERROR - aemon.impl.PassExecutorService - IntelliJ IDEA 7.0.6  Build #7973
2009-05-18 10:58:40,191 [ 652014]  ERROR - aemon.impl.PassExecutorService - JDK: 1.6.0_01
2009-05-18 10:58:40,191 [ 652014]  ERROR - aemon.impl.PassExecutorService - JDK: 1.6.0_01
2009-05-18 10:58:40,192 [ 652015]  ERROR - aemon.impl.PassExecutorService - VM: Java HotSpot(TM) Server VM
2009-05-18 10:58:40,192 [ 652015]  ERROR - aemon.impl.PassExecutorService - VM: Java HotSpot(TM) Server VM
2009-05-18 10:58:40,192 [ 652015]  ERROR - aemon.impl.PassExecutorService - Vendor: Sun Microsystems Inc.
2009-05-18 10:58:40,192 [ 652015]  ERROR - aemon.impl.PassExecutorService - Vendor: Sun Microsystems Inc.
2009-05-18 10:58:40,192 [ 652015]  ERROR - aemon.impl.PassExecutorService - OS: Linux
2009-05-18 10:58:40,192 [ 652015]  ERROR - aemon.impl.PassExecutorService - OS: Linux
2009-05-18 10:58:40,192 [ 652015]  ERROR - aemon.impl.PassExecutorService - Last Action: ShowSettings
2009-05-18 10:58:40,192 [ 652015]  ERROR - aemon.impl.PassExecutorService - Last Action: ShowSettings




Thanks for any help!
1 comment
Comment actions Permalink

Hello Rob,

This kind of error should be fixed by clearing the caches. Did you delete
the entire contents of the .IntelliJIdea70\system directory?

One other thing I can suggest is disabling the UI Designer plugin in Settings
| Plugins if you don't use the UI Designer functionality - the hang happens
during UI Designer class decoration processing, but this can be just a coincidence.

Using IntellJ 7.0.6

Right now, my project loads, then the code inspection just hangs
around 13%, which makes all inspection from that point on not happen.

Huge, crippling problem for me, as I cannot work efficiently at all
without the syntax highlighting, auto imports, jump to class, etc...

I've tried clearing cache, and recreating the project. Here's whats
in the log:

java.lang.AssertionError
at com.intellij.util.io.
ByteBufferIntObjectMap.<init>(ByteBufferIntObjectMap.java:32)
at
com.intellij.psi.impl.cache.impl.idCache.ImmutableIdCacheImpl.a(Immuta
bleIdCacheImpl.java:39)
at
com.intellij.psi.impl.cache.impl.idCache.ImmutableIdCacheImpl.processF
ilesWithWord(ImmutableIdCacheImpl.java:62)
at
com.intellij.psi.impl.cache.impl.idCache.IdCacheImpl.processFilesWithW
ord(IdCacheImpl.java:150)
at
com.intellij.psi.impl.cache.impl.CacheManagerImpl.processFilesWithWord
(CacheManagerImpl.java:52)
at
com.intellij.psi.impl.cache.impl.CompositeCacheManager.processFilesWit
hWord(CompositeCacheManager.java:24)
at
com.intellij.psi.impl.cache.impl.CompositeCacheManager.getFilesWithWor
d(CompositeCacheManager.java:11)
at
com.intellij.psi.impl.search.PsiSearchHelperImpl.findFormsBoundToClass
(PsiSearchHelperImpl.java:137)
at
com.intellij.uiDesigner.binding.FormReferenceProvider.getFormReference
(FormReferenceProvider.java:77)
at
com.intellij.uiDesigner.binding.FormReferenceProvider.getFormFile(Form
ReferenceProvider.java:65)
at
com.intellij.uiDesigner.binding.FormClassAnnotator.annotate(FormClassA
nnotator.java:30)
at
com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.vis
itElement(HighlightVisitorImpl.java:269)
at
com.intellij.psi.JavaElementVisitor.visitVariable(JavaElementVisitor.j
ava:336)
at
com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.vis
itVariable(HighlightVisitorImpl.java:241)
at
com.intellij.psi.JavaElementVisitor.visitField(JavaElementVisitor.java
:136)
at
com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.vis
itField(HighlightVisitorImpl.java:518)
at
com.intellij.psi.impl.source.PsiFieldImpl.accept(PsiFieldImpl.java:143
)
at
com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.vis
it(HighlightVisitorImpl.java:354)
at
com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(General
HighlightingPass.java:212)
at
com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectIn
formationWithProgress(GeneralHighlightingPass.java:100)
at
com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightin
gPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java
:1)
at
com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInform
ation(TextEditorHighlightingPass.java:50)
at
com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass
$1$1.run(PassExecutorService.java:2)
at
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(Ap
plicationImpl.java:207)
at
com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass
$1.run(PassExecutorService.java:3)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessU
nderProgress(ProgressManagerImpl.java:6)
at
com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass
.run(PassExecutorService.java:15)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441
)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu
tor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
java:907)
at java.lang.Thread.run(Thread.java:619)
2009-05-18 10:58:40,185 ERROR -
aemon.impl.PassExecutorService -
java.lang.AssertionError
at
com.intellij.util.io.ByteBufferIntObjectMap.<init>(ByteBufferIntObject
Map.java:32)
at
com.intellij.psi.impl.cache.impl.idCache.ImmutableIdCacheImpl.a(Immuta
bleIdCacheImpl.java:39)
at
com.intellij.psi.impl.cache.impl.idCache.ImmutableIdCacheImpl.processF
ilesWithWord(ImmutableIdCacheImpl.java:62)
at
com.intellij.psi.impl.cache.impl.idCache.IdCacheImpl.processFilesWithW
ord(IdCacheImpl.java:150)
at
com.intellij.psi.impl.cache.impl.CacheManagerImpl.processFilesWithWord
(CacheManagerImpl.java:52)
at
com.intellij.psi.impl.cache.impl.CompositeCacheManager.processFilesWit
hWord(CompositeCacheManager.java:24)
at
com.intellij.psi.impl.cache.impl.CompositeCacheManager.getFilesWithWor
d(CompositeCacheManager.java:11)
at
com.intellij.psi.impl.search.PsiSearchHelperImpl.findFormsBoundToClass
(PsiSearchHelperImpl.java:137)
at
com.intellij.uiDesigner.binding.FormReferenceProvider.getFormReference
(FormReferenceProvider.java:77)
at
com.intellij.uiDesigner.binding.FormReferenceProvider.getFormFile(Form
ReferenceProvider.java:65)
at
com.intellij.uiDesigner.binding.FormClassAnnotator.annotate(FormClassA
nnotator.java:30)
at
com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.vis
itElement(HighlightVisitorImpl.java:269)
at
com.intellij.psi.JavaElementVisitor.visitVariable(JavaElementVisitor.j
ava:336)
at
com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.vis
itVariable(HighlightVisitorImpl.java:241)
at
com.intellij.psi.JavaElementVisitor.visitField(JavaElementVisitor.java
:136)
at
com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.vis
itField(HighlightVisitorImpl.java:518)
at
com.intellij.psi.impl.source.PsiFieldImpl.accept(PsiFieldImpl.java:143
)
at
com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.vis
it(HighlightVisitorImpl.java:354)
at
com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(General
HighlightingPass.java:212)
at
com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectIn
formationWithProgress(GeneralHighlightingPass.java:100)
at
com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightin
gPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java
:1)
at
com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInform
ation(TextEditorHighlightingPass.java:50)
at
com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass
$1$1.run(PassExecutorService.java:2)
at
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(Ap
plicationImpl.java:207)
at
com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass
$1.run(PassExecutorService.java:3)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessU
nderProgress(ProgressManagerImpl.java:6)
at
com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass
.run(PassExecutorService.java:15)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441
)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu
tor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
java:907)
at java.lang.Thread.run(Thread.java:619)
2009-05-18 10:58:40,186 ERROR -
aemon.impl.PassExecutorService - IntelliJ IDEA 7.0.6 Build #7973
2009-05-18 10:58:40,191 ERROR -
aemon.impl.PassExecutorService - IntelliJ IDEA 7.0.6 Build #7973
2009-05-18 10:58:40,191 ERROR -
aemon.impl.PassExecutorService - JDK: 1.6.0_01
2009-05-18 10:58:40,191 ERROR -
aemon.impl.PassExecutorService - JDK: 1.6.0_01
2009-05-18 10:58:40,192 ERROR -
aemon.impl.PassExecutorService - VM: Java HotSpot(TM) Server VM
2009-05-18 10:58:40,192 ERROR -
aemon.impl.PassExecutorService - VM: Java HotSpot(TM) Server VM
2009-05-18 10:58:40,192 ERROR -
aemon.impl.PassExecutorService - Vendor: Sun Microsystems Inc.
2009-05-18 10:58:40,192 ERROR -
aemon.impl.PassExecutorService - Vendor: Sun Microsystems Inc.
2009-05-18 10:58:40,192 ERROR -
aemon.impl.PassExecutorService - OS: Linux
2009-05-18 10:58:40,192 ERROR -
aemon.impl.PassExecutorService - OS: Linux
2009-05-18 10:58:40,192 ERROR -
aemon.impl.PassExecutorService - Last Action: ShowSettings
2009-05-18 10:58:40,192 ERROR -
aemon.impl.PassExecutorService - Last Action: ShowSettings
Thanks for any help!

---
Original message URL:
http://www.jetbrains.net/devnet/message/5238381#5238381

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.