PSI/document inconsistency before reparse

Hi Everyone,

I've go the following error for IntelliJ IDEA 11.1.4  Build #IU-117.963  running on OSX 10.8.1. The log files are full of them.

I am working on a Java EE 6 Web project.

I have searched the community discussions and the only recomendation to a similar issue was to ensure that ide.usenative.clipboard was unchecked in the registry. I have verified that it is unchecked.

Any ideas on what's going on? Complete log file attached.

thx,

Paul

2012-10-27 21:43:43,575 [4590137]  ERROR - .psi.impl.DocumentCommitThread - IntelliJ IDEA 11.1.4  Build #IU-117.963
2012-10-27 21:43:43,575 [4590137]  ERROR - .psi.impl.DocumentCommitThread - JDK: 1.6.0_37
2012-10-27 21:43:43,575 [4590137]  ERROR - .psi.impl.DocumentCommitThread - VM: Java HotSpot(TM) 64-Bit Server VM
2012-10-27 21:43:43,575 [4590137]  ERROR - .psi.impl.DocumentCommitThread - Vendor: Apple Inc.
2012-10-27 21:43:43,575 [4590137]  ERROR - .psi.impl.DocumentCommitThread - OS: Mac OS X
2012-10-27 21:43:43,575 [4590137]  ERROR - .psi.impl.DocumentCommitThread - Last Action: EditorCopy
2012-10-27 21:43:43,584 [4590146]  ERROR - .psi.impl.DocumentCommitThread - PSI/document inconsistency before reparse: file=PsiCodeFragment:web_path.txt
java.lang.AssertionError: PSI/document inconsistency before reparse: file=PsiCodeFragment:web_path.txt
 at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:655)
 at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:580)
 at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:66)
 at com.intellij.psi.impl.DocumentCommitThread$3.run(DocumentCommitThread.java:463)
 at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
 at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:476)
 at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:66)
 at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:360)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
 at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:357)
 at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:300)
 at java.lang.Thread.run(Thread.java:680)
2012-10-27 21:43:43,585 [4590147]  ERROR - .psi.impl.DocumentCommitThread - IntelliJ IDEA 11.1.4  Build #IU-117.963
2012-10-27 21:43:43,585 [4590147]  ERROR - .psi.impl.DocumentCommitThread - JDK: 1.6.0_37
2012-10-27 21:43:43,585 [4590147]  ERROR - .psi.impl.DocumentCommitThread - VM: Java HotSpot(TM) 64-Bit Server VM
2012-10-27 21:43:43,585 [4590147]  ERROR - .psi.impl.DocumentCommitThread - Vendor: Apple Inc.
2012-10-27 21:43:43,585 [4590147]  ERROR - .psi.impl.DocumentCommitThread - OS: Mac OS X
2012-10-27 21:43:43,585 [4590147]  ERROR - .psi.impl.DocumentCommitThread - Last Action: EditorCopy
2012-10-27 21:43:43,585 [4590147]  ERROR - .psi.impl.DocumentCommitThread - Current Command: Exit
2012-10-27 21:43:43,593 [4590155]  ERROR - .psi.impl.DocumentCommitThread - PSI/document inconsistency before reparse: file=PsiCodeFragment:web_path.txt
java.lang.AssertionError: PSI/document inconsistency before reparse: file=PsiCodeFragment:web_path.txt
 at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:655)
 at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:580)
 at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:66)
 at com.intellij.psi.impl.DocumentCommitThread$3.run(DocumentCommitThread.java:463)
 at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1053)
 at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:476)
 at com.intellij.psi.impl.DocumentCommitThread.access$500(DocumentCommitThread.java:66)
 at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:360)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
 at com.intellij.psi.impl.DocumentCommitThread.b(DocumentCommitThread.java:357)
 at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:300)
 at java.lang.Thread.run(Thread.java:680)
2012-10-27 21:43:43,594 [4590156]  ERROR - .psi.impl.DocumentCommitThread - IntelliJ IDEA 11.1.4  Build #IU-117.963
2012-10-27 21:43:43,594 [4590156]  ERROR - .psi.impl.DocumentCommitThread - JDK: 1.6.0_37
2012-10-27 21:43:43,594 [4590156]  ERROR - .psi.impl.DocumentCommitThread - VM: Java HotSpot(TM) 64-Bit Server VM
2012-10-27 21:43:43,594 [4590156]  ERROR - .psi.impl.DocumentCommitThread - Vendor: Apple Inc.
2012-10-27 21:43:43,594 [4590156]  ERROR - .psi.impl.DocumentCommitThread - OS: Mac OS X
2012-10-27 21:43:43,594 [4590156]  ERROR - .psi.impl.DocumentCommitThread - Last Action: EditorCopy
2012-10-27 21:43:43,594 [4590156]  ERROR - .psi.impl.DocumentCommitThread - Current Command: Exit
2012-10-27 21:43:43,629 [4590191]   INFO - ellij.project.impl.ProjectImpl - Unable to save plugin settings
com.intellij.diagnostic.PluginException: PSI/document inconsistency before reparse: file=PsiCodeFragment:web_path.txt [Plugin: com.intellij.commander]
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave(ComponentStoreImpl.java:126)
 at com.intellij.openapi.components.impl.stores.ProjectWithModulesStoreImpl.startSave(ProjectWithModulesStoreImpl.java:39)
 at com.intellij.openapi.components.impl.stores.StoreUtil.doSave(StoreUtil.java:30)
 at com.intellij.openapi.project.impl.ProjectImpl.save(ProjectImpl.java:341)
 at com.intellij.openapi.project.impl.ProjectManagerImpl.closeProject(ProjectManagerImpl.java:974)
 at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:317)
 at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:117)
 at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:93)
 at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:81)
 at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:315)
 at com.intellij.openapi.application.impl.ApplicationImpl.b(ApplicationImpl.java:789)
 at com.intellij.openapi.application.impl.ApplicationImpl.access$900(ApplicationImpl.java:85)
 at com.intellij.openapi.application.impl.ApplicationImpl$9.run(ApplicationImpl.java:766)
 at com.intellij.openapi.application.impl.ApplicationImpl.exit(ApplicationImpl.java:777)
 at com.intellij.openapi.application.impl.ApplicationImpl.exit(ApplicationImpl.java:748)
 at com.intellij.openapi.application.impl.ApplicationImpl.exit(ApplicationImpl.java:744)
 at com.intellij.ide.MacOSApplicationProvider$Worker$1.handleQuit(MacOSApplicationProvider.java:110)
 at com.apple.eawt._AppEventLegacyHandler$7.dispatchEvent(_AppEventLegacyHandler.java:146)
 at com.apple.eawt._AppEventLegacyHandler.sendEventToEachListenerUntilHandled(_AppEventLegacyHandler.java:168)
 at com.apple.eawt._AppEventLegacyHandler.handleQuitRequestWith(_AppEventLegacyHandler.java:144)
 at com.apple.eawt._AppEventHandler$_QuitDispatcher.performUsing(_AppEventHandler.java:387)
 at com.apple.eawt._AppEventHandler$_QuitDispatcher.performUsing(_AppEventHandler.java:380)
 at com.apple.eawt._AppEventHandler$_AppEventDispatcher$1.run(_AppEventHandler.java:489)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
 at java.awt.EventQueue.access$400(EventQueue.java:82)
 at java.awt.EventQueue$2.run(EventQueue.java:663)
 at java.awt.EventQueue$2.run(EventQueue.java:661)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:699)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:538)
 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:420)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:378)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.AssertionError: PSI/document inconsistency before reparse: file=PsiCodeFragment:web_path.txt
 at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:655)
 at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:580)
 at com.intellij.psi.impl.DocumentCommitThread.access$600(DocumentCommitThread.java:66)
 at com.intellij.psi.impl.DocumentCommitThread$3.run(DocumentCommitThread.java:463)
 at com.intellij.psi.impl.DocumentCommitThread.a(DocumentCommitThread.java:473)
 at com.intellij.psi.impl.DocumentCommitThread.commitSynchronously(DocumentCommitThread.java:423)
 at com.intellij.psi.impl.PsiDocumentManagerImpl$6.run(PsiDocumentManagerImpl.java:415)
 at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:902)
 at com.intellij.psi.impl.PsiDocumentManagerImpl.a(PsiDocumentManagerImpl.java:407)
 at com.intellij.psi.impl.PsiDocumentManagerImpl.commitDocument(PsiDocumentManagerImpl.java:331)
 at com.intellij.psi.impl.PsiDocumentManagerImpl.commitAllDocuments(PsiDocumentManagerImpl.java:242)
 at com.intellij.ide.commander.Commander.getState(Commander.java:503)
 at com.intellij.ide.commander.Commander.getState(Commander.java:65)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:157)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$600(ComponentStoreImpl.java:45)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$SaveSessionImpl.commit(ComponentStoreImpl.java:480)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave(ComponentStoreImpl.java:114)
 ... 40 more



Attachment(s):
idea.log.zip
3 comments
Comment actions Permalink

Please create a ticket at http://youtrack.jetbrains.com/issues/IDEA and describe necessary steps to reproduce.

Thanks!
Yann

0
Comment actions Permalink

Thanks Yann.

I will clear down the log files and tail them so I work out what condition / sequence of event causes it.

with my thanks again,

Paul

0
Comment actions Permalink

Hi Yann,

I was able to systematically reporduce.  I have rasied a Ticket :

http://youtrack.jetbrains.com/issue/IDEA-93804

thx,

Paul

0

Please sign in to leave a comment.