java.lang.AssertionError: Element: PsiWhiteSpace; next: [PSI] PsiElement([Bash] time with optional -p); next.prev: null Top:PsiDirectory:/

GitHub | GoogleCodeExporter | 2 years ago
  1. 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:/
  2. 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
  3. 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)]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception while opening the Javascript file

    YouTrack | 7 years ago
    java.lang.AssertionError: After patch: doc: '"abcMessageContent\' ---PSI: '' ---chars: ''. Language: HTML; Host file: HtmlFile:abc.js in '\abc.js' Context element (6,34): 'PsiElement(XML_ATTRIBUTE)'; Ranges: [Shred (12,34): PsiElement(XML_ATTRIBUTE_VALUE) Inhost range: (13,33); PSI range: (0,0)]
  6. 0

    Webstorm / angularjs attributes in jade problems

    YouTrack | 3 years ago
    java.lang.AssertionError: After patch: doc: 'AIntellijIdeaRulezzz ' ---PSI: '' ---chars: ''. Language: AngularJS; Host file: XmlFile:search_4_dot.jade in '\search_4_dot.jade' Context element (84,107): 'PsiElement(XML_ATTRIBUTE_VALUE)'; Ranges: [Shred (84,107): PsiElement(XML_ATTRIBUTE_VALUE) In host range: (85,106); PSI range: (0,0)]

    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

      Element: PsiWhiteSpace; next: [PSI] PsiElement([Bash] time with optional -p); next.prev: null Top:PsiDirectory:/

      at com.intellij.util.WalkingState.next()
    2. IDEA
      PsiTreeUtil$4.visitElement
      1. com.intellij.util.WalkingState.next(WalkingState.java:90)
      2. com.intellij.util.WalkingState.walkChildren(WalkingState.java:61)
      3. com.intellij.util.WalkingState.elementStarted(WalkingState.java:52)
      4. com.intellij.psi.PsiWalkingState.elementStarted(PsiWalkingState.java:73)
      5. com.intellij.psi.PsiRecursiveElementWalkingVisitor.visitElement(PsiRecursiveElementWalkingVisitor.java:48)
      6. com.intellij.psi.util.PsiTreeUtil$4.visitElement(PsiTreeUtil.java:678)
      6 frames
    3. com.ansorgit.plugins
      BashFunctionDefImpl.accept
      1. com.ansorgit.plugins.bash.lang.psi.impl.function.BashFunctionDefImpl.accept(BashFunctionDefImpl.java:189)
      1 frame
    4. IDEA
      PsiTreeUtil.collectElementsOfType
      1. com.intellij.psi.util.PsiTreeUtil.processElements(PsiTreeUtil.java:673)
      2. com.intellij.psi.util.PsiTreeUtil.collectElementsOfType(PsiTreeUtil.java:657)
      2 frames
    5. com.ansorgit.plugins
      BashCommandImpl.accept
      1. com.ansorgit.plugins.bash.lang.psi.impl.function.BashFunctionDefImpl.findReferencedParameters(BashFunctionDefImpl.java:133)
      2. com.ansorgit.plugins.bash.editor.inspections.inspections.UnusedFunctionParameterInspection$1.visitGenericCommand(UnusedFunctionParameterInspection.java:98)
      3. com.ansorgit.plugins.bash.lang.psi.impl.command.BashCommandImpl.accept(BashCommandImpl.java:248)
      3 frames
    6. IDEA
      ApplierCompleter.compute
      1. com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:80)
      2. com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:69)
      3. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:289)
      4. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.access$000(LocalInspectionsPass.java:75)
      5. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:258)
      6. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:255)
      7. com.intellij.concurrency.ApplierCompleter.a(ApplierCompleter.java:122)
      8. com.intellij.concurrency.ApplierCompleter.access$000(ApplierCompleter.java:44)
      9. com.intellij.concurrency.ApplierCompleter$1.run(ApplierCompleter.java:85)
      10. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1143)
      11. com.intellij.concurrency.ApplierCompleter$2.run(ApplierCompleter.java:94)
      12. com.intellij.openapi.progress.impl.ProgressManagerImpl.a(ProgressManagerImpl.java:281)
      13. com.intellij.openapi.progress.impl.ProgressManagerImpl.a(ProgressManagerImpl.java:278)
      14. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:233)
      15. com.intellij.concurrency.ApplierCompleter.a(ApplierCompleter.java:106)
      16. com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:82)
      16 frames
    7. Quasar
      ForkJoinWorkerThread.run
      1. jsr166e.CountedCompleter.exec(CountedCompleter.java:684)
      2. jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
      3. jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
      4. jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
      5. jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
      6. jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)
      6 frames