danlucraft / redcar-clojure

Redcar plugin with extensions for Clojure (REPL)
1 stars 1 forks source link

Redcar 0.12 crashes when `redcar-clojure` gem installed. #1

Open nuclearsandwich opened 12 years ago

nuclearsandwich commented 12 years ago

Steps to reproduce

  1. Install redcar 0.12 and redcar-clojure 0.2.
  2. Open Redcar
  3. Bundles -> Installed Bundles.
  4. ???
  5. Redcar crashes.

I'm not sure if this is an issue with the Clojure plugin or Redcar core, I figured I would start here.

Here's the stacktrace.

/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/lib/redcar.rb:33: Use RbConfig instead of obsolete and deprecated Config.
Redcar 0.12.1 ( x86_64-linux )
java -client -Xbootclasspath/a:/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-jruby-0.1/vendor/jruby-complete-1.6.4.jar -Dfile.encoding=UTF8 -Xmx320m -Xss1024k -Djruby.memory.max=320m -Djruby.stack.max=1024k org.jruby.Main /home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/bin/redcar --no-sub-jruby --ignore-stdin --start-time=1326318761   && echo 'finished'
Redcar 0.12.1 ( java )
loading the clojure plugin
conflicting keybinding Ctrl+Shift+L: Redcar::Html::ConvertToList is being overwritten by Redcar::Application::ResetNotebookWidthsCommand
Error in command Redcar::Textmate::InstalledBundles
NativeException: org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
org.eclipse.swt.SWT:-1:in `error'
org.eclipse.swt.browser.Mozilla:-1:in `initMozilla'
org.eclipse.swt.browser.Mozilla:-1:in `create'
org.eclipse.swt.browser.Browser:-1:in `<init>'
sun/reflect/NativeConstructorAccessorImpl.java:-2:in `newInstance0'
sun/reflect/NativeConstructorAccessorImpl.java:57:in `newInstance'
sun/reflect/DelegatingConstructorAccessorImpl.java:45:in `newInstance'
java/lang/reflect/Constructor.java:532:in `newInstance'
org/jruby/javasupport/JavaConstructor.java:291:in `newInstanceDirect'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/application_swt/lib/application_swt/html_tab.rb:20:in `create_tab_widget'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/application_swt/lib/application_swt/tab.rb:10:in `initialize'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/application_swt/lib/application_swt/html_tab.rb:9:in `initialize'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/application_swt/lib/application_swt/notebook.rb:99:in `attach_model_listeners'
org/jruby/RubyProc.java:274:in `call'
org/jruby/RubyProc.java:229:in `call'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/core/lib/core/observable.rb:103:in `observable_run_blocks'
org/jruby/RubyArray.java:2336:in `collect'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/core/lib/core/observable.rb:103:in `observable_run_blocks'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/core/lib/core/observable.rb:96:in `notify_listeners'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/application/lib/application/notebook.rb:34:in `new_tab'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/application/lib/application/window.rb:186:in `new_tab'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/textmate/lib/textmate.rb:183:in `execute'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/application/lib/application/command/executor.rb:28:in `execute'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/application/lib/application/command.rb:84:in `run'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/application/lib/application/menu/item.rb:45:in `selected'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/application_swt/lib/application_swt/menu.rb:133:in `widgetSelected'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/swt-0.12/lib/swt/event_loop.rb:13:in `start'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/core/lib/core/gui.rb:37:in `start'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/lib/redcar.rb:222:in `pump'
/home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/bin/redcar:29:in `(root)'
NoMethodError: undefined method `item' for nil:NilClass
  tab_widget_to_tab_model at /home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/application_swt/lib/application_swt/notebook.rb:136
                   detect at org/jruby/RubyEnumerable.java:553
  tab_widget_to_tab_model at /home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/application_swt/lib/application_swt/notebook.rb:136
           widgetSelected at /home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/application_swt/lib/application_swt/notebook.rb:36
                    start at /home/steven/.rvm/gems/ruby-1.9.3-p0/gems/swt-0.12/lib/swt/event_loop.rb:13
                    start at /home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/plugins/core/lib/core/gui.rb:37
                     pump at /home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/lib/redcar.rb:222
                   (root) at /home/steven/.rvm/gems/ruby-1.9.3-p0/gems/redcar-0.12.1/bin/redcar:29
danlucraft commented 12 years ago

That does NOT look like anything to do with redcar-clojure. Can you check again that it's that plugin causing the problem?

OTOH, the clojure REPL is definitely broken anyway, which makes this plugin currently pointless...