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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by SpencerBrown
, 1 year ago
index 0 is not within range [0, 0)
via GitHub by aotte
, 1 year ago
index 0 is not within range [0, 0)
java.lang.IndexOutOfBoundsException: index 0 is not within range [0, 0)
at com.vladsch.smart.SmartCharSequenceBase.checkIndex(SmartCharSequenceBase.kt:325)
at com.vladsch.smart.SmartCharSequenceWrapper.trackedSourceLocation(SmartCharSequenceWrapper.kt:91)
at com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.nodeChars(ASTFlexmarkTableParser.kt:78)
at com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.visit(ASTFlexmarkTableParser.kt:151)
at com.vladsch.flexmark.internal.util.ast.VisitHandler.visit(VisitHandler.java:28)
at com.vladsch.flexmark.internal.util.ast.NodeVisitor.visit(NodeVisitor.java:55)
at com.vladsch.flexmark.internal.util.ast.NodeVisitor.visitChildren(NodeVisitor.java:47)
at com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.visitChildren(ASTFlexmarkTableParser.kt:117)
at com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.visit(ASTFlexmarkTableParser.kt:142)
at com.vladsch.flexmark.internal.util.ast.VisitHandler.visit(VisitHandler.java:28)
at com.vladsch.flexmark.internal.util.ast.NodeVisitor.visit(NodeVisitor.java:55)
at com.vladsch.flexmark.internal.util.ast.NodeVisitor.visitChildren(NodeVisitor.java:47)
at com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.visitChildren(ASTFlexmarkTableParser.kt:117)
at com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.visit(ASTFlexmarkTableParser.kt:136)
at com.vladsch.flexmark.internal.util.ast.VisitHandler.visit(VisitHandler.java:28)
at com.vladsch.flexmark.internal.util.ast.NodeVisitor.visit(NodeVisitor.java:55)
at com.vladsch.flexmark.internal.util.ast.NodeVisitor.visitChildren(NodeVisitor.java:47)
at com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.visitChildren(ASTFlexmarkTableParser.kt:117)
at com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.visit(ASTFlexmarkTableParser.kt:123)
at com.vladsch.flexmark.internal.util.ast.VisitHandler.visit(VisitHandler.java:28)
at com.vladsch.flexmark.internal.util.ast.NodeVisitor.visit(NodeVisitor.java:55)
at com.vladsch.flexmark.internal.util.ast.NodeVisitor.visitChildren(NodeVisitor.java:47)
at com.vladsch.flexmark.internal.util.ast.NodeVisitor.visit(NodeVisitor.java:57)
at com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser$TableParsingVisitor.parseTable(ASTFlexmarkTableParser.kt:70)
at com.vladsch.idea.multimarkdown.util.format.ASTFlexmarkTableParser.parseTable(ASTFlexmarkTableParser.kt:44)
at com.vladsch.idea.multimarkdown.editor.actions.handlers.TableContext.parseMarkdownTable(TableContext.kt:78)
at com.vladsch.idea.multimarkdown.editor.actions.handlers.TableContext.access$parseMarkdownTable(TableContext.kt:34)
at com.vladsch.idea.multimarkdown.editor.actions.handlers.TableContext$table$2.invoke(TableContext.kt:58)
at com.vladsch.idea.multimarkdown.editor.actions.handlers.TableContext$table$2.invoke(TableContext.kt:34)
at kotlin.SynchronizedLazyImpl.getValue(Lazy.kt:131)
at com.vladsch.idea.multimarkdown.editor.actions.handlers.TableContext.getTable(TableContext.kt)
at com.vladsch.idea.multimarkdown.editor.actions.handlers.TableContext.canDeleteRow(TableContext.kt:96)
at com.vladsch.idea.multimarkdown.editor.actions.styling.DeleteRowAction.canPerformAction(DeleteRowAction.kt:22)
at com.vladsch.idea.multimarkdown.editor.actions.styling.BaseTableAction.update(BaseTableAction.kt:70)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:123)
at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:188)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:139)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:96)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.a(ActionToolbarImpl.java:942)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$000(ActionToolbarImpl.java:65)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$1.updateActionsImpl(ActionToolbarImpl.java:174)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:186)
at com.intellij.openapi.wm.impl.FocusManagerImpl.b(FocusManagerImpl.java:634)
at com.intellij.openapi.wm.impl.FocusManagerImpl.m(FocusManagerImpl.java:615)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:585)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:481)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2397)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:461)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.a(ToolbarUpdater.java:108)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.access$400(ToolbarUpdater.java:40)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyTimerListener.run(ToolbarUpdater.java:158)
at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:54)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:1417)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:1407)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:863)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:699)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.