java.lang.RuntimeException: java.lang.AssertionError: Unexpected content storage modification

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by jansorg
, 1 year ago
java.lang.AssertionError: Unexpected content storage modification
via GitHub by evenaglia
, 11 months ago
java.lang.RuntimeException: java.lang.AssertionError
via YouTrack by Unknown author, 1 year ago
java.lang.RuntimeException: java.lang.AssertionError: Trying to find an attribute of deleted page
via YouTrack by Unknown author, 1 year ago
java.lang.AssertionError
java.lang.RuntimeException: java.lang.AssertionError: Unexpected content storage modification
at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.a(FSRecords.java:1547)
at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.access$2000(FSRecords.java:57)
at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$ContentOutputStream.writeBytes(FSRecords.java:1468)
at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.writeContent(FSRecords.java:1387)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.a(PersistentFSImpl.java:250)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.contentsToByteArray(PersistentFSImpl.java:518)
at com.intellij.openapi.vfs.newvfs.impl.VirtualFileImpl.contentsToByteArray(VirtualFileImpl.java:108)
at com.intellij.openapi.vfs.newvfs.impl.VirtualFileImpl.contentsToByteArray(VirtualFileImpl.java:102)
at com.intellij.openapi.fileEditor.impl.LoadTextUtil.loadText(LoadTextUtil.java:373)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.getDocument(FileDocumentManagerImpl.java:167)
at com.intellij.psi.SingleRootFileViewProvider.getDocument(SingleRootFileViewProvider.java:359)
at com.intellij.psi.SingleRootFileViewProvider$VirtualFileContent.getText(SingleRootFileViewProvider.java:492)
at com.intellij.psi.SingleRootFileViewProvider.getContents(SingleRootFileViewProvider.java:339)
at com.intellij.psi.impl.source.PsiFileImpl.b(PsiFileImpl.java:192)
at com.intellij.psi.impl.source.PsiFileImpl.calcTreeElement(PsiFileImpl.java:752)
at com.intellij.psi.impl.source.PsiFileImpl.getNode(PsiFileImpl.java:959)
at com.ansorgit.plugins.bash.lang.psi.impl.BashFileImpl.processDeclarations(BashFileImpl.java:94)
at com.ansorgit.plugins.bash.lang.psi.impl.command.BashIncludeCommandImpl.processDeclarations(BashIncludeCommandImpl.java:139)
at com.ansorgit.plugins.bash.lang.psi.impl.BashFileImpl.processDeclarations(BashFileImpl.java:103)
at com.ansorgit.plugins.bash.lang.psi.impl.command.BashCommandImpl.doResolve(BashCommandImpl.java:213)
at com.ansorgit.plugins.bash.lang.psi.impl.command.BashCommandImpl.isFunctionCallInternal(BashCommandImpl.java:126)
at com.ansorgit.plugins.bash.lang.psi.impl.command.BashCommandImpl.isFunctionCall(BashCommandImpl.java:112)
at com.ansorgit.plugins.bash.lang.psi.impl.command.BashCommandImpl.getReference(BashCommandImpl.java:189)
at com.intellij.psi.impl.SharedPsiElementImplUtil.getReferences(SharedPsiElementImplUtil.java:82)
at com.intellij.psi.impl.PsiElementBase.getReferences(PsiElementBase.java:82)
at com.intellij.psi.impl.SharedPsiElementImplUtil.a(SharedPsiElementImplUtil.java:67)
at com.intellij.psi.impl.SharedPsiElementImplUtil.findReferenceAt(SharedPsiElementImplUtil.java:49)
at com.intellij.psi.impl.SharedPsiElementImplUtil.findReferenceAt(SharedPsiElementImplUtil.java:63)
at com.intellij.psi.impl.PsiElementBase.findReferenceAt(PsiElementBase.java:87)
at com.intellij.psi.SingleRootFileViewProvider.a(SingleRootFileViewProvider.java:415)
at com.intellij.psi.SingleRootFileViewProvider.findReferenceAt(SingleRootFileViewProvider.java:387)
at com.intellij.psi.impl.source.PsiFileImpl.findReferenceAt(PsiFileImpl.java:613)
at com.intellij.codeInsight.TargetElementUtilBase.findReference(TargetElementUtilBase.java:116)
at com.intellij.codeInsight.TargetElementUtilBase.getReferenceOrReferencedElement(TargetElementUtilBase.java:304)
at com.intellij.codeInsight.TargetElementUtilBase.findTargetElement(TargetElementUtilBase.java:200)
at com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.doCollectInformation(IdentifierHighlighterPass.java:88)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:62)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:438)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1146)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:429)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.a(ProgressManagerImpl.java:281)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:233)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:426)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)
at jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
at jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
at jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
at jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
at jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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