Skip to content

Instantly share code, notes, and snippets.

@kattrali
Created October 18, 2010 12:43
Show Gist options
  • Save kattrali/632142 to your computer and use it in GitHub Desktop.
Save kattrali/632142 to your computer and use it in GitHub Desktop.
random error while editing a document in redcar
*** ERROR in Document controller: <Redcar::PairHighlighter::DocumentController>
NativeException: java.lang.IllegalArgumentException: Index out of bounds
org.eclipse.swt.SWT:-1:in `error'
org.eclipse.swt.SWT:-1:in `error'
org.eclipse.swt.SWT:-1:in `error'
org.eclipse.swt.custom.StyledText:-1:in `redrawRange'
/boutique/Code/redcar/plugins/pair_highlighter/lib/pair_highlighter/document_controller.rb:71:in `clear'
/boutique/Code/redcar/plugins/pair_highlighter/lib/pair_highlighter/document_controller.rb:148:in `cursor_moved'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/document.rb:145:in `cursor_moved'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/document.rb:711:in `rescue_document_controller_error'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/document.rb:144:in `cursor_moved'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/document.rb:143:in `each'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/document.rb:143:in `cursor_moved'
/boutique/Code/redcar/plugins/edit_view_swt/lib/edit_view_swt/document.rb:178:in `caretMoved'
/boutique/Code/redcar/plugins/swt/lib/swt/event_loop.rb:13:in `start'
/boutique/Code/redcar/plugins/core/lib/core/gui.rb:39:in `start'
/boutique/Code/redcar/lib/redcar.rb:180:in `pump'
/boutique/Code/redcar/bin/redcar:30
*** ERROR in Document controller: <Redcar::PairHighlighter::DocumentController>
NativeException: java.lang.IllegalArgumentException: Index out of bounds
org.eclipse.swt.SWT:-1:in `error'
org.eclipse.swt.SWT:-1:in `error'
org.eclipse.swt.SWT:-1:in `error'
org.eclipse.swt.custom.StyledText:-1:in `redrawRange'
/boutique/Code/redcar/plugins/pair_highlighter/lib/pair_highlighter/document_controller.rb:71:in `clear'
/boutique/Code/redcar/plugins/pair_highlighter/lib/pair_highlighter/document_controller.rb:148:in `cursor_moved'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/document.rb:145:in `cursor_moved'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/document.rb:711:in `rescue_document_controller_error'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/document.rb:144:in `cursor_moved'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/document.rb:143:in `each'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/document.rb:143:in `cursor_moved'
/boutique/Code/redcar/plugins/edit_view_swt/lib/edit_view_swt/document.rb:178:in `caretMoved'
/boutique/Code/redcar/plugins/edit_view_swt/lib/edit_view_swt/document.rb:98:in `cursor_offset='
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/document.rb:282:in `cursor_offset='
/boutique/Code/redcar/plugins/strip_trailing_spaces/lib/strip_trailing_spaces.rb:78:in `adjust'
/boutique/Code/redcar/plugins/strip_trailing_spaces/lib/strip_trailing_spaces.rb:57:in `before_save'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/document.rb:72:in `save!'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/document.rb:71:in `each'
/boutique/Code/redcar/plugins/edit_view/lib/edit_view/document.rb:71:in `save!'
/boutique/Code/redcar/plugins/project/lib/project/commands.rb:156:in `execute'
/boutique/Code/redcar/plugins/application/lib/application/command/executor.rb:29:in `execute'
/boutique/Code/redcar/plugins/application/lib/application/command.rb:83:in `run'
/boutique/Code/redcar/plugins/application/lib/application/menu/item.rb:45:in `selected'
/boutique/Code/redcar/plugins/application_swt/lib/application_swt/menu.rb:133:in `widgetSelected'
/boutique/Code/redcar/plugins/swt/lib/swt/event_loop.rb:13:in `start'
/boutique/Code/redcar/plugins/core/lib/core/gui.rb:39:in `start'
/boutique/Code/redcar/lib/redcar.rb:180:in `pump'
/boutique/Code/redcar/bin/redcar:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment