#434 new
Jakub Arnold

Find snippet fails with "Invalid thread access" error

Reported by Jakub Arnold | December 15th, 2010 @ 08:37 PM

Whenever I try to search snippets in Find Snippet dialog (ctrl + alt + s), it doesn't find anything and exception occurs

org.eclipse.swt.SWT:-1:in `error': org.eclipse.swt.SWTException: Invalid thread access (NativeException)
    from org.eclipse.swt.SWT:-1:in `error'
    from org.eclipse.swt.SWT:-1:in `error'
    from org.eclipse.swt.widgets.Widget:-1:in `error'
    from org.eclipse.swt.widgets.Widget:-1:in `checkWidget'
    from org.eclipse.swt.custom.StyledText:-1:in `getCaretOffset'
    from /home/darth/.rvm/gems/ruby-1.8.7-p302/gems/redcar-0.9.2/plugins/edit_view_swt/lib/edit_view_swt/document.rb:102:in `cursor_offset'
    from /home/darth/.rvm/gems/ruby-1.8.7-p302/gems/redcar-0.9.2/plugins/edit_view/lib/edit_view/document.rb:282:in `cursor_offset'
    from /home/darth/.rvm/gems/ruby-1.8.7-p302/gems/redcar-0.9.2/plugins/edit_view/lib/edit_view/document.rb:300:in `cursor_line'
     ... 23 levels...
    from /home/darth/.rvm/gems/ruby-1.8.7-p302/gems/redcar-0.9.2/plugins/core/lib/core/gui.rb:39:in `start'
    from /home/darth/.rvm/gems/ruby-1.8.7-p302/gems/redcar-0.9.2/lib/redcar.rb:184:in `pump'
    from /home/darth/.rvm/gems/ruby-1.8.7-p302/gems/redcar-0.9.2/bin/redcar:30
    ...internal jruby stack elided...
    from org.eclipse.swt.SWT.error(Unknown Source)
    from org.eclipse.swt.SWT.error(Unknown Source)
    from org.eclipse.swt.widgets.Widget.error(Unknown Source)
    from org.eclipse.swt.widgets.Widget.checkWidget(Unknown Source)
    from org.eclipse.swt.custom.StyledText.getCaretOffset(Unknown Source)

It happens in all files all the time ... doesn't matter if I do it after opening a file, creating a file, opening a directory.

I'm running on Ubuntu 10.04 with Ruby 1.8.7 installed via RVM.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket

Pages