Skip to content

Instantly share code, notes, and snippets.

@GarstgerUnhold
Created November 4, 2010 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GarstgerUnhold/662264 to your computer and use it in GitHub Desktop.
Save GarstgerUnhold/662264 to your computer and use it in GitHub Desktop.
Error in command Redcar::Project::FileSaveCommand
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 `getOffsetAtLine'
/Users/johannes/workspace/redcar/plugins/edit_view_swt/lib/edit_view_swt/document.rb:80:in `replace'
/Users/johannes/workspace/redcar/plugins/edit_view/lib/edit_view/document.rb:225:in `replace'
/Users/johannes/workspace/redcar/plugins/strip_trailing_spaces/lib/strip_trailing_spaces.rb:44:in `before_save'
/Users/johannes/workspace/redcar/plugins/edit_view/lib/edit_view/document.rb:72:in `between_save_hooks'
/Users/johannes/workspace/redcar/plugins/edit_view/lib/edit_view/document.rb:71:in `each'
/Users/johannes/workspace/redcar/plugins/edit_view/lib/edit_view/document.rb:71:in `between_save_hooks'
/Users/johannes/workspace/redcar/plugins/edit_view/lib/edit_view/document.rb:81:in `save!'
/Users/johannes/workspace/redcar/plugins/project/lib/project/commands.rb:144:in `execute'
/Users/johannes/workspace/redcar/plugins/application/lib/application/command/executor.rb:29:in `execute'
/Users/johannes/workspace/redcar/plugins/application/lib/application/command.rb:83:in `run'
/Users/johannes/workspace/redcar/plugins/application/lib/application/menu/item.rb:45:in `selected'
/Users/johannes/workspace/redcar/plugins/application_swt/lib/application_swt/menu.rb:133:in `widgetSelected'
/Users/johannes/workspace/redcar/plugins/swt/lib/swt/event_loop.rb:13:in `start'
/Users/johannes/workspace/redcar/plugins/core/lib/core/gui.rb:39:in `start'
/Users/johannes/workspace/redcar/lib/redcar.rb:180:in `pump'
/Users/johannes/workspace/redcar/bin/redcar:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment