Skip to content

Instantly share code, notes, and snippets.

@cwjohnston
Created June 22, 2010 16:51
Show Gist options
  • Save cwjohnston/448739 to your computer and use it in GitHub Desktop.
Save cwjohnston/448739 to your computer and use it in GitHub Desktop.
merb : worker (port 4000) ~ Started request handling: Tue Jun 22 17:24:40 +0000 2010
merb : worker (port 4000) ~ undefined method `each' for nil:NilClass - (NoMethodError)
/usr/lib/ruby/1.8/chef/node.rb:329:in `json_create'
/usr/lib/ruby/1.8/json/common.rb:122:in `parse'
/usr/lib/ruby/1.8/json/common.rb:122:in `parse'
/usr/lib/ruby/1.8/merb-core/dispatch/request.rb:257:in `json_params'
/usr/lib/ruby/1.8/merb-core/dispatch/request.rb:293:in `params'
/usr/lib/ruby/1.8/merb-core/bootloader.rb:274
/usr/lib/ruby/1.8/merb-core/dispatch/request.rb:93:in `call'
/usr/lib/ruby/1.8/merb-core/dispatch/request.rb:93:in `method'
/usr/lib/ruby/1.8/merb-core/dispatch/request.rb:92:in `each'
/usr/lib/ruby/1.8/merb-core/dispatch/request.rb:92:in `method'
Generated Code for Router:2:in `match'
/usr/lib/ruby/1.8/merb-core/dispatch/router.rb:139:in `route_for'
/usr/lib/ruby/1.8/merb-core/dispatch/request.rb:116:in `find_route!'
/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:56:in `handle'
/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:36:in `handle'
/usr/lib/ruby/1.8/merb-core/rack/application.rb:17:in `call'
/usr/lib/ruby/1.8/merb-core/rack/middleware/static.rb:28:in `call'
/usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
/usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
/usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
/usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
/usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
/usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine'
/usr/lib/ruby/1.8/eventmachine.rb:240:in `run'
/usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
/usr/lib/ruby/1.8/thin/server.rb:156:in `start'
/usr/lib/ruby/1.8/merb-core/rack/adapter/thin.rb:30:in `start_server'
/usr/lib/ruby/1.8/merb-core/rack/adapter/abstract.rb:298:in `start_at_port'
/usr/lib/ruby/1.8/merb-core/rack/adapter/abstract.rb:128:in `start'
/usr/lib/ruby/1.8/merb-core/server.rb:174:in `bootup'
/usr/lib/ruby/1.8/merb-core/server.rb:159:in `daemonize'
/usr/lib/ruby/1.8/merb-core/server.rb:143:in `fork'
/usr/lib/ruby/1.8/merb-core/server.rb:143:in `daemonize'
/usr/lib/ruby/1.8/merb-core/server.rb:35:in `start'
/usr/lib/ruby/1.8/merb-core.rb:170:in `start'
/usr/bin/chef-server:67
merb : worker (port 4000) ~ Dispatching NoMethodError raised another error.
merb : worker (port 4000) ~ undefined method `each' for nil:NilClass - (NoMethodError)
/usr/lib/ruby/1.8/chef/node.rb:329:in `json_create'
/usr/lib/ruby/1.8/json/common.rb:122:in `parse'
/usr/lib/ruby/1.8/json/common.rb:122:in `parse'
/usr/lib/ruby/1.8/merb-core/dispatch/request.rb:257:in `json_params'
/usr/lib/ruby/1.8/merb-core/dispatch/request.rb:293:in `params'
/usr/lib/ruby/1.8/merb-core/controller/merb_controller.rb:249:in `_dispatch'
/usr/lib/ruby/1.8/merb-core/logger.rb:166:in `info'
/usr/lib/ruby/1.8/merb-core/controller/merb_controller.rb:249:in `_dispatch'
/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:102:in `dispatch_action'
/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:140:in `dispatch_exception'
/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:80:in `handle'
/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:36:in `handle'
/usr/lib/ruby/1.8/merb-core/rack/application.rb:17:in `call'
/usr/lib/ruby/1.8/merb-core/rack/middleware/static.rb:28:in `call'
/usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
/usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
/usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
/usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
/usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
/usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine'
/usr/lib/ruby/1.8/eventmachine.rb:240:in `run'
/usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
/usr/lib/ruby/1.8/thin/server.rb:156:in `start'
/usr/lib/ruby/1.8/merb-core/rack/adapter/thin.rb:30:in `start_server'
/usr/lib/ruby/1.8/merb-core/rack/adapter/abstract.rb:298:in `start_at_port'
/usr/lib/ruby/1.8/merb-core/rack/adapter/abstract.rb:128:in `start'
/usr/lib/ruby/1.8/merb-core/server.rb:174:in `bootup'
/usr/lib/ruby/1.8/merb-core/server.rb:159:in `daemonize'
/usr/lib/ruby/1.8/merb-core/server.rb:143:in `fork'
/usr/lib/ruby/1.8/merb-core/server.rb:143:in `daemonize'
/usr/lib/ruby/1.8/merb-core/server.rb:35:in `start'
/usr/lib/ruby/1.8/merb-core.rb:170:in `start'
/usr/bin/chef-server:67
merb : worker (port 4000) ~ Started request handling: Tue Jun 22 16:50:42 +0000 2010
merb : worker (port 4000) ~ Params: {"name"=>"drtr.dp1-ut1.bluecoatcloud.com", "action"=>"create", "admin"=>false, "controller"=>"chef_server_api/clients"}
merb : worker (port 4000) ~ {:dispatch_time=>0.2692, :before_filters_time=>0.023311, :action_time=>0.268368, :after_filters_time=>1.6e-05}
merb : worker (port 4000) ~
merb : worker (port 4000) ~ Started request handling: Tue Jun 22 16:50:43 +0000 2010
merb : worker (port 4000) ~ Params: {"format"=>nil, "action"=>"show", "id"=>"drtr.dp1-ut1.bluecoatcloud.com", "controller"=>"chef_server_api/nodes"}
merb : worker (port 4000) ~ {:dispatch_time=>0.030156, :before_filters_time=>0.007734, :action_time=>0.029798, :after_filters_time=>1.1e-05}
merb : worker (port 4000) ~
merb : worker (port 4000) ~ Started request handling: Tue Jun 22 16:50:43 +0000 2010
merb : worker (port 4000) ~ undefined method `each' for nil:NilClass - (NoMethodError)
/usr/lib/ruby/1.8/chef/node.rb:329:in `json_create'
/usr/lib/ruby/1.8/json/common.rb:122:in `parse'
/usr/lib/ruby/1.8/json/common.rb:122:in `parse'
/usr/lib/ruby/1.8/merb-core/dispatch/request.rb:257:in `json_params'
/usr/lib/ruby/1.8/merb-core/dispatch/request.rb:293:in `params'
/usr/lib/ruby/1.8/merb-core/dispatch/request.rb:117:in `find_route!'
/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:56:in `handle'
/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:36:in `handle'
/usr/lib/ruby/1.8/merb-core/rack/application.rb:17:in `call'
/usr/lib/ruby/1.8/merb-core/rack/middleware/static.rb:28:in `call'
/usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
/usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
/usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
/usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
/usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
/usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine'
/usr/lib/ruby/1.8/eventmachine.rb:240:in `run'
/usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
/usr/lib/ruby/1.8/thin/server.rb:156:in `start'
/usr/lib/ruby/1.8/merb-core/rack/adapter/thin.rb:30:in `start_server'
/usr/lib/ruby/1.8/merb-core/rack/adapter/abstract.rb:298:in `start_at_port'
/usr/lib/ruby/1.8/merb-core/rack/adapter/abstract.rb:128:in `start'
/usr/lib/ruby/1.8/merb-core/server.rb:174:in `bootup'
/usr/lib/ruby/1.8/merb-core/server.rb:159:in `daemonize'
/usr/lib/ruby/1.8/merb-core/server.rb:143:in `fork'
/usr/lib/ruby/1.8/merb-core/server.rb:143:in `daemonize'
/usr/lib/ruby/1.8/merb-core/server.rb:35:in `start'
/usr/lib/ruby/1.8/merb-core.rb:170:in `start'
/usr/bin/chef-server:67
merb : worker (port 4000) ~ Dispatching NoMethodError raised another error.
merb : worker (port 4000) ~ undefined method `each' for nil:NilClass - (NoMethodError)
/usr/lib/ruby/1.8/chef/node.rb:329:in `json_create'
/usr/lib/ruby/1.8/json/common.rb:122:in `parse'
/usr/lib/ruby/1.8/json/common.rb:122:in `parse'
/usr/lib/ruby/1.8/merb-core/dispatch/request.rb:257:in `json_params'
/usr/lib/ruby/1.8/merb-core/dispatch/request.rb:293:in `params'
/usr/lib/ruby/1.8/merb-core/controller/merb_controller.rb:249:in `_dispatch'
/usr/lib/ruby/1.8/merb-core/logger.rb:166:in `info'
/usr/lib/ruby/1.8/merb-core/controller/merb_controller.rb:249:in `_dispatch'
/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:102:in `dispatch_action'
/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:140:in `dispatch_exception'
/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:80:in `handle'
/usr/lib/ruby/1.8/merb-core/dispatch/dispatcher.rb:36:in `handle'
/usr/lib/ruby/1.8/merb-core/rack/application.rb:17:in `call'
/usr/lib/ruby/1.8/merb-core/rack/middleware/static.rb:28:in `call'
/usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
/usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
/usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
/usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
/usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
/usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine'
/usr/lib/ruby/1.8/eventmachine.rb:240:in `run'
/usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
/usr/lib/ruby/1.8/thin/server.rb:156:in `start'
/usr/lib/ruby/1.8/merb-core/rack/adapter/thin.rb:30:in `start_server'
/usr/lib/ruby/1.8/merb-core/rack/adapter/abstract.rb:298:in `start_at_port'
/usr/lib/ruby/1.8/merb-core/rack/adapter/abstract.rb:128:in `start'
/usr/lib/ruby/1.8/merb-core/server.rb:174:in `bootup'
/usr/lib/ruby/1.8/merb-core/server.rb:159:in `daemonize'
/usr/lib/ruby/1.8/merb-core/server.rb:143:in `fork'
/usr/lib/ruby/1.8/merb-core/server.rb:143:in `daemonize'
/usr/lib/ruby/1.8/merb-core/server.rb:35:in `start'
/usr/lib/ruby/1.8/merb-core.rb:170:in `start'
/usr/bin/chef-server:67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment