IndexOutOfBoundsException
See original GitHub issueReceived an IndexOutOfBoundsException, Running IDEA 2106.2.2 and Markdown Navigator Version 2.0.0.
Index out of range: 1 java.lang.IndexOutOfBoundsException: Index out of range: 1 at com.intellij.util.text.ImmutableText.charAt(ImmutableText.java:270) at com.intellij.openapi.editor.impl.DocumentImpl$1.charAt(DocumentImpl.java:100) at com.vladsch.smart.SmartCharSequenceWrapper.get(SmartCharSequenceWrapper.kt:74) at com.vladsch.smart.SmartCharSequenceBase.charAt(SmartCharSequenceBase.kt:26) at com.vladsch.smart.SmartSegmentedCharSequence.charAtImpl(SmartSegmentedCharSequence.kt:100) at com.vladsch.smart.SmartSegmentedCharSequence.charAtImpl$SmartData(SmartSegmentedCharSequence.kt:26) at com.vladsch.smart.SmartCharSequenceBase.get(SmartCharSequenceBase.kt:68) at com.vladsch.smart.SmartSegmentedCharSequence.get(SmartSegmentedCharSequence.kt:26) at com.vladsch.smart.SmartCharSequenceBase.charAt(SmartCharSequenceBase.kt:26) at com.vladsch.smart.EditableCharSequence.get(EditableCharSequence.kt:46) at com.vladsch.smart.EditableCharSequence.charAt(EditableCharSequence.kt:26) at com.vladsch.idea.multimarkdown.util.format.MarkdownFormatter$Companion.formatAtxHeader(MarkdownFormatter.kt:1000) at com.vladsch.idea.multimarkdown.editor.actions.handlers.AtxHeaderContext.adjustTrailingMarkers(AtxHeaderContext.kt:32) at com.vladsch.idea.multimarkdown.editor.actions.handlers.BackspaceHandler.charDeleted(BackspaceHandler.kt:189) at com.intellij.codeInsight.editorActions.BackspaceHandler.handleBackspace(BackspaceHandler.java:109) at com.intellij.codeInsight.editorActions.BackspaceHandler.executeWriteAction(BackspaceHandler.java:61) at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler$1.run(EditorWriteActionHandler.java:57) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:906) at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler.doExecute(EditorWriteActionHandler.java:70) at com.intellij.openapi.editor.actionSystem.EditorActionHandler$3$1.perform(EditorActionHandler.java:206) at com.intellij.openapi.editor.actionSystem.EditorActionHandler.doIfEnabled(EditorActionHandler.java:109) at com.intellij.openapi.editor.actionSystem.EditorActionHandler.access$000(EditorActionHandler.java:38) at com.intellij.openapi.editor.actionSystem.EditorActionHandler$3.perform(EditorActionHandler.java:203) at com.intellij.openapi.editor.impl.CaretModelImpl.a(CaretModelImpl.java:348) at com.intellij.openapi.editor.impl.CaretModelImpl.doWithCaretMerging(CaretModelImpl.java:437) at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:340) at com.intellij.openapi.editor.impl.CaretModelImpl.runForEachCaret(CaretModelImpl.java:331) at com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:200) at com.intellij.codeInsight.lookup.impl.BackspaceHandler.doExecute(BackspaceHandler.java:38) at com.intellij.openapi.editor.actionSystem.EditorActionHandler$4.perform(EditorActionHandler.java:217) at com.intellij.openapi.editor.actionSystem.EditorActionHandler.doIfEnabled(EditorActionHandler.java:109) at com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:214) at com.intellij.openapi.editor.actionSystem.EditorAction.lambda$actionPerformed$0(EditorAction.java:100) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129) at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:109) at com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:88) at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:197) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:213) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:587) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:634) at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:199) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:633) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:477) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:677) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385) 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)
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
@SpencerBrown, thank you for the encouraging feedback. The nature of issues means I mostly get bugs and complaints. Positive feedback helps balance the user perception of the plugin. 👍
@vsch Yes, version 2.0.0.8 fixes my issue! Thanks. I’m glad I’m a paid subscriber, this plugin is the best I’ve seen and I use it daily.