Skip to content
This repository has been archived by the owner on Nov 11, 2020. It is now read-only.

StringIndexOutOfBoundsException: Can't extract range #371

Closed
jansorg opened this issue Aug 27, 2016 · 0 comments
Closed

StringIndexOutOfBoundsException: Can't extract range #371

jansorg opened this issue Aug 27, 2016 · 0 comments
Milestone

Comments

@jansorg
Copy link
Member

jansorg commented Aug 27, 2016

PluginId: BashSupport
Plugin version: 1.5.8.162
IDEA build: PS-162.1121.38

Description: The whole commandline was 'echo ls'

Can't extract (977,979) range from ls
java.lang.StringIndexOutOfBoundsException: Can't extract (977,979) range from ls
at com.intellij.openapi.util.TextRange.substring(TextRange.java:107)
at com.ansorgit.plugins.bash.lang.psi.impl.BashBackquoteImpl.getCommandText(BashBackquoteImpl.java:34)
at com.ansorgit.plugins.bash.editor.inspections.quickfix.BackquoteQuickfix.invoke(BackquoteQuickfix.java:49)
at com.intellij.codeInspection.LocalQuickFixAndIntentionActionOnPsiElement.invoke(LocalQuickFixAndIntentionActionOnPsiElement.java:41)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.a(ShowIntentionActionsHandler.java:186)
at com.intellij.openapi.application.WriteAction.run(WriteAction.java:82)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.a(ShowIntentionActionsHandler.java:189)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:100)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:86)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseActionAndInvoke(ShowIntentionActionsHandler.java:185)
at com.intellij.codeInsight.intention.impl.IntentionListStep.b(IntentionListStep.java:265)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:199)
at com.intellij.ui.popup.AbstractPopup.a(AbstractPopup.java:1390)
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 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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant