#134 ✓resolved
Samsinite

Crash in windows XP when any file is loaded

Reported by Samsinite | January 26th, 2010 @ 06:59 PM | in 0.3.3 (closed)

Was testing redcar on my VM of Windows XP and redcar (0.3.2dev) was crashing when I would open a file:

C:\Documents and Settings\Sam\Desktop>redcar
Redcar 0.3.2dev (jruby )
Redcar 0.3.2dev (jruby )
loading win32/swt
setGrammarByName(Plain Text)
initForUse: Plain Text
setGrammarByName(Plain Text)
setGrammarByName(JavaScript)
initForUse: JavaScript
E, [2010-01-26T10:53:59.317000 #1964] ERROR -- : * Error in command Redcar::Proj
ect::FileOpenCommand
E, [2010-01-26T10:53:59.397000 #1964] ERROR -- : java.lang.ArrayIndexOutOfBoun
dsException: 37
E, [2010-01-26T10:53:59.407000 #1964] ERROR -- : com/redcareditor/onig/Match.j
ava:166:in searchNonAscii'<br/> E, [2010-01-26T10:53:59.407000 [#1964](/projects/25090/tickets/1964 "Ticket #1964")] ERROR -- : com/redcareditor/onig/Match.j<br/> ava:185:instrLength'
E, [2010-01-26T10:53:59.417000 #1964] ERROR -- : com/redcareditor/onig/Match.j
ava:112:in updateCharOffset'<br/> E, [2010-01-26T10:53:59.417000 [#1964](/projects/25090/tickets/1964 "Ticket #1964")] ERROR -- : com/redcareditor/onig/Match.j<br/> ava:37:ingetCapture'
E, [2010-01-26T10:53:59.427000 #1964] ERROR -- : com/redcareditor/mate/Scanner
.java:129:in findNextMarker' E, [2010-01-26T10:53:59.437000 [#1964](/projects/25090/tickets/1964 "Ticket #1964")] ERROR -- : com/redcareditor/mate/Scanner<br/> .java:157:inhasNext' E, [2010-01-26T10:53:59.437000 #1964] ERROR -- : com/redcareditor/mate/Parser.
java:351:in parseLine'<br/> E, [2010-01-26T10:53:59.437000 [#1964](/projects/25090/tickets/1964 "Ticket #1964")] ERROR -- : com/redcareditor/mate/Parser.<br/> java:255:inparseRange'
E, [2010-01-26T10:53:59.437000 #1964] ERROR -- : com/redcareditor/mate/Parser.
java:235:in processChanges'<br/> E, [2010-01-26T10:53:59.437000 [#1964](/projects/25090/tickets/1964 "Ticket #1964")] ERROR -- : com/redcareditor/mate/Parser.<br/> java:214:inmodifyEventCallback'
E, [2010-01-26T10:53:59.437000 #1964] ERROR -- : com/redcareditor/mate/Parser.
java:186:in documentChanged'<br/> E, [2010-01-26T10:53:59.437000 [#1964](/projects/25090/tickets/1964 "Ticket #1964")] ERROR -- : org/eclipse/jface/text/Abstra<br/> ctDocument.java:739:indoFireDocumentChanged2'
E, [2010-01-26T10:53:59.447000 #1964] ERROR -- : org/eclipse/jface/text/Abstra
ctDocument.java:712:in doFireDocumentChanged'<br/> E, [2010-01-26T10:53:59.447000 [#1964](/projects/25090/tickets/1964 "Ticket #1964")] ERROR -- : org/eclipse/jface/text/Abstra<br/> ctDocument.java:697:indoFireDocumentChanged'
E, [2010-01-26T10:53:59.447000 #1964] ERROR -- : org/eclipse/jface/text/Abstra
ctDocument.java:762:in fireDocumentChanged'<br/> E, [2010-01-26T10:53:59.447000 [#1964](/projects/25090/tickets/1964 "Ticket #1964")] ERROR -- : org/eclipse/jface/text/Abstra<br/> ctDocument.java:1203:inset'
E, [2010-01-26T10:53:59.457000 #1964] ERROR -- : org/eclipse/jface/text/Abstra
ctDocument.java:1183:in set'<br/> E, [2010-01-26T10:53:59.457000 [#1964](/projects/25090/tickets/1964 "Ticket #1964")] ERROR -- : C:/Ruby19/lib/ruby/gems/1.9.1<br/> /gems/redcar-0.3.2dev/plugins/edit_view_swt/lib/edit_view_swt/document.rb:59:intext=' E, [2010-01-26T10:53:59.457000 #1964] ERROR -- : C:/Ruby19/lib/ruby/gems/1.9.1
/gems/redcar-0.3.2dev/plugins/edit_view/lib/edit_view/document.rb:185:in text='

E, [2010-01-26T10:53:59.457000 #1964] ERROR -- : C:/Ruby19/lib/ruby/gems/1.9.1
/gems/redcar-0.3.2dev/plugins/edit_view/lib/edit_view/document.rb:352:in update _from_mirror'<br/> E, [2010-01-26T10:53:59.457000 [#1964](/projects/25090/tickets/1964 "Ticket #1964")] ERROR -- : C:/Ruby19/lib/ruby/gems/1.9.1<br/> /gems/redcar-0.3.2dev/plugins/edit_view/lib/edit_view/document.rb:66:inmirror= ' E, [2010-01-26T10:53:59.457000 #1964] ERROR -- : C:/Ruby19/lib/ruby/gems/1.9.1
/gems/redcar-0.3.2dev/plugins/core/lib/core/observable.rb:95:in notify_listener s'<br/> E, [2010-01-26T10:53:59.467000 [#1964](/projects/25090/tickets/1964 "Ticket #1964")] ERROR -- : C:/Ruby19/lib/ruby/gems/1.9.1<br/> /gems/redcar-0.3.2dev/plugins/edit_view/lib/edit_view/document.rb:61:inmirror= ' E, [2010-01-26T10:53:59.477000 #1964] ERROR -- : C:/Ruby19/lib/ruby/gems/1.9.1
/gems/redcar-0.3.2dev/plugins/project/lib/project.rb:94:in execute' E, [2010-01-26T10:53:59.477000 [#1964](/projects/25090/tickets/1964 "Ticket #1964")] ERROR -- : C:/Ruby19/lib/ruby/gems/1.9.1<br/> /gems/redcar-0.3.2dev/plugins/application/lib/application/command/executor.rb:22 :inexecute' E, [2010-01-26T10:53:59.477000 #1964] ERROR -- : C:/Ruby19/lib/ruby/gems/1.9.1
/gems/redcar-0.3.2dev/plugins/application/lib/application/command.rb:57:in run'

E, [2010-01-26T10:53:59.477000 #1964] ERROR -- : C:/Ruby19/lib/ruby/gems/1.9.1
/gems/redcar-0.3.2dev/plugins/application/lib/application/menu/item.rb:27:in se lected'<br/> E, [2010-01-26T10:53:59.487000 [#1964](/projects/25090/tickets/1964 "Ticket #1964")] ERROR -- : C:/Ruby19/lib/ruby/gems/1.9.1<br/> /gems/redcar-0.3.2dev/plugins/application_swt/lib/application_swt/menu.rb:83:inconnect_command_to_item' E, [2010-01-26T10:53:59.487000 #1964] ERROR -- : C:/Ruby19/lib/ruby/gems/1.9.1
/gems/redcar-0.3.2dev/plugins/application_swt/lib/application_swt/event_loop.rb: 14:in start'<br/> E, [2010-01-26T10:53:59.487000 [#1964](/projects/25090/tickets/1964 "Ticket #1964")] ERROR -- : C:/Ruby19/lib/ruby/gems/1.9.1<br/> /gems/redcar-0.3.2dev/plugins/core/lib/core/gui.rb:39:instart' E, [2010-01-26T10:53:59.487000 #1964] ERROR -- : C:/Ruby19/lib/ruby/gems/1.9.1
/gems/redcar-0.3.2dev/lib/redcar/boot.rb:75:in pump' E, [2010-01-26T10:53:59.497000 [#1964](/projects/25090/tickets/1964 "Ticket #1964")] ERROR -- : C:/Ruby19/lib/ruby/gems/1.9.1<br/> /gems/redcar-0.3.2dev/lib/redcar/../../bin/redcar:14 com/redcareditor/onig/Match.java:166:insearchNonAscii': java.lang.ArrayIndexOu
tOfBoundsException: 37 (NativeException)

    from com/redcareditor/onig/Match.java:185:in `strLength'
    from com/redcareditor/onig/Match.java:112:in `updateCharOffset'
    from com/redcareditor/onig/Match.java:37:in `getCapture'
    from com/redcareditor/mate/Scanner.java:129:in `findNextMarker'
    from com/redcareditor/mate/Scanner.java:157:in `hasNext'
    from com/redcareditor/mate/Parser.java:351:in `parseLine'
    from com/redcareditor/mate/Parser.java:255:in `parseRange'
    from com/redcareditor/mate/Parser.java:311:in `lastVisibleLineChanged'
     ... 10 levels...
    from C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/core/lib

/core/gui.rb:39:in start'

    from C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/lib/redcar/boot.

rb:75:in pump'<br/>

    from C:/Ruby19/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/lib/redcar/../..

/bin/redcar:14

Comments and changes to this ticket

  • Roger

    Roger January 27th, 2010 @ 06:33 AM

    I get something similar.
    How to reproduce:

    go to "plugins -> edit my plugin"
    open my_plugin.rb (oddly it doesn't show up for some reason by default in windows).
    attempt to click in editor window

    Works fine in linux.

      
    com/redcareditor/onig/Match.java:166:in `searchNonAscii': java.lang.ArrayIndexOutOfBoundsException: 35 (NativeException)  
            from com/redcareditor/onig/Match.java:185:in `strLength'
            from com/redcareditor/onig/Match.java:112:in `updateCharOffset'
            from com/redcareditor/onig/Match.java:37:in `getCapture'
            from com/redcareditor/mate/Scanner.java:129:in `findNextMarker'
            from com/redcareditor/mate/Scanner.java:157:in `hasNext'
            from com/redcareditor/mate/Parser.java:351:in `parseLine'
            from com/redcareditor/mate/Parser.java:255:in `parseRange'
            from com/redcareditor/mate/Parser.java:311:in `lastVisibleLineChanged'
             ... 10 levels...
            from E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/core/lib/core/gui.rb:39:in `start'
            from E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/lib/redcar/boot.rb:75:in `pump'
            from E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/lib/redcar/../../bin/redcar:14
    
    
  • Daniel Lucraft

    Daniel Lucraft January 31st, 2010 @ 07:40 AM

    • State changed from “new” to “open”
  • Roger

    Roger February 5th, 2010 @ 08:12 PM

    get it consistently on this file (but not on every file, and only in windows)

    plugins/project/project/lib/project.rb

    E, [2010-02-05T12:53:33.375000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- : * Error in command Redcar::Project::FileOpenCommand
    E, [2010-02-05T12:53:33.390000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   java.lang.ArrayIndexOutOfBoundsException: 57
    E, [2010-02-05T12:53:33.390000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   com/redcareditor/onig/Match.java:166:in `searchNonAscii'
    E, [2010-02-05T12:53:33.390000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   com/redcareditor/onig/Match.java:185:in `strLength'
    E, [2010-02-05T12:53:33.390000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   com/redcareditor/onig/Match.java:112:in `updateCharOffset'
    E, [2010-02-05T12:53:33.390000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   com/redcareditor/onig/Match.java:37:in `getCapture'
    E, [2010-02-05T12:53:33.390000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   com/redcareditor/mate/Scanner.java:137:in `findNextMarker'
    E, [2010-02-05T12:53:33.390000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   com/redcareditor/mate/Scanner.java:165:in `hasNext'
    E, [2010-02-05T12:53:33.390000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   com/redcareditor/mate/Parser.java:356:in `parseLine'
    E, [2010-02-05T12:53:33.390000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   com/redcareditor/mate/Parser.java:255:in `parseRange'
    E, [2010-02-05T12:53:33.390000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   com/redcareditor/mate/Parser.java:235:in `processChanges'
    E, [2010-02-05T12:53:33.390000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   com/redcareditor/mate/Parser.java:214:in `modifyEventCallback'
    E, [2010-02-05T12:53:33.406000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   com/redcareditor/mate/Parser.java:186:in `documentChanged'
    E, [2010-02-05T12:53:33.406000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   org/eclipse/jface/text/AbstractDocument.java:739:in `doFireDocumentChanged2'
    E, [2010-02-05T12:53:33.406000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   org/eclipse/jface/text/AbstractDocument.java:712:in `doFireDocumentChanged'
    E, [2010-02-05T12:53:33.406000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   org/eclipse/jface/text/AbstractDocument.java:697:in `doFireDocumentChanged'
    E, [2010-02-05T12:53:33.406000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   org/eclipse/jface/text/AbstractDocument.java:762:in `fireDocumentChanged'
    E, [2010-02-05T12:53:33.406000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   org/eclipse/jface/text/AbstractDocument.java:1203:in `set'
    E, [2010-02-05T12:53:33.406000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   org/eclipse/jface/text/AbstractDocument.java:1183:in `set'
    E, [2010-02-05T12:53:33.406000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/edit_view_swt/lib/edit_view_swt/document.rb:60:in `text='
    E, [2010-02-05T12:53:33.406000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/edit_view/lib/edit_view/document.rb:185:in `text='
    E, [2010-02-05T12:53:33.406000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/edit_view/lib/edit_view/document.rb:352:in `update_from_mirror'
    E, [2010-02-05T12:53:33.406000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/edit_view/lib/edit_view/document.rb:66:in `mirror='
    E, [2010-02-05T12:53:33.406000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/core/lib/core/observable.rb:95:in `notify_listeners'
    E, [2010-02-05T12:53:33.421000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/edit_view/lib/edit_view/document.rb:61:in `mirror='
    E, [2010-02-05T12:53:33.421000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/project/lib/project.rb:91:in `open_file'
    E, [2010-02-05T12:53:33.421000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/project/lib/project.rb:183:in `execute'
    E, [2010-02-05T12:53:33.421000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application/lib/application/command/executor.rb:22:in `execute'
    E, [2010-02-05T12:53:33.421000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application/lib/application/command.rb:57:in `run'
    E, [2010-02-05T12:53:33.421000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/project/lib/project/dir_controller.rb:7:in `activated'
    E, [2010-02-05T12:53:33.421000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/tree_view_swt/lib/tree_view_swt.rb:74:in `open'
    E, [2010-02-05T12:53:33.437000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application_swt/lib/application_swt/event_loop.rb:14:in `start'
    E, [2010-02-05T12:53:33.437000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/core/lib/core/gui.rb:39:in `start'
    E, [2010-02-05T12:53:33.437000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/lib/redcar.rb:97:in `pump'
    E, [2010-02-05T12:53:33.437000 [#3704](/projects/25090/tickets/3704 "Ticket #3704")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/lib/redcar/../../bin/redcar:14
    
    

    followed by (with my next click on any window)

    com/redcareditor/onig/Match.java:166:in `searchNonAscii': java.lang.ArrayIndexOutOfBoundsException: 57 (NativeException)
            from com/redcareditor/onig/Match.java:185:in `strLength'
            from com/redcareditor/onig/Match.java:112:in `updateCharOffset'
            from com/redcareditor/onig/Match.java:37:in `getCapture'
            from com/redcareditor/mate/Scanner.java:137:in `findNextMarker'
            from com/redcareditor/mate/Scanner.java:165:in `hasNext'
            from com/redcareditor/mate/Parser.java:356:in `parseLine'
            from com/redcareditor/mate/Parser.java:255:in `parseRange'
            from com/redcareditor/mate/Parser.java:313:in `lastVisibleLineChanged'
            from com/redcareditor/mate/Parser.java:224:in `viewportScrolledCallback'
            from com/redcareditor/mate/Parser.java:174:in `viewportChanged'
            from org/eclipse/jface/text/TextViewer.java:3097:in `updateViewportListeners'
            from org/eclipse/jface/text/TextViewer.java:314:in `mouseUp'
            from org.eclipse.swt.widgets.TypedListener:-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.Display:-1:in `runDeferredEvents'
            from org.eclipse.swt.widgets.Display:-1:in `readAndDispatch'
    
  • Roger

    Roger February 15th, 2010 @ 03:21 PM

    another manifestation (consistent on doze opening RC's application.rb)

    outputs this, sometimes displays a tab with no title with text, when you click within the text, hard exits (with the trace at the very bottom)

    E, [2010-02-15T08:17:18.578000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- : * Error in command Redcar::Project::FileOpenCommand
    E, [2010-02-15T08:17:18.578000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   java.lang.ArrayIndexOutOfBoundsException: 36
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   com/redcareditor/onig/Match.java:166:in `searchNonAscii'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   com/redcareditor/onig/Match.java:185:in `strLength'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   com/redcareditor/onig/Match.java:112:in `updateCharOffset'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   com/redcareditor/onig/Match.java:37:in `getCapture'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   com/redcareditor/mate/Scanner.java:137:in `findNextMarker'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   com/redcareditor/mate/Scanner.java:165:in `hasNext'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   com/redcareditor/mate/Parser.java:356:in `parseLine'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   com/redcareditor/mate/Parser.java:255:in `parseRange'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   com/redcareditor/mate/Parser.java:235:in `processChanges'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   com/redcareditor/mate/Parser.java:214:in `modifyEventCallback'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   com/redcareditor/mate/Parser.java:186:in `documentChanged'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   org/eclipse/jface/text/AbstractDocument.java:739:in `doFireDocumentChanged2'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   org/eclipse/jface/text/AbstractDocument.java:712:in `doFireDocumentChanged'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   org/eclipse/jface/text/AbstractDocument.java:697:in `doFireDocumentChanged'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   org/eclipse/jface/text/AbstractDocument.java:762:in `fireDocumentChanged'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   org/eclipse/jface/text/AbstractDocument.java:1203:in `set'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   org/eclipse/jface/text/AbstractDocument.java:1183:in `set'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/edit_view_swt/lib/edit_view_swt/document.rb:63:in `text='
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/edit_view/lib/edit_view/document.rb:201:in `text='
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/edit_view/lib/edit_view/document.rb:387:in `update_from_mirror'
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/edit_view/lib/edit_view/document.rb:77:in `mirror='
    E, [2010-02-15T08:17:18.593000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/core/lib/core/observable.rb:95:in `notify_listeners'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/edit_view/lib/edit_view/document.rb:72:in `mirror='
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/project/lib/project.rb:119:in `open_file'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/project/lib/project.rb:225:in `execute'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application/lib/application/command/executor.rb:22:in `execute'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application/lib/application/command.rb:49:in `run'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/project/lib/project/find_file_dialog.rb:21:in
    `selected'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application_swt/lib/application_swt/dialogs/filter_list_dialog_controller.rb:87:in `selected'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application_swt/lib/application_swt/dialogs/filter_list_dialog_controller.rb:93:in `key_pressed'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application_swt/lib/application_swt/dialogs/filter_list_dialog_controller.rb:51:in `keyPressed'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application_swt/lib/application_swt/dialogs/filter_list_dialog_controller.rb:64:in `open'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application_swt/lib/application_swt/dialogs/filter_list_dialog_controller.rb:31:in `to_proc'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/core/lib/core/observable.rb:103:in `call'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/core/lib/core/observable.rb:103:in `run_blocks'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/core/lib/core/observable.rb:103:in `each'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/core/lib/core/observable.rb:103:in `run_blocks'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/core/lib/core/observable.rb:96:in `notify_listeners'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application/lib/application/dialogs/filter_list_dialog.rb:16:in `open'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/project/lib/project.rb:325:in `execute'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application/lib/application/command/executor.rb:22:in `execute'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application/lib/application/command.rb:49:in `run'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application/lib/application/menu/item.rb:27:in `selected'
    E, [2010-02-15T08:17:18.609000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application_swt/lib/application_swt/menu.rb:84:in `connect_command_to_item'
    E, [2010-02-15T08:17:18.625000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/application_swt/lib/application_swt/event_loop.rb:14:in `start'
    E, [2010-02-15T08:17:18.640000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/core/lib/core/gui.rb:39:in `start'
    E, [2010-02-15T08:17:18.640000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/lib/redcar.rb:143:in `pump'
    E, [2010-02-15T08:17:18.656000 [#2948](/projects/25090/tickets/2948 "Ticket #2948")] ERROR -- :   E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/lib/redcar/../../bin/redcar:16
    tree refresh took 0.015 seconds
    com/redcareditor/onig/Match.java:166:in `searchNonAscii': java.lang.ArrayIndexOutOfBoundsException: 36 (NativeException)
            from com/redcareditor/onig/Match.java:185:in `strLength'
            from com/redcareditor/onig/Match.java:112:in `updateCharOffset'
            from com/redcareditor/onig/Match.java:37:in `getCapture'
            from com/redcareditor/mate/Scanner.java:137:in `findNextMarker'
            from com/redcareditor/mate/Scanner.java:165:in `hasNext'
            from com/redcareditor/mate/Parser.java:356:in `parseLine'
            from com/redcareditor/mate/Parser.java:255:in `parseRange'
            from com/redcareditor/mate/Parser.java:313:in `lastVisibleLineChanged'
             ... 10 levels...
            from E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/plugins/core/lib/core/gui.rb:39:in `start'
            from E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/lib/redcar.rb:143:in `pump'
            from E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.2dev/lib/redcar/../../bin/redcar:16
    
  • Roger

    Roger February 18th, 2010 @ 11:59 PM

    Currently this is the but that I "run into most" on doze...sniff...sniff...thankfully it's only on a few specific files, and not the majority :)
    -r

  • Daniel Lucraft

    Daniel Lucraft February 19th, 2010 @ 11:47 AM

    • Milestone set to 0.3.3
  • Daniel Lucraft

    Daniel Lucraft February 20th, 2010 @ 07:27 AM

    I added a catch to stop these errors from crashing Redcar. It's an encoding issue, if you look in the error output you can see there is a weird character in the lines that cause problems. NO IDEA what this is, anyone?

  • Daniel Lucraft

    Daniel Lucraft February 20th, 2010 @ 07:42 AM

    OK, it's a non-breaking space. I wonder why searchNonAscii barfs on it so hard...., it's a perfectly valid character.

  • Roger

    Roger February 21st, 2010 @ 12:49 AM

    Hmm.
    I did plan on "some day" cleaning up how Redcar differentiates between ascii and binary line endings in doze...(like in edit mode, it only ever has "\n" but saves it with "\r\n"). Then there would be less...oddness to worry about, and mixed line endings would be forbidden.

    Using only "\n" line endings internally also seems to help with problems like one I just ran into

    org.eclipse.swt.SWT:-1:in `error': java.lang.IllegalArgumentException: Argument not valid (NativeException)
            from org.eclipse.swt.SWT:-1:in `error'
            from org.eclipse.swt.SWT:-1:in `error'
            from org.eclipse.swt.custom.StyledText:-1:in `setCaretOffset'
            from document.rb:78:in `cursor_offset_equal_'
            from document.rb:239:in `cursor_offset_equal_'
            from arrow_keys.rb:41:in `handle'
            from edit_view.rb:106:in `__block__'
            from edit_view.rb:106:in `left_pressed'
            from edit_view_swt.rb:112:in `verify_key'
            from event_loop.rb:14:in `start'
            from gui.rb:39:in `start'
            from redcar.rb:106:in `pump'
    

    Which occurs when hitting the left arrow on line 69'ish of the attached file.
    after running dos2unix on said file, the problem seems to go away...

    -r

  • Daniel Lucraft
  • Roger

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

Attachments

Pages