question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IndexOutOfBoundsException

See original GitHub issue

Received 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:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
vschcommented, Sep 3, 2016

@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. 👍

1reaction
SpencerBrowncommented, Sep 2, 2016

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

IndexOutOfBoundsException (Java Platform SE 7 )
Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out...
Read more >
IndexOutOfBoundsException - Android Developers
Constructs an IndexOutOfBoundsException with the specified detail message. IndexOutOfBoundsException(int index). Constructs a new IndexOutOfBoundsException ...
Read more >
[Solved] java.lang.IndexOutOfBoundsException
lang.IndexOutOfBoundsException in Java. According to Oracle docs, IndexOutOfBoundsException is a subclass of RuntimeException. It is an unchecked exception that ...
Read more >
What is a StringIndexOutOfBoundsException? How can I fix it?
IndexOutOfBoundsException is a subclass of RuntimeException mean it is an unchecked exception which is thrown to indicate that an index of ...
Read more >
IndexOutOfBoundsException
Exception objects contain data and methods, as does any object. Here are some methods: ... A catch{} block can use these methods to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found