Code Analysis hangs and blocks copy-paste and other actions

I am using Idea 11.1.5 under Windows 7 and Java 1.5.0_15.

Normally my IDEA works fine. Just sometimes I experience the following problem:
The code analysis on a file doesn't finish. The little analysis icon in the top right hand corner
doesn't turn to a color but keeps showing the eye. The popup says "Performing code analysis".

I can still type normally and even save files with ctrl+s. But I cannot copy or paste, or duplicate lines with ctrl+d,
or jump to variable definitions/classes/Spring beans etc with ctrl+click, which is absolutely annoying.

Any hints on what the problem might be and how to fix it? And what causes it to happen only sometimes?
Restarting IDEA helps usually but only for a short time.

Thanks in advance,


Comment actions Permalink

Hi Marc,

You can try to build thread dumps when the ide is at that invalid state and provide it us for further analysis.

Also it's worth to check if idea.log (main menu | help | show log) contains any exceptions.


Comment actions Permalink

IHi Denis,

thanks for the hints. It happened right now again, and I have these exceptions in the log:

2013-05-13 18:20:47,546 [264866220]  ERROR - .intellij.util.EventDispatcher - IntelliJ IDEA 11.1.5  Build #IU-117.1037
2013-05-13 18:20:47,546 [264866220]  ERROR - .intellij.util.EventDispatcher - JDK: 1.6.0_31
2013-05-13 18:20:47,546 [264866220]  ERROR - .intellij.util.EventDispatcher - VM: Java HotSpot(TM) Client VM
2013-05-13 18:20:47,546 [264866220]  ERROR - .intellij.util.EventDispatcher - Vendor: Sun Microsystems Inc.
2013-05-13 18:20:47,546 [264866220]  ERROR - .intellij.util.EventDispatcher - OS: Windows 7
2013-05-13 18:20:47,546 [264866220]  ERROR - .intellij.util.EventDispatcher - Last Action: CodeCompletion
2013-05-13 18:20:47,561 [264866235]  ERROR - .intellij.util.EventDispatcher - PSI/document inconsistency before reparse: file=Jspx DummyHolder
java.lang.AssertionError: PSI/document inconsistency before reparse: file=Jspx DummyHolder
    at com.intellij.psi.impl.DocumentCommitThread.a(
    at com.intellij.psi.impl.DocumentCommitThread.a(
    at com.intellij.psi.impl.DocumentCommitThread.access$600(
    at com.intellij.psi.impl.DocumentCommitThread$
    at com.intellij.psi.impl.DocumentCommitThread.a(
    at com.intellij.psi.impl.DocumentCommitThread.commitSynchronously(
    at com.intellij.psi.impl.PsiDocumentManagerImpl$
    at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(
    at com.intellij.psi.impl.PsiDocumentManagerImpl.a(
    at com.intellij.psi.impl.PsiDocumentManagerImpl.commitDocument(
    at com.intellij.psi.impl.PsiDocumentManagerImpl.commitAllDocuments(
    at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.execute(
    at com.intellij.codeInsight.navigation.CtrlMouseHandler$5.mouseMoved(
    at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at com.intellij.util.EventDispatcher.dispatch(
    at com.intellij.util.EventDispatcher.access$100(
    at com.intellij.util.EventDispatcher$1.invoke(
    at $Proxy21.mouseMoved(Unknown Source)
    at com.intellij.openapi.editor.impl.EditorImpl$MyMouseMotionListener.mouseMoved(
    at java.awt.Component.processMouseMotionEvent(
    at javax.swing.JComponent.processMouseMotionEvent(
    at java.awt.Component.processEvent(
    at java.awt.Container.processEvent(
    at java.awt.Component.dispatchEventImpl(
    at java.awt.Container.dispatchEventImpl(
    at java.awt.Component.dispatchEvent(
    at java.awt.LightweightDispatcher.retargetMouseEvent(
    at java.awt.LightweightDispatcher.processMouseEvent(
    at java.awt.LightweightDispatcher.dispatchEvent(
    at java.awt.Container.dispatchEventImpl(
    at java.awt.Window.dispatchEventImpl(
    at java.awt.Component.dispatchEvent(
    at java.awt.EventQueue.dispatchEventImpl(
    at java.awt.EventQueue.access$000(
    at java.awt.EventQueue$
    at java.awt.EventQueue$
    at Method)
    at java.awt.EventQueue$
    at java.awt.EventQueue$
    at Method)
    at java.awt.EventQueue.dispatchEvent(
    at com.intellij.ide.IdeEventQueue.e(
    at com.intellij.ide.IdeEventQueue._dispatchEvent(
    at com.intellij.ide.IdeEventQueue.b(
    at com.intellij.ide.IdeEventQueue.dispatchEvent(
    at java.awt.EventDispatchThread.pumpOneEventForFilters(
    at java.awt.EventDispatchThread.pumpEventsForFilter(
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(
    at java.awt.EventDispatchThread.pumpEvents(
    at java.awt.EventDispatchThread.pumpEvents(

There is also a thread dump attached. Hope this helps in your analysis.



Comment actions Permalink

I also have this problem but for Play Framework 2.x with Scala.

It is really annoying!! Can not set breakpoints among many other things. This renders the IDE totally useless for my project!

And I am a long time IntelliJ user and have been very satisfied up until now.

I have attached the Thread dump for IntelliJ, some logs and an image that shows the "eye".

I will try the IntelliJ 13 EAP to see if the problem still occurs there but I still would like the version 12 to work.

Please respond to this!!!

PS. I have Invalidated the caches several times with no avail. I have even recreated the project several times but that didn't help.


Please sign in to leave a comment.