java.lang.AssertionError: len=32; endOffset=30; changed=false; nonPhysicalOrInjected=true; buffer= true } needsroot() { test ; this=Element(FILE); matches until 30; element there=PsiElement([Bash] word); leaf.text=test; leaf.psi=PsiElement([Bash] word); leaf.lang=Language: Bash; leaf.type=[Bash] word; psi.valid=false

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Invalid PSI structure
    via GitHub by jansorg
    ,
    • java.lang.AssertionError: len=32; endOffset=30; changed=false; nonPhysicalOrInjected=true; buffer= true } needsroot() { test ; this=Element(FILE); matches until 30; element there=PsiElement([Bash] word); leaf.text=test; leaf.psi=PsiElement([Bash] word); leaf.lang=Language: Bash; leaf.type=[Bash] word; psi.valid=false at com.intellij.psi.impl.source.tree.CompositeElement.textToCharArray(CompositeElement.java:328) at com.intellij.psi.impl.source.tree.CompositeElement.getText(CompositeElement.java:263) at com.intellij.psi.impl.source.tree.LazyParseableElement.getText(LazyParseableElement.java:84) at com.intellij.psi.impl.source.tree.injected.MultiHostRegistrarImpl.doneInjecting(MultiHostRegistrarImpl.java:232) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl$PsiManagerRegisteredInjectorsAdapter$1.addPlace(InjectedLanguageManagerImpl.java:478) at com.ansorgit.plugins.bash.lang.BashLanguageInjector.getLanguagesToInject(BashLanguageInjector.java:15) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl$PsiManagerRegisteredInjectorsAdapter.getLanguagesToInject(InjectedLanguageManagerImpl.java:485) at com.intellij.psi.impl.source.tree.injected.InjectedPsiCachedValueProvider$MyInjProcessor.process(InjectedPsiCachedValueProvider.java:82) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl.processInPlaceInjectorsFor(InjectedLanguageManagerImpl.java:444) at com.intellij.psi.impl.source.tree.injected.InjectedPsiCachedValueProvider.doCompute(InjectedPsiCachedValueProvider.java:62) at com.intellij.psi.impl.source.tree.injected.InjectedPsiCachedValueProvider.compute(InjectedPsiCachedValueProvider.java:51) at com.intellij.psi.impl.source.tree.injected.InjectedPsiCachedValueProvider.compute(InjectedPsiCachedValueProvider.java:38) at com.intellij.psi.impl.PsiParameterizedCachedValue.doCompute(PsiParameterizedCachedValue.java:53) at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:200) at com.intellij.psi.impl.PsiParameterizedCachedValue.getValue(PsiParameterizedCachedValue.java:43) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:318) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.enumerate(InjectedLanguageUtil.java:144) at com.intellij.codeInsight.daemon.impl.LineMarkersPass$2.process(LineMarkersPass.java:203) at com.intellij.codeInsight.daemon.impl.LineMarkersPass$2.process(LineMarkersPass.java:200) at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl.processInjectableElements(InjectedLanguageManagerImpl.java:233) at com.intellij.codeInsight.daemon.impl.LineMarkersPass.collectLineMarkersForInjected(LineMarkersPass.java:200) at com.intellij.codeInsight.daemon.impl.LineMarkersPass.doCollectInformation(LineMarkersPass.java:106) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:438) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1098) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:429) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:452) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) 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 com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:202) 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)
    No Bugmate found.