{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/351","labels_url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/351/comments","events_url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/351/events","html_url":"https://github.com/chef/chef-provisioning-aws/issues/351","id":109139859,"number":351,"title":"Type Error, Can't Dupe NilClass when creating a load balancer","user":{"login":"danieljimenez","id":63831,"avatar_url":"https://avatars.githubusercontent.com/u/63831?v=3","gravatar_id":"","url":"https://api.github.com/users/danieljimenez","html_url":"https://github.com/danieljimenez","followers_url":"https://api.github.com/users/danieljimenez/followers","following_url":"https://api.github.com/users/danieljimenez/following{/other_user}","gists_url":"https://api.github.com/users/danieljimenez/gists{/gist_id}","starred_url":"https://api.github.com/users/danieljimenez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieljimenez/subscriptions","organizations_url":"https://api.github.com/users/danieljimenez/orgs","repos_url":"https://api.github.com/users/danieljimenez/repos","events_url":"https://api.github.com/users/danieljimenez/events{/privacy}","received_events_url":"https://api.github.com/users/danieljimenez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/chef-provisioning-aws/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"tyler-ball","id":2481463,"avatar_url":"https://avatars.githubusercontent.com/u/2481463?v=3","gravatar_id":"","url":"https://api.github.com/users/tyler-ball","html_url":"https://github.com/tyler-ball","followers_url":"https://api.github.com/users/tyler-ball/followers","following_url":"https://api.github.com/users/tyler-ball/following{/other_user}","gists_url":"https://api.github.com/users/tyler-ball/gists{/gist_id}","starred_url":"https://api.github.com/users/tyler-ball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyler-ball/subscriptions","organizations_url":"https://api.github.com/users/tyler-ball/orgs","repos_url":"https://api.github.com/users/tyler-ball/repos","events_url":"https://api.github.com/users/tyler-ball/events{/privacy}","received_events_url":"https://api.github.com/users/tyler-ball/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/chef/chef-provisioning-aws/milestones/7","html_url":"https://github.com/chef/chef-provisioning-aws/milestones/1.5.0","labels_url":"https://api.github.com/repos/chef/chef-provisioning-aws/milestones/7/labels","id":1300137,"number":7,"title":"1.5.0","description":"","creator":{"login":"tyler-ball","id":2481463,"avatar_url":"https://avatars.githubusercontent.com/u/2481463?v=3","gravatar_id":"","url":"https://api.github.com/users/tyler-ball","html_url":"https://github.com/tyler-ball","followers_url":"https://api.github.com/users/tyler-ball/followers","following_url":"https://api.github.com/users/tyler-ball/following{/other_user}","gists_url":"https://api.github.com/users/tyler-ball/gists{/gist_id}","starred_url":"https://api.github.com/users/tyler-ball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyler-ball/subscriptions","organizations_url":"https://api.github.com/users/tyler-ball/orgs","repos_url":"https://api.github.com/users/tyler-ball/repos","events_url":"https://api.github.com/users/tyler-ball/events{/privacy}","received_events_url":"https://api.github.com/users/tyler-ball/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":17,"state":"closed","created_at":"2015-09-10T21:38:18Z","updated_at":"2015-10-15T18:44:41Z","due_on":null,"closed_at":"2015-10-13T00:57:06Z"},"comments":8,"created_at":"2015-09-30T17:23:00Z","updated_at":"2015-10-15T18:44:59Z","closed_at":null,"body":"```\r\n    TypeError\r\n    ---------\r\n    can't dup NilClass\r\n    \r\n    Resource Declaration:\r\n    ---------------------\r\n    # In /Users/djimenez/.chef/cache/cookbooks/foreflight_cluster/definitions/internal_load_balancer.rb\r\n    \r\n     21:   load_balancer \"#{lb_name}\" do\r\n     22:     machines params[:machines]\r\n     23:     load_balancer_options subnets: params[:subnets],\r\n     24:                           scheme: 'internal',\r\n     25:                           listeners: [{\r\n     26:                                           instance_port: params[:port],\r\n     27:                                           protocol: 'HTTP',\r\n     28:                                           instance_protocol: 'HTTP',\r\n     29:                                           port: params[:port]\r\n     30:                                       }],\r\n     31:                           health_check: {\r\n     32:                               healthy_threshold: 2,\r\n     33:                               interval: 5,\r\n     34:                               target: \"TCP:#{params[:port]}\",\r\n     35:                               timeout: 3,\r\n     36:                               unhealthy_threshold: 8\r\n     37:                           },\r\n     38:                           attributes: {\r\n     39:                               cross_zone_load_balancing: {\r\n     40:                                   enabled: true\r\n     41:                               },\r\n     42:                               connection_settings: {\r\n     43:                                   idle_timeout: 300\r\n     44:                               }\r\n     45:                           },\r\n     46:                           aws_tags: {\r\n     47:                               'Cost Center' => node.chef_environment\r\n     48:                           }\r\n     49:   end\r\n     50: }\r\n```\r\n\r\n```\r\n    Compiled Resource:\r\n    ------------------\r\n    # Declared in /Users/djimenez/.chef/cache/cookbooks/foreflight_cluster/definitions/internal_load_balancer.rb:21:in `block in from_file'\r\n    \r\n    load_balancer(\"apollo-public\") do\r\n      params {:machines=>[\"apollo-app-0-1\"], :subnets=>[\"subnet\"], :port=>8095, :health_check_target=>\"public/healthcheck\", :name=>\"public\"}\r\n      action [:create]\r\n      retries 0\r\n      retry_delay 2\r\n      default_guard_interpreter :default\r\n      chef_server {:chef_server_url=>\"\", :options=>{:client_name=>\"danieljimenez\", :signing_key_filename=>\"/Users/djimenez/Development/metal/.chef/danieljimenez.pem\", :api_version=>\"0\"}}\r\n      driver \"aws::us-east-1\"\r\n      load_balancer_options {:subnets=>[\"subnet\"], :scheme=>\"internal\", :listeners=>[{:instance_port=>8095, :protocol=>\"HTTP\", :instance_protocol=>\"HTTP\", :port=>8095}], :health_check=>{:healthy_threshold=>2, :interval=>5, :target=>\"TCP:8095\", :timeout=>3, :unhealthy_threshold=>8}, :attributes=>{:cross_zone_load_balancing=>{:enabled=>true}, :connection_settings=>{:idle_timeout=>300}}, :aws_tags=>{\"Cost Center\"=>\"apollo\"}}\r\n      declared_type :load_balancer\r\n      cookbook_name \"foreflight_cluster\"\r\n      recipe_name \"stage\"\r\n      machines [\"apollo-app-0-1\"]\r\n    end\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/comments/148485185","html_url":"https://github.com/chef/chef-provisioning-aws/issues/351#issuecomment-148485185","issue_url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/351","id":148485185,"user":{"login":"tyler-ball","id":2481463,"avatar_url":"https://avatars.githubusercontent.com/u/2481463?v=3","gravatar_id":"","url":"https://api.github.com/users/tyler-ball","html_url":"https://github.com/tyler-ball","followers_url":"https://api.github.com/users/tyler-ball/followers","following_url":"https://api.github.com/users/tyler-ball/following{/other_user}","gists_url":"https://api.github.com/users/tyler-ball/gists{/gist_id}","starred_url":"https://api.github.com/users/tyler-ball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyler-ball/subscriptions","organizations_url":"https://api.github.com/users/tyler-ball/orgs","repos_url":"https://api.github.com/users/tyler-ball/repos","events_url":"https://api.github.com/users/tyler-ball/events{/privacy}","received_events_url":"https://api.github.com/users/tyler-ball/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T18:44:58Z","updated_at":"2015-10-15T18:44:58Z","body":"@danieljimenez Is the stack trace still the same?"}}