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

GitHub | jansorg | 2 years 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

    Exception in CompositeElement.textToCharArray

    GitHub | 2 years ago | 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
  2. 0

    Invalid PSI structure

    GitHub | 1 year ago | jansorg
    java.lang.AssertionError: After patch: doc: '$formatted_password'"' ---PSI: ''$formatted_password'' ---chars: ''$formatted_password''. Language: Bash; Host file: FILE in '.../setup.sh' Context element (2037,2060): '[PSI] Bash string'; Ranges: [Shred (2037,2060): [PSI] Bash string In host range: (2038,2059); PSI range: (0,21)]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. IDEA
      InjectedLanguageManagerImpl$PsiManagerRegisteredInjectorsAdapter$1.addPlace
      1. com.intellij.psi.impl.source.tree.CompositeElement.textToCharArray(CompositeElement.java:328)
      2. com.intellij.psi.impl.source.tree.CompositeElement.getText(CompositeElement.java:263)
      3. com.intellij.psi.impl.source.tree.LazyParseableElement.getText(LazyParseableElement.java:84)
      4. com.intellij.psi.impl.source.tree.injected.MultiHostRegistrarImpl.doneInjecting(MultiHostRegistrarImpl.java:232)
      5. com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl$PsiManagerRegisteredInjectorsAdapter$1.addPlace(InjectedLanguageManagerImpl.java:478)
      5 frames
    3. com.ansorgit.plugins
      BashLanguageInjector.getLanguagesToInject
      1. com.ansorgit.plugins.bash.lang.BashLanguageInjector.getLanguagesToInject(BashLanguageInjector.java:15)
      1 frame
    4. IDEA
      JobLauncherImpl$VoidForkJoinTask.exec
      1. com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl$PsiManagerRegisteredInjectorsAdapter.getLanguagesToInject(InjectedLanguageManagerImpl.java:485)
      2. com.intellij.psi.impl.source.tree.injected.InjectedPsiCachedValueProvider$MyInjProcessor.process(InjectedPsiCachedValueProvider.java:82)
      3. com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl.processInPlaceInjectorsFor(InjectedLanguageManagerImpl.java:444)
      4. com.intellij.psi.impl.source.tree.injected.InjectedPsiCachedValueProvider.doCompute(InjectedPsiCachedValueProvider.java:62)
      5. com.intellij.psi.impl.source.tree.injected.InjectedPsiCachedValueProvider.compute(InjectedPsiCachedValueProvider.java:51)
      6. com.intellij.psi.impl.source.tree.injected.InjectedPsiCachedValueProvider.compute(InjectedPsiCachedValueProvider.java:38)
      7. com.intellij.psi.impl.PsiParameterizedCachedValue.doCompute(PsiParameterizedCachedValue.java:53)
      8. com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:200)
      9. com.intellij.psi.impl.PsiParameterizedCachedValue.getValue(PsiParameterizedCachedValue.java:43)
      10. com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:318)
      11. com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.enumerate(InjectedLanguageUtil.java:144)
      12. com.intellij.codeInsight.daemon.impl.LineMarkersPass$2.process(LineMarkersPass.java:203)
      13. com.intellij.codeInsight.daemon.impl.LineMarkersPass$2.process(LineMarkersPass.java:200)
      14. com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl.processInjectableElements(InjectedLanguageManagerImpl.java:233)
      15. com.intellij.codeInsight.daemon.impl.LineMarkersPass.collectLineMarkersForInjected(LineMarkersPass.java:200)
      16. com.intellij.codeInsight.daemon.impl.LineMarkersPass.doCollectInformation(LineMarkersPass.java:106)
      17. com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
      18. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:438)
      19. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1098)
      20. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:429)
      21. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:452)
      22. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
      23. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      24. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:426)
      25. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:402)
      26. com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask.exec(JobLauncherImpl.java:202)
      26 frames
    5. Quasar
      ForkJoinWorkerThread.run
      1. jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2. jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
      3. jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
      4. jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
      5. jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)
      5 frames