java.lang.AssertionError: Text mismatch in FILE

GitHub | bjansen | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 377#234593586

    GitHub | 7 months ago | bjansen
    java.lang.AssertionError: Text mismatch in FILE
  2. 0

    Error while typing from "unknown plugin"

    YouTrack | 5 years ago
    java.lang.AssertionError: PSI/document inconsistency before reparse: file=PsiJavaFile:SelectResourceNameTest.java
  3. 0

    Debugger: Infinite loop when adding watch that calls method in Foundation.h

    YouTrack | 5 years ago
    java.lang.AssertionError: PSI/document inconsistency before reparse: file=OCFile:fragment.m
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    copy-paste produces broken files

    YouTrack | 4 years ago
    java.lang.AssertionError: PSI/document inconsistency before reparse: file=PsiJavaFile:GenerationTests.java
  6. 0

    Debugger evaluate window doesn't work

    YouTrack | 4 years ago
    java.lang.AssertionError: PSI/document inconsistency before reparse: file=ClojureFile

    Root Cause Analysis

    1. java.lang.AssertionError

      Text mismatch in FILE

      at com.intellij.psi.impl.source.tree.LazyParseableElement.assertTextLengthIntact()
    2. IDEA
      DocumentCommitThread.run
      1. com.intellij.psi.impl.source.tree.LazyParseableElement.assertTextLengthIntact(LazyParseableElement.java:227)
      2. com.intellij.psi.impl.source.tree.LazyParseableElement.ensureParsed(LazyParseableElement.java:213)
      3. com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:240)
      4. com.intellij.psi.impl.source.text.DiffLog$ReplaceElementWithEvents.<init>(DiffLog.java:263)
      5. com.intellij.psi.impl.source.text.DiffLog$ReplaceElementWithEvents.<init>(DiffLog.java:254)
      6. com.intellij.psi.impl.source.text.DiffLog.appendReplaceElementWithEvents(DiffLog.java:74)
      7. com.intellij.psi.impl.source.text.BlockSupportImpl.replaceElementWithEvents(BlockSupportImpl.java:261)
      8. com.intellij.psi.impl.source.text.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:278)
      9. com.intellij.psi.impl.source.text.BlockSupportImpl.makeFullParse(BlockSupportImpl.java:216)
      10. com.intellij.psi.impl.source.text.BlockSupportImpl.reparseRange(BlockSupportImpl.java:92)
      11. com.intellij.psi.impl.DocumentCommitThread.doCommit(DocumentCommitThread.java:803)
      12. com.intellij.psi.impl.DocumentCommitThread$6.run(DocumentCommitThread.java:581)
      13. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1033)
      14. com.intellij.psi.impl.DocumentCommitThread.commitUnderProgress(DocumentCommitThread.java:599)
      15. com.intellij.psi.impl.DocumentCommitThread.access$400(DocumentCommitThread.java:81)
      16. com.intellij.psi.impl.DocumentCommitThread$2.run(DocumentCommitThread.java:415)
      17. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:494)
      18. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
      19. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      20. com.intellij.psi.impl.DocumentCommitThread.pollQueue(DocumentCommitThread.java:412)
      21. com.intellij.psi.impl.DocumentCommitThread.run(DocumentCommitThread.java:362)
      21 frames
    3. Openapi
      BoundedTaskExecutor$2.run
      1. com.intellij.util.concurrency.BoundedTaskExecutor.runFirstTaskThenPollAndRunRest(BoundedTaskExecutor.java:178)
      2. com.intellij.util.concurrency.BoundedTaskExecutor.access$000(BoundedTaskExecutor.java:40)
      3. com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:197)
      3 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames