#490 new
Michal Hantl

Exception from editing can take down Redcar

Reported by Michal Hantl | March 25th, 2011 @ 06:39 AM

I was working with redcar and it crashed while editing.
It would be nice if editing exceptions were not able to take down Redcar.

michal@domov:~/dev/UseDriven$ Redcar 0.11.0dev ( java )
Redcar::ApplicationSWTloading plugins took 6.047
took 1.409s to load textmate assets
initializing gui took 0.038s
Error in command Redcar::Project::DirectoryOpenCommand
NativeException: java.lang.IllegalArgumentException: Argument cannot be null
org.eclipse.swt.SWT:-1:in `error'
org.eclipse.swt.SWT:-1:in `error'
org.eclipse.swt.SWT:-1:in `error'
org.eclipse.swt.widgets.Dialog:-1:in `error'
org.eclipse.swt.widgets.Dialog:-1:in `checkParent'
org.eclipse.swt.widgets.Dialog:-1:in `<init>'
org.eclipse.swt.widgets.MessageBox:-1:in `<init>'
sun/reflect/NativeConstructorAccessorImpl.java:-2:in `newInstance0'
sun/reflect/NativeConstructorAccessorImpl.java:39:in `newInstance'
sun/reflect/DelegatingConstructorAccessorImpl.java:27:in `newInstance'
java/lang/reflect/Constructor.java:513:in `newInstance'
org/jruby/javasupport/JavaConstructor.java:291:in `newInstanceDirect'
/home/michal/dev/redcar/plugins/application_swt/lib/application_swt/dialog_adapter.rb:173:in `new_proxy'
/home/michal/dev/redcar/plugins/application_swt/lib/application_swt/dialog_adapter.rb:50:in `message_box'
/home/michal/dev/redcar/plugins/application/lib/application/dialog.rb:52:in `message_box'
/home/michal/dev/redcar/plugins/application/lib/application/dialog.rb:12:in `in_dialog'
/home/michal/dev/redcar/plugins/application/lib/application/dialog.rb:52:in `message_box'
/home/michal/dev/redcar/plugins/project/lib/project/manager.rb:262:in `open_project_for_path'
/home/michal/dev/redcar/plugins/project/lib/project/commands.rb:191:in `execute'
/home/michal/dev/redcar/plugins/application/lib/application/command/executor.rb:29:in `execute'
/home/michal/dev/redcar/plugins/application/lib/application/command.rb:83:in `run'
/home/michal/dev/redcar/plugins/project/lib/project/manager.rb:309:in `handle_startup_arguments'
/home/michal/dev/redcar/plugins/project/lib/project/manager.rb:306:in `each'
/home/michal/dev/redcar/plugins/project/lib/project/manager.rb:306:in `handle_startup_arguments'
/home/michal/dev/redcar/plugins/project/lib/project/manager.rb:71:in `start'
/home/michal/dev/redcar/plugins/redcar/redcar.rb:1412:in `start'
/home/michal/dev/redcar/plugins/redcar/redcar.rb:22:in `update_gui'
/home/michal/dev/redcar/plugins/redcar/redcar.rb:5:in `safely'
/home/michal/dev/redcar/plugins/redcar/redcar.rb:21:in `update_gui'
/home/michal/dev/redcar/plugins/swt/lib/swt.rb:97:in `call'
/home/michal/dev/redcar/plugins/swt/lib/swt.rb:97:in `sync_exec'
/home/michal/dev/redcar/plugins/swt/lib/swt/full_swt.rb:98:in `call'
/home/michal/dev/redcar/plugins/swt/lib/swt/full_swt.rb:98:in `run'
/home/michal/dev/redcar/plugins/swt/lib/swt/event_loop.rb:13:in `start'
/home/michal/dev/redcar/plugins/core/lib/core/gui.rb:39:in `start'
/home/michal/dev/redcar/lib/redcar.rb:184:in `pump'
/home/michal/dev/redcar/bin/redcar:30
project start took 0.033s
start time: 9.083
Couldnt find Setting class for textmate setting: spellchecking
Couldnt find Setting class for textmate setting: spellchecking
indent setting without scope! #<Redcar::Textmate::UnIndentedLinePatternSetting:0x147bc1 @plist="^\\s*$", @scope=nil>
org.eclipse.swt.SWT:-1:in `error': java.lang.IllegalArgumentException: Index out of bounds (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 `getOffsetAtLine'
    from com/redcareditor/mate/MateText.java:542:in `getHoverInfo'
    from org/eclipse/jface/text/source/AnnotationBarHoverManager.java:382:in `computeInformation'
    from org/eclipse/jface/text/AbstractInformationControlManager.java:1120:in `doShowInformation'
    from org/eclipse/jface/text/AbstractHoverInformationControlManager.java:519:in `mouseHover'
    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'
    from /home/michal/dev/redcar/plugins/swt/lib/swt/event_loop.rb:13:in `start'
    from /home/michal/dev/redcar/plugins/core/lib/core/gui.rb:39:in `start'
    from /home/michal/dev/redcar/lib/redcar.rb:184:in `pump'
    from /home/michal/dev/redcar/bin/redcar:30

No comments found

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