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
  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

  4. 0

    PsiWhitespace exception

    GitHub | 2 years ago | GoogleCodeExporter
    java.lang.AssertionError: Element: PsiWhiteSpace; next: [PSI] PsiElement([Bash] time with optional -p); next.prev: null Top:PsiDirectory:/
  5. 0

    After moving classes to new package the state is confused (perforce)

    YouTrack | 3 years ago
    java.lang.AssertionError: Tree changed while calculating text. startStamp:2; current:4; myHC:-1; assertThreading:true; this: Element(FILE) Under write: false; Thread.holdsLock(PsiLock.LOCK): false; wrapper: GroovyFileImpl:Popup.groovy; wrapper.isPhysical(): true; fileElement: Element(FILE); psiFile: GroovyFileImpl:Popup.groovy; psiFile.getViewProvider(): SingleRootFileViewProvider{myVirtualFile=file://C:/work/nca/nca/playground/dpviewer/dpviewerfx/src/main/groovy/com/abinitio/commons/harmony/fourpart/javafx/popups/Popup.groovy, content=com.intellij.psi.SingleRootFileViewProvider$PsiFileContent@aa4d465}; psiFile.isPhysical(): true; nonPhysicalOrInjected: false

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    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