java.lang.StringIndexOutOfBoundsException: Can't extract (977,979) range from `ls`

GitHub | jansorg | 6 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

    StringIndexOutOfBoundsException: Can't extract range

    GitHub | 6 months ago | jansorg
    java.lang.StringIndexOutOfBoundsException: Can't extract (977,979) range from `ls`
  2. 0

    convert to subshell command throwing out of bounds exception

    GitHub | 7 months ago | jansorg
    java.lang.StringIndexOutOfBoundsException: Can't extract (229,268) range from `echo "${GCE_CLUSTERS}"|sed -e 's/,/ /g'`
  3. 0

    SIOOB: Can't extract (86,90) range from `${1}`

    GitHub | 8 months ago | jansorg
    java.lang.StringIndexOutOfBoundsException: Can't extract (86,90) range from `${1}`
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    BackquoteQuickfix SOOBE

    GitHub | 7 months ago | jansorg
    java.lang.StringIndexOutOfBoundsException: Can't extract (3634,3693) range from `ps -ef | grep kafka.Kafka | grep -v grep | awk '{print $2}'`

    Root Cause Analysis

    1. java.lang.StringIndexOutOfBoundsException

      Can't extract (977,979) range from `ls`

      at com.intellij.openapi.util.TextRange.substring()
    2. IDEA
      TextRange.substring
      1. com.intellij.openapi.util.TextRange.substring(TextRange.java:107)
      1 frame
    3. com.ansorgit.plugins
      BackquoteQuickfix.invoke
      1. com.ansorgit.plugins.bash.lang.psi.impl.BashBackquoteImpl.getCommandText(BashBackquoteImpl.java:34)
      2. com.ansorgit.plugins.bash.editor.inspections.quickfix.BackquoteQuickfix.invoke(BackquoteQuickfix.java:49)
      2 frames
    4. IDEA
      AbstractPopup.a
      1. com.intellij.codeInspection.LocalQuickFixAndIntentionActionOnPsiElement.invoke(LocalQuickFixAndIntentionActionOnPsiElement.java:41)
      2. com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.a(ShowIntentionActionsHandler.java:186)
      3. com.intellij.openapi.application.WriteAction.run(WriteAction.java:82)
      4. com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.a(ShowIntentionActionsHandler.java:189)
      5. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129)
      6. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:100)
      7. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:86)
      8. com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseActionAndInvoke(ShowIntentionActionsHandler.java:185)
      9. com.intellij.codeInsight.intention.impl.IntentionListStep.b(IntentionListStep.java:265)
      10. com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:199)
      11. com.intellij.ui.popup.AbstractPopup.a(AbstractPopup.java:1390)
      11 frames
    5. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      8 frames
    6. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:863)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:699)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      3 frames
    7. 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