#197 ✓resolved
Roger

crash on paste

Reported by Roger | March 29th, 2010 @ 08:39 PM

Currently (at least with doze).

0) add the following to the clipboard buffer

 require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = ""
    s.summary = ""
    s.email = "rogerdpack@gmail.com"
    s.homepage = "http://github.com/rdp"
    s.authors = ["Roger Pack"]
    s.add_development_dependency 'rspec'
    s.add_development_dependency 'sane'
    # s.add_dependency
  end

1) open up a file that has text in it.
2) highlight all text (ctrl+a)
3) hit "paste"

consistent result (0.3.4):

E, [2010-03-29T13:37:37.284000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- : * Error in command Redcar::Top::PasteCommand
E, [2010-03-29T13:37:37.299000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   java.lang.ArrayIndexOutOfBoundsException: 10
E, [2010-03-29T13:37:37.301000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org.eclipse.swt.custom.StyledTextRenderer:-1:in `setLineBackground'
E, [2010-03-29T13:37:37.304000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org.eclipse.swt.custom.StyledText:-1:in `setLineBackground'
E, [2010-03-29T13:37:37.306000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   com/redcareditor/mate/colouring/swt/SwtColourer.java:102:in `updateHighlightedLine'
E, [2010-03-29T13:37:37.308000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   com/redcareditor/mate/colouring/swt/SwtColourer.java:40:in `access$400'
E, [2010-03-29T13:37:37.310000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   com/redcareditor/mate/colouring/swt/SwtColourer.java:72:in `caretMoved'
E, [2010-03-29T13:37:37.311000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org.eclipse.swt.custom.StyledTextListener:-1:in `handleEvent'
E, [2010-03-29T13:37:37.313000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org.eclipse.swt.widgets.EventTable:-1:in `sendEvent'
E, [2010-03-29T13:37:37.315000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org.eclipse.swt.widgets.Widget:-1:in `sendEvent'
E, [2010-03-29T13:37:37.315000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org.eclipse.swt.widgets.Widget:-1:in `sendEvent'
E, [2010-03-29T13:37:37.316000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org.eclipse.swt.widgets.Widget:-1:in `sendEvent'
E, [2010-03-29T13:37:37.317000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org.eclipse.swt.widgets.Widget:-1:in `notifyListeners'
E, [2010-03-29T13:37:37.318000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org.eclipse.swt.custom.StyledText:-1:in `setCaretOffset'
E, [2010-03-29T13:37:37.318000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org.eclipse.swt.custom.StyledText:-1:in `handleTextChanging'
E, [2010-03-29T13:37:37.321000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org.eclipse.swt.custom.StyledText$6:-1:in `textChanging'
E, [2010-03-29T13:37:37.322000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org/eclipse/jface/text/DefaultDocumentAdapter.java:392:in `fireTextChanging'
E, [2010-03-29T13:37:37.323000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org/eclipse/jface/text/DefaultDocumentAdapter.java:309:in `documentAboutToBeChanged'
E, [2010-03-29T13:37:37.324000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org/eclipse/jface/text/AbstractDocument.java:641:in `fireDocumentAboutToBeChanged'
E, [2010-03-29T13:37:37.325000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org/eclipse/jface/text/AbstractDocument.java:1148:in `replace'
E, [2010-03-29T13:37:37.326000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   org/eclipse/jface/text/AbstractDocument.java:1176:in `replace'
E, [2010-03-29T13:37:37.327000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/edit_view_swt/lib/edit_view_swt/document.rb:58:in `replace'
E, [2010-03-29T13:37:37.328000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/edit_view/lib/edit_view/document.rb:182:in `replace'
E, [2010-03-29T13:37:37.329000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/edit_view/lib/edit_view/document.rb:172:in `delete'
E, [2010-03-29T13:37:37.331000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/redcar/redcar.rb:322:in `execute'
E, [2010-03-29T13:37:37.333000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/redcar/redcar.rb:321:in `each'
E, [2010-03-29T13:37:37.334000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/redcar/redcar.rb:321:in `execute'
E, [2010-03-29T13:37:37.334000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/application/lib/application/command/executor.rb:22:in `execute'
E, [2010-03-29T13:37:37.335000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/application/lib/application/command.rb:49:in `run'
E, [2010-03-29T13:37:37.336000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/application/lib/application/menu/item.rb:26:in `selected'
E, [2010-03-29T13:37:37.336000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/application_swt/lib/application_swt/menu.rb:87:in `widgetSelected'
E, [2010-03-29T13:37:37.340000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/application_swt/lib/application_swt/event_loop.rb:14:in `start'
E, [2010-03-29T13:37:37.341000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/core/lib/core/gui.rb:39:in `start'
E, [2010-03-29T13:37:37.343000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/lib/redcar.rb:112:in `pump'
E, [2010-03-29T13:37:37.344000 [#5612](/projects/25090/tickets/5612 "Ticket #5612")] ERROR -- :   C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/lib/redcar/../../bin/redcar:23
org.eclipse.swt.custom.StyledTextRenderer:-1:in `getLineBackground': java.lang.ArrayIndexOutOfBoundsException: 1 (NativeException)
        from org.eclipse.swt.custom.StyledTextRenderer:-1:in `drawLine'
        from org.eclipse.swt.custom.StyledText:-1:in `handlePaint'
        from org.eclipse.swt.custom.StyledText$7:-1:in `handleEvent'
        from org.eclipse.swt.widgets.EventTable:-1:in `sendEvent'
        from org.eclipse.swt.widgets.Widget:-1:in `sendEvent'
        from org.eclipse.swt.widgets.Widget:-1:in `sendEvent'
        from org.eclipse.swt.widgets.Widget:-1:in `sendEvent'
        from org.eclipse.swt.widgets.Composite:-1:in `WM_PAINT'
         ... 7 levels...
        from C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/core/lib/core/gui.rb:39:in `start'
        from C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/lib/redcar.rb:112:in `pump'
        from C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/lib/redcar/../../bin/redcar:23

(hard crash).

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

Tags

Pages