java.lang.IndexOutOfBoundsException: index 0 is not within range [0, 0)

GitHub | aotte | 9 months 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

    GitHub comment 288#241154445

    GitHub | 9 months ago | aotte
    java.lang.IndexOutOfBoundsException: index 0 is not within range [0, 0)
  2. 0

    GitHub comment 288#242996795

    GitHub | 9 months ago | SpencerBrown
    java.lang.IndexOutOfBoundsException: index 0 is not within range [0, 0)

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      index 0 is not within range [0, 0)

      at com.vladsch.smart.SmartCharSequenceBase.checkIndex()
    2. com.vladsch.smart
      SmartCharSequenceWrapper.trackedSourceLocation
      1. com.vladsch.smart.SmartCharSequenceBase.checkIndex(SmartCharSequenceBase.kt:325)
      2. com.vladsch.smart.SmartCharSequenceWrapper.trackedSourceLocation(SmartCharSequenceWrapper.kt:91)
      2 frames
    3. com.vladsch.idea
      ASTFlexmarkTableParser$TableParsingVisitor.visit
      1. com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.nodeChars(ASTFlexmarkTableParser.kt:78)
      2. com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.visit(ASTFlexmarkTableParser.kt:151)
      2 frames
    4. com.vladsch.flexmark
      NodeVisitor.visitChildren
      1. com.vladsch.flexmark.internal.util.ast.VisitHandler.visit(VisitHandler.java:28)
      2. com.vladsch.flexmark.internal.util.ast.NodeVisitor.visit(NodeVisitor.java:55)
      3. com.vladsch.flexmark.internal.util.ast.NodeVisitor.visitChildren(NodeVisitor.java:47)
      3 frames
    5. com.vladsch.idea
      ASTFlexmarkTableParser$TableParsingVisitor.visit
      1. com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.visitChildren(ASTFlexmarkTableParser.kt:117)
      2. com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.visit(ASTFlexmarkTableParser.kt:142)
      2 frames
    6. com.vladsch.flexmark
      NodeVisitor.visitChildren
      1. com.vladsch.flexmark.internal.util.ast.VisitHandler.visit(VisitHandler.java:28)
      2. com.vladsch.flexmark.internal.util.ast.NodeVisitor.visit(NodeVisitor.java:55)
      3. com.vladsch.flexmark.internal.util.ast.NodeVisitor.visitChildren(NodeVisitor.java:47)
      3 frames
    7. com.vladsch.idea
      ASTFlexmarkTableParser$TableParsingVisitor.visit
      1. com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.visitChildren(ASTFlexmarkTableParser.kt:117)
      2. com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.visit(ASTFlexmarkTableParser.kt:136)
      2 frames
    8. com.vladsch.flexmark
      NodeVisitor.visitChildren
      1. com.vladsch.flexmark.internal.util.ast.VisitHandler.visit(VisitHandler.java:28)
      2. com.vladsch.flexmark.internal.util.ast.NodeVisitor.visit(NodeVisitor.java:55)
      3. com.vladsch.flexmark.internal.util.ast.NodeVisitor.visitChildren(NodeVisitor.java:47)
      3 frames
    9. com.vladsch.idea
      ASTFlexmarkTableParser$TableParsingVisitor.visit
      1. com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.visitChildren(ASTFlexmarkTableParser.kt:117)
      2. com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.visit(ASTFlexmarkTableParser.kt:123)
      2 frames
    10. com.vladsch.flexmark
      NodeVisitor.visit
      1. com.vladsch.flexmark.internal.util.ast.VisitHandler.visit(VisitHandler.java:28)
      2. com.vladsch.flexmark.internal.util.ast.NodeVisitor.visit(NodeVisitor.java:55)
      3. com.vladsch.flexmark.internal.util.ast.NodeVisitor.visitChildren(NodeVisitor.java:47)
      4. com.vladsch.flexmark.internal.util.ast.NodeVisitor.visit(NodeVisitor.java:57)
      4 frames
    11. com.vladsch.idea
      TableContext$table$2.invoke
      1. com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.parseTable(ASTFlexmarkTableParser.kt:70)
      2. com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser.parseTable(ASTFlexmarkTableParser.kt:44)
      3. com.vladsch.idea.multimarkdown.editor.actions.handlers.TableContext.parseMarkdownTable(TableContext.kt:78)
      4. com.vladsch.idea.multimarkdown.editor.actions.handlers.TableContext.access$parseMarkdownTable(TableContext.kt:34)
      5. com.vladsch.idea.multimarkdown.editor.actions.handlers.TableContext$table$2.invoke(TableContext.kt:58)
      6. com.vladsch.idea.multimarkdown.editor.actions.handlers.TableContext$table$2.invoke(TableContext.kt:34)
      6 frames
    12. kotlin
      SynchronizedLazyImpl.getValue
      1. kotlin.SynchronizedLazyImpl.getValue(Lazy.kt:131)
      1 frame
    13. com.vladsch.idea
      BaseTableAction.update
      1. com.vladsch.idea.multimarkdown.editor.actions.handlers.TableContext.getTable(TableContext.kt)
      2. com.vladsch.idea.multimarkdown.editor.actions.handlers.TableContext.canDeleteRow(TableContext.kt:96)
      3. com.vladsch.idea.multimarkdown.editor.actions.styling.DeleteRowAction.canPerformAction(DeleteRowAction.kt:22)
      4. com.vladsch.idea.multimarkdown.editor.actions.styling.BaseTableAction.update(BaseTableAction.kt:70)
      4 frames
    14. IDEA
      ActionManagerImpl$MyTimer.actionPerformed
      1. com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:123)
      2. com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:188)
      3. com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:139)
      4. com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:96)
      5. com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.a(ActionToolbarImpl.java:942)
      6. com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$000(ActionToolbarImpl.java:65)
      7. com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$1.updateActionsImpl(ActionToolbarImpl.java:174)
      8. com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:186)
      9. com.intellij.openapi.wm.impl.FocusManagerImpl.b(FocusManagerImpl.java:634)
      10. com.intellij.openapi.wm.impl.FocusManagerImpl.r(FocusManagerImpl.java:615)
      11. com.intellij.openapi.wm.impl.FocusManagerImpl.m(FocusManagerImpl.java:585)
      12. com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:481)
      13. com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2397)
      14. com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:461)
      15. com.intellij.openapi.actionSystem.impl.ToolbarUpdater.a(ToolbarUpdater.java:108)
      16. com.intellij.openapi.actionSystem.impl.ToolbarUpdater.access$400(ToolbarUpdater.java:40)
      17. com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyTimerListener.run(ToolbarUpdater.java:158)
      18. com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:54)
      19. com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:1417)
      20. com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:1407)
      21. com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:1391)
      21 frames
    15. Java RT
      EventQueue.dispatchEvent
      1. javax.swing.Timer.fireActionPerformed(Timer.java:313)
      2. javax.swing.Timer$DoPostEvent.run(Timer.java:245)
      3. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      4. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      5. java.awt.EventQueue.access$500(EventQueue.java:97)
      6. java.awt.EventQueue$3.run(EventQueue.java:709)
      7. java.awt.EventQueue$3.run(EventQueue.java:703)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      10. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      10 frames
    16. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:863)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:699)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      3 frames
    17. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames