java.lang.IllegalArgumentException: Index out of bounds

Appcelerator JIRA | Chris Williams | 5 years ago
  1. 0

    {html}<div><p>I have a JS file, a lot of which has been folded. When I try to run "Show Scope" on a segment, nothing happens. Checking the log, I see:<br></p> <pre> <code>!ENTRY org.eclipse.ui 4 0 2011-05-05 09:31:34.090 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.IllegalArgumentException: Index out of bounds at org.eclipse.swt.SWT.error(SWT.java:4258) at org.eclipse.swt.SWT.error(SWT.java:4192) at org.eclipse.swt.SWT.error(SWT.java:4163) at org.eclipse.swt.custom.StyledText.getLocationAtOffset(StyledText.java:4318) at com.aptana.editor.common.scripting.commands.CommandExecutionUtils.showAsTooltip(CommandExecutionUtils.java:906) at com.aptana.editor.common.scripting.commands.CommandExecutionUtils.processCommandResult(CommandExecutionUtils.java:647) at com.aptana.editor.common.scripting.commands.CommandExecutionUtils.processCommandResult(CommandExecutionUtils.java:490) at com.aptana.editor.common.internal.scripting.CommandElementsProvider.execute(CommandElementsProvider.java:48) at com.aptana.scripting.keybindings.internal.KeybindingsManager.executeCommandElement(KeybindingsManager.java:846) at com.aptana.scripting.keybindings.internal.KeybindingsManager.processKeyStroke(KeybindingsManager.java:530) at com.aptana.scripting.keybindings.internal.KeybindingsManager.processKeyStrokes(KeybindingsManager.java:459) at com.aptana.scripting.keybindings.internal.KeybindingsManager.access$2(KeybindingsManager.java:454) at com.aptana.scripting.keybindings.internal.KeybindingsManager$1.handleEvent(KeybindingsManager.java:130) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)</code> </pre> <p>My guess is we're not translating the positions/points based on the folding.</p></div>{html}

    Appcelerator JIRA | 5 years ago | Chris Williams
    java.lang.IllegalArgumentException: Index out of bounds
  2. 0

    {html}<div><p>I have a JS file, a lot of which has been folded. When I try to run "Show Scope" on a segment, nothing happens. Checking the log, I see:<br></p> <pre> <code>!ENTRY org.eclipse.ui 4 0 2011-05-05 09:31:34.090 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.IllegalArgumentException: Index out of bounds at org.eclipse.swt.SWT.error(SWT.java:4258) at org.eclipse.swt.SWT.error(SWT.java:4192) at org.eclipse.swt.SWT.error(SWT.java:4163) at org.eclipse.swt.custom.StyledText.getLocationAtOffset(StyledText.java:4318) at com.aptana.editor.common.scripting.commands.CommandExecutionUtils.showAsTooltip(CommandExecutionUtils.java:906) at com.aptana.editor.common.scripting.commands.CommandExecutionUtils.processCommandResult(CommandExecutionUtils.java:647) at com.aptana.editor.common.scripting.commands.CommandExecutionUtils.processCommandResult(CommandExecutionUtils.java:490) at com.aptana.editor.common.internal.scripting.CommandElementsProvider.execute(CommandElementsProvider.java:48) at com.aptana.scripting.keybindings.internal.KeybindingsManager.executeCommandElement(KeybindingsManager.java:846) at com.aptana.scripting.keybindings.internal.KeybindingsManager.processKeyStroke(KeybindingsManager.java:530) at com.aptana.scripting.keybindings.internal.KeybindingsManager.processKeyStrokes(KeybindingsManager.java:459) at com.aptana.scripting.keybindings.internal.KeybindingsManager.access$2(KeybindingsManager.java:454) at com.aptana.scripting.keybindings.internal.KeybindingsManager$1.handleEvent(KeybindingsManager.java:130) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)</code> </pre> <p>My guess is we're not translating the positions/points based on the folding.</p></div>{html}

    Appcelerator JIRA | 5 years ago | Chris Williams
    java.lang.IllegalArgumentException: Index out of bounds
  3. 0

    Undo does not work all the time

    GitHub | 3 years ago | Banger
    java.lang.IllegalArgumentException: Index out of bounds
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalArgumentException showing search result

    Eclipse Bugzilla | 1 decade ago | jerome_lanneluc
    java.lang.IllegalArgumentException: Index out of bounds
  6. 0

    Exception during "Organize imports"

    Eclipse Bugzilla | 1 decade ago | Olivier_Thomann
    java.lang.IllegalArgumentException: Index out of bounds

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Index out of bounds

      at org.eclipse.swt.SWT.error()
    2. RWT
      StyledText.getLocationAtOffset
      1. org.eclipse.swt.SWT.error(SWT.java:4258)
      2. org.eclipse.swt.SWT.error(SWT.java:4192)
      3. org.eclipse.swt.SWT.error(SWT.java:4163)
      4. org.eclipse.swt.custom.StyledText.getLocationAtOffset(StyledText.java:4318)
      4 frames
    3. com.aptana.editor
      CommandElementsProvider.execute
      1. com.aptana.editor.common.scripting.commands.CommandExecutionUtils.showAsTooltip(CommandExecutionUtils.java:906)
      2. com.aptana.editor.common.scripting.commands.CommandExecutionUtils.processCommandResult(CommandExecutionUtils.java:647)
      3. com.aptana.editor.common.scripting.commands.CommandExecutionUtils.processCommandResult(CommandExecutionUtils.java:490)
      4. com.aptana.editor.common.internal.scripting.CommandElementsProvider.execute(CommandElementsProvider.java:48)
      4 frames
    4. com.aptana.scripting
      KeybindingsManager$1.handleEvent
      1. com.aptana.scripting.keybindings.internal.KeybindingsManager.executeCommandElement(KeybindingsManager.java:846)
      2. com.aptana.scripting.keybindings.internal.KeybindingsManager.processKeyStroke(KeybindingsManager.java:530)
      3. com.aptana.scripting.keybindings.internal.KeybindingsManager.processKeyStrokes(KeybindingsManager.java:459)
      4. com.aptana.scripting.keybindings.internal.KeybindingsManager.access$2(KeybindingsManager.java:454)
      5. com.aptana.scripting.keybindings.internal.KeybindingsManager$1.handleEvent(KeybindingsManager.java:130)
      5 frames