java.lang.AssertionError: Text mismatch in FILE

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by bjansen
, 1 year ago
Text mismatch in FILE
java.lang.AssertionError: Text mismatch in FILE
at com.intellij.psi.impl.source.tree.LazyParseableElement.assertTextLengthIntact(LazyParseableElement.java:227)
at com.intellij.psi.impl.source.tree.LazyParseableElement.ensureParsed(LazyParseableElement.java:213)
at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:240)
at com.intellij.psi.impl.source.text.DiffLog$ReplaceElementWithEvents.(DiffLog.java:263)
at com.intellij.psi.impl.source.text.DiffLog$ReplaceElementWithEvents.(DiffLog.java:254)
at com.intellij.psi.impl.source.text.DiffLog.appendReplaceElementWithEvents(DiffLog.java:74)
at com.intellij.psi.impl.source.text.BlockSupportImpl.replaceElementWithEvents(BlockSupportImpl.java:261)
at com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:278)
at com.intellij.psi.impl.source.text.BlockSupportImpl.makeFullParse(BlockSupportImpl.java:216)
at com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:92)
at com.intellij.psi.impl.DocumentCommitThread.doCommit(DocumentCommitThread.java:803)
at com.intellij.psi.impl.DocumentCommitThread$6.run(DocumentCommitThread.java:581)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1033)
at com.intellij.psi.impl.DocumentCommitThread.commitUnderProgress(DocumentCommitThread.java:599)
at com.intellij.psi.impl.DocumentCommitThread.access$400(DocumentCommitThread.java:81)
at com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:415)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:494)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.psi.impl.DocumentCommitThread.pollQueue(DocumentCommitThread.java:412)
at com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:362)
at com.intellij.util.concurrency.BoundedTaskExecutor.runFirstTaskThenPollAndRunRest(BoundedTaskExecutor.java:178)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$000(BoundedTaskExecutor.java:40)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.