[chef] Cookbook on WebUI - ERROR: undefined method `close!' for nil:NilClass


Chronological Thread 
  • From: Cassiano Leal < >
  • To: < >
  • Cc:
  • Subject: [chef] Cookbook on WebUI - ERROR: undefined method `close!' for nil:NilClass
  • Date: Wed, 24 Jul 2013 17:24:23 -0300

Hi,


One of my cookbooks fail to show on the webui with the message:


ERROR: undefined method `close!' for nil:NilClass

And I found this on the logs:

==> /var/log/chef-server/chef-server-webui/current <==
2013-07-24_20:20:47.87819 NoMethodError: undefined method `close!' for nil:NilClass
2013-07-24_20:20:47.87823 {:request_params=>
2013-07-24_20:20:47.87824   {"controller"=>"cookbooks",
2013-07-24_20:20:47.87824    "action"=>"show",
2013-07-24_20:20:47.87825    "cookbook_id"=>"zapi",
2013-07-24_20:20:47.87826    "cb_version"=>"0.0.5"}}
2013-07-24_20:20:47.87827
2013-07-24_20:20:47.87827 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:245:in `ensure in block (2 levels) in streaming_request'
2013-07-24_20:20:47.87828 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest.rb:245:in `block (2 levels) in streaming_request'
2013-07-24_20:20:47.87829 /opt/chef-server/embedded/service/gem/ruby/1.9.1/gems/chef-11.4.0/lib/chef/rest/rest_request.rb:101:in `block (2 levels) in call’

What’s the source of this error?

Cheers,
--
Cassiano Leal
http://cassianoleal.com
http://twitter.com/cassianoleal



Archive powered by MHonArc 2.6.16.

§