Skip to content

Instantly share code, notes, and snippets.

@nilbus
Created October 31, 2011 14:14
Show Gist options
  • Save nilbus/1327577 to your computer and use it in GitHub Desktop.
Save nilbus/1327577 to your computer and use it in GitHub Desktop.
Error occurs when doing some things in TorqueBox 2.x
/!\ FAILSAFE /!\ 10/31/2011 09:59 AM
Status: 500 Internal Server Error
private method `split' called for nil:NilClass
vfs:/home/edwarda/torquebox/robertson_scholars/vendor/plugins/feedback_notifier/lib/feedback_notification/feedback_notifiable.rb:56:in `post_data'
vfs:/home/edwarda/torquebox/robertson_scholars/vendor/plugins/feedback_notifier/lib/feedback_notification/feedback_notifiable.rb:51:in `post_data_from_exception'
vfs:/home/edwarda/torquebox/robertson_scholars/vendor/plugins/feedback_notifier/lib/feedback_notification/feedback_notifiable.rb:9:in `rescue_action_in_public'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:154:in `rescue_action_without_handler'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:73:in `rescue_action'
org/jruby/RubyKernel.java:2097:in `send'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in `process'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/actionpack-2.3.14/lib/action_controller/filters.rb:606:in `process_with_filters'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:65:in `call_with_exception'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:90:in `dispatch'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:121:in `_call'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
org/jruby/RubyProc.java:270:in `call'
org/jruby/RubyProc.java:220:in `call'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:29:in `call'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:9:in `cache'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:28:in `call'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/actionpack-2.3.14/lib/action_controller/string_coercion.rb:25:in `call'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/rack-1.1.2/lib/rack/head.rb:9:in `call'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/rack-1.1.2/lib/rack/methodoverride.rb:24:in `call'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/actionpack-2.3.14/lib/action_controller/params_parser.rb:15:in `call'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/torquebox-web-2.x.incremental.568-java/lib/torquebox/session/servlet_store.rb:31:in `call'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/actionpack-2.3.14/lib/action_controller/failsafe.rb:26:in `call'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/rack-1.1.2/lib/rack/lock.rb:11:in `call'
/home/edwarda/.rvm/gems/jruby-1.6.5@robertson_scholars/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:106:in `call'
@nilbus
Copy link
Author

nilbus commented Oct 31, 2011

Confirmed that this happens on 2.x.incremental.568 and not 1.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment