Skip to content

Instantly share code, notes, and snippets.

@shawndrost
Created October 11, 2011 06:46
Show Gist options
  • Save shawndrost/1277443 to your computer and use it in GitHub Desktop.
Save shawndrost/1277443 to your computer and use it in GitHub Desktop.
NoMethodError
undefined method `ord' for nil:NilClass
activesupport (3.0.10) lib/active_support/whiny_nil.rb:48:in `method_missing'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1613:in `block in urlencode'
activesupport (3.0.10) lib/active_support/core_ext/string/output_safety.rb:143:in `gsub'
activesupport (3.0.10) lib/active_support/core_ext/string/output_safety.rb:143:in `gsub'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1613:in `urlencode'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1608:in `block in encode_kvpair'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1608:in `map'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1608:in `encode_kvpair'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1601:in `block in set_form_data'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1601:in `each'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1601:in `map'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1601:in `set_form_data'
gatling_gun (0.0.2) lib/gatling_gun/api_call.rb:20:in `response'
gatling_gun (0.0.2) lib/gatling_gun.rb:192:in `make_api_call'
gatling_gun (0.0.2) lib/gatling_gun.rb:33:in `add_newsletter'
app/controllers/old_admin/mailchimp_controller.rb:13:in `new_campaign'
actionpack (3.0.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.0.10) lib/abstract_controller/base.rb:150:in `process_action'
actionpack (3.0.10) lib/action_controller/metal/rendering.rb:11:in `process_action'
actionpack (3.0.10) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.0.10) lib/active_support/callbacks.rb:491:in `_run__4105845903930754667__process_action__793560314985864103__callbacks'
activesupport (3.0.10) lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
activesupport (3.0.10) lib/active_support/callbacks.rb:94:in `run_callbacks'
actionpack (3.0.10) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.0.10) lib/action_controller/metal/rescue.rb:17:in `process_action'
actionpack (3.0.10) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.0.10) lib/active_support/notifications.rb:52:in `block in instrument'
activesupport (3.0.10) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (3.0.10) lib/active_support/notifications.rb:52:in `instrument'
actionpack (3.0.10) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.0.10) lib/abstract_controller/base.rb:119:in `process'
actionpack (3.0.10) lib/abstract_controller/rendering.rb:41:in `process'
actionpack (3.0.10) lib/action_controller/metal.rb:138:in `dispatch'
actionpack (3.0.10) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.0.10) lib/action_controller/metal.rb:178:in `block in action'
actionpack (3.0.10) lib/action_dispatch/routing/route_set.rb:62:in `call'
actionpack (3.0.10) lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
actionpack (3.0.10) lib/action_dispatch/routing/route_set.rb:27:in `call'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `block in call'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `block in recognize'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:180:in `optimized_each'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'
actionpack (3.0.10) lib/action_dispatch/routing/route_set.rb:493:in `call'
actionpack (3.0.10) lib/action_dispatch/middleware/static.rb:30:in `call'
oa-core (0.2.6) lib/omniauth/strategy.rb:44:in `call!'
oa-core (0.2.6) lib/omniauth/strategy.rb:30:in `call'
oa-core (0.2.6) lib/omniauth/strategy.rb:44:in `call!'
oa-core (0.2.6) lib/omniauth/strategy.rb:30:in `call'
oa-core (0.2.6) lib/omniauth/strategy.rb:44:in `call!'
oa-core (0.2.6) lib/omniauth/strategy.rb:30:in `call'
oa-core (0.2.6) lib/omniauth/strategy.rb:44:in `call!'
oa-core (0.2.6) lib/omniauth/strategy.rb:30:in `call'
oa-core (0.2.6) lib/omniauth/strategy.rb:44:in `call!'
oa-core (0.2.6) lib/omniauth/strategy.rb:30:in `call'
oa-core (0.2.6) lib/omniauth/strategy.rb:44:in `call!'
oa-core (0.2.6) lib/omniauth/strategy.rb:30:in `call'
lib/paperclip_s3_url_rewriter.rb:8:in `call'
rack-timeout (0.0.3) lib/rack/timeout.rb:16:in `block in call'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/timeout.rb:44:in `timeout'
rack-timeout (0.0.3) lib/rack/timeout.rb:16:in `call'
sass (3.1.7) lib/sass/plugin/rack.rb:54:in `call'
warden (1.0.4) lib/warden/manager.rb:35:in `block in call'
warden (1.0.4) lib/warden/manager.rb:34:in `catch'
warden (1.0.4) lib/warden/manager.rb:34:in `call'
actionpack (3.0.10) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
actionpack (3.0.10) lib/action_dispatch/middleware/head.rb:14:in `call'
rack (1.2.3) lib/rack/methodoverride.rb:24:in `call'
actionpack (3.0.10) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.0.10) lib/action_dispatch/middleware/flash.rb:182:in `call'
actionpack (3.0.10) lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
actionpack (3.0.10) lib/action_dispatch/middleware/cookies.rb:302:in `call'
activerecord (3.0.10) lib/active_record/query_cache.rb:32:in `block in call'
activerecord (3.0.10) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
activerecord (3.0.10) lib/active_record/query_cache.rb:12:in `cache'
activerecord (3.0.10) lib/active_record/query_cache.rb:31:in `call'
activerecord (3.0.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
actionpack (3.0.10) lib/action_dispatch/middleware/callbacks.rb:46:in `block in call'
activesupport (3.0.10) lib/active_support/callbacks.rb:426:in `_run_call_callbacks'
actionpack (3.0.10) lib/action_dispatch/middleware/callbacks.rb:44:in `call'
rack (1.2.3) lib/rack/sendfile.rb:107:in `call'
actionpack (3.0.10) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
actionpack (3.0.10) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
railties (3.0.10) lib/rails/rack/logger.rb:13:in `call'
rack (1.2.3) lib/rack/runtime.rb:17:in `call'
activesupport (3.0.10) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.2.3) lib/rack/lock.rb:11:in `block in call'
<internal:prelude>:10:in `synchronize'
rack (1.2.3) lib/rack/lock.rb:11:in `call'
actionpack (3.0.10) lib/action_dispatch/middleware/static.rb:30:in `call'
actionpack (3.0.10) lib/action_dispatch/middleware/static.rb:30:in `call'
railties (3.0.10) lib/rails/application.rb:168:in `call'
railties (3.0.10) lib/rails/application.rb:77:in `method_missing'
rack-rewrite (1.0.2) lib/rack/rewrite.rb:19:in `call'
railties (3.0.10) lib/rails/rack/log_tailer.rb:14:in `call'
rack (1.2.3) lib/rack/content_length.rb:13:in `call'
rack (1.2.3) lib/rack/handler/webrick.rb:52:in `service'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
@trcull
Copy link

trcull commented Oct 10, 2012

did you ever track this down? I'm getting the same stack trace at the same line in net/http.rb

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