{"comment":{"url":"https://api.github.com/repos/EasyAsABC123/chef-datadog/comments/10997080","html_url":"https://github.com/EasyAsABC123/chef-datadog/commit/7dbe101f0eb1ef4dcc9df1048b791b9908fe4fcc#commitcomment-10997080","id":10997080,"user":{"login":"hjdesai2","id":5409373,"avatar_url":"https://avatars.githubusercontent.com/u/5409373?v=3","gravatar_id":"","url":"https://api.github.com/users/hjdesai2","html_url":"https://github.com/hjdesai2","followers_url":"https://api.github.com/users/hjdesai2/followers","following_url":"https://api.github.com/users/hjdesai2/following{/other_user}","gists_url":"https://api.github.com/users/hjdesai2/gists{/gist_id}","starred_url":"https://api.github.com/users/hjdesai2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjdesai2/subscriptions","organizations_url":"https://api.github.com/users/hjdesai2/orgs","repos_url":"https://api.github.com/users/hjdesai2/repos","events_url":"https://api.github.com/users/hjdesai2/events{/privacy}","received_events_url":"https://api.github.com/users/hjdesai2/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"7dbe101f0eb1ef4dcc9df1048b791b9908fe4fcc","created_at":"2015-05-01T02:46:24Z","updated_at":"2015-05-01T02:46:24Z","body":"  ================================================================================\r\n  Recipe Compile Error in /var/chef/cache/cookbooks/datadog/recipes/jmx.rb\r\n  ================================================================================\r\n\r\n  NoMethodError\r\n  -------------\r\n  undefined method `[]' for nil:NilClass\r\n\r\n  Cookbook Trace:\r\n  ---------------\r\n    /var/chef/cache/cookbooks/datadog/recipes/jmx.rb:4:in `block in from_file'\r\n    /var/chef/cache/cookbooks/datadog/recipes/jmx.rb:3:in `from_file'\r\n\r\n  Relevant File Content:\r\n  ----------------------\r\n  /var/chef/cache/cookbooks/datadog/recipes/jmx.rb:\r\n\r\n    1:  include_recipe 'datadog::dd-agent'\r\n    2:\r\n    3:  datadog_monitor 'jmx' do\r\n    4>>   instances node['datadog']['jmx']['instances']\r\n    5:  end\r\n    6:\r\n\r\n\r\n  Running handlers:\r\n[2015-05-01T02:42:37+00:00] ERROR: Running exception handlers\r\n  Running handlers complete\r\n[2015-05-01T02:42:37+00:00] ERROR: Exception handlers complete\r\n[2015-05-01T02:42:37+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out\r\n  Chef Client failed. 1 resources updated in 5.812183239 seconds\r\n[2015-05-01T02:42:37+00:00] ERROR: undefined method `[]' for nil:NilClass\r\n[2015-05-01T02:42:37+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)\r\n\r\n@EasyAsABC123 : When I put the node.override then it gives the above error"}}