java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • {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}
    via by Chris Williams,
  • {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}
    via by Chris Williams,
  • Undo does not work all the time
    via GitHub by Banger
    ,
  • IllegalArgumentException showing search result
    via by jerome_lanneluc,
  • Exception during "Organize imports"
    via by Olivier_Thomann,
  • [typing] IOOB exception when cutting Java code
    via by andre_weinand,
    • 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)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    3 more bugmates