parsing error
Reported by Roger | February 8th, 2010 @ 11:32 PM
If you open up the attached file, move to the second word (a long path), then hold down the delete key, it results in this error on windows + linux
com/redcareditor/onig/Match.java:38:in `getCapture': java.lang.ArrayIndexOutOfBoundsException: 2 (NativeException) from com/redcareditor/mate/Parser.java:650:in `makeClosingRegex' from com/redcareditor/mate/Parser.java:627:in `handleCaptures' from com/redcareditor/mate/Parser.java:524:in `openScope' from com/redcareditor/mate/Parser.java:372:in `parseLine' from com/redcareditor/mate/Parser.java:255:in `parseRange' from com/redcareditor/mate/Parser.java:235:in `processChanges' from com/redcareditor/mate/Parser.java:214:in `modifyEventCallback' from com/redcareditor/mate/Parser.java:186:in `documentChanged' ... 32 levels... from /home/rdp/dev/redcar/plugins/core/lib/core/gui.rb:39:in `start' from ./bin/../lib/redcar.rb:125:in `pump' from bin/redcar:15
Comments and changes to this ticket
-
Roger February 8th, 2010 @ 11:32 PM
- no changes were found...
-
Daniel Lucraft February 10th, 2010 @ 11:57 AM
- State changed from new to open
Does this crash redcar? Or cause any negative behaviour? Or is it just that it putses out this error to the terminal?
-
Roger March 8th, 2010 @ 05:29 PM
oops not fixed it appears the error is still there, it just doesn't crash the editor anymore (which is a good thing).
*** Error in key handler: NativeException java.lang.ArrayIndexOutOfBoundsException: 2 - com/redcareditor/onig/Match.java:40:in `getCapture' - com/redcareditor/mate/Parser.java:663:in `makeClosingRegex' - com/redcareditor/mate/Parser.java:640:in `handleCaptures' - com/redcareditor/mate/Parser.java:537:in `openScope' - com/redcareditor/mate/Parser.java:385:in `parseLine' - com/redcareditor/mate/Parser.java:268:in `parseRange' - com/redcareditor/mate/Parser.java:248:in `processChanges' - com/redcareditor/mate/Parser.java:215:in `modifyEventCallback' - com/redcareditor/mate/Parser.java:186:in `documentChanged' - org/eclipse/jface/text/AbstractDocument.java:739:in `doFireDocumentChanged2' - org/eclipse/jface/text/AbstractDocument.java:712:in `doFireDocumentChanged' - org/eclipse/jface/text/AbstractDocument.java:697:in `doFireDocumentChanged' - org/eclipse/jface/text/AbstractDocument.java:762:in `fireDocumentChanged' - org/eclipse/jface/text/AbstractDocument.java:1157:in `replace' - org/eclipse/jface/text/AbstractDocument.java:1176:in `replace' - E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/edit_view_swt/lib/edit_view_swt/document.rb:59:in `replace' - E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/edit_view/lib/edit_view/document.rb:182:in `replace' - E:/installs/ruby191p376/lib/ruby/gems/1.9.1/gems/redcar-0.3.4.3/plugins/edit_view/lib/edit_view/document.rb:172:in `delete'
-
Daniel Lucraft March 16th, 2010 @ 06:08 AM
Shorter file:
ls/r7/6v/lib E:/is/rr %*
Press delete at the start of that.
-
Daniel Lucraft April 2nd, 2010 @ 10:28 AM
- State changed from open to resolved
Seems to be fixed now. Roger, can you check on Windows?
-
Daniel Lucraft April 2nd, 2010 @ 10:37 AM
I remembered, it was a fix to the Perl bundle that did it: http://github.com/danlucraft/redcar/commit/00619398aa61f9a559df356a...
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.
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.