{"action":"created","issue":{"url":"https://api.github.com/repos/mperham/sidekiq/issues/2353","labels_url":"https://api.github.com/repos/mperham/sidekiq/issues/2353/labels{/name}","comments_url":"https://api.github.com/repos/mperham/sidekiq/issues/2353/comments","events_url":"https://api.github.com/repos/mperham/sidekiq/issues/2353/events","html_url":"https://github.com/mperham/sidekiq/issues/2353","id":76809580,"number":2353,"title":"NoMethodError: undefined method `each_pair' for nil:NilClass","user":{"login":"palexvs","id":1415597,"avatar_url":"https://avatars.githubusercontent.com/u/1415597?v=3","gravatar_id":"","url":"https://api.github.com/users/palexvs","html_url":"https://github.com/palexvs","followers_url":"https://api.github.com/users/palexvs/followers","following_url":"https://api.github.com/users/palexvs/following{/other_user}","gists_url":"https://api.github.com/users/palexvs/gists{/gist_id}","starred_url":"https://api.github.com/users/palexvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palexvs/subscriptions","organizations_url":"https://api.github.com/users/palexvs/orgs","repos_url":"https://api.github.com/users/palexvs/repos","events_url":"https://api.github.com/users/palexvs/events{/privacy}","received_events_url":"https://api.github.com/users/palexvs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-15T18:19:22Z","updated_at":"2015-05-15T18:48:35Z","closed_at":null,"body":"sidekiq-3.3.4\r\nruby-2.2.0\r\nrails-4.1.10\r\n\r\nError:\r\n```\r\nNoMethodError: undefined method `each_pair' for nil:NilClass\r\n\"/Users/palexvs/.rvm/gems/ruby-2.2.0@talkable/gems/activesupport-4.1.10/lib/active_support/core_ext/hash/deep_merge.rb:22:in `deep_merge!'\",\r\n \"/Users/palexvs/.rvm/gems/ruby-2.2.0@talkable/gems/sidekiq-3.3.4/lib/sidekiq/web_helpers.rb:15:in `block (2 levels) in strings'\",\r\n \"/Users/palexvs/.rvm/gems/ruby-2.2.0@talkable/gems/sidekiq-3.3.4/lib/sidekiq/web_helpers.rb:12:in `each'\",\r\n \"/Users/palexvs/.rvm/gems/ruby-2.2.0@talkable/gems/sidekiq-3.3.4/lib/sidekiq/web_helpers.rb:12:in `block in strings'\",\r\n \"/Users/palexvs/.rvm/gems/ruby-2.2.0@talkable/gems/sidekiq-3.3.4/lib/sidekiq/web_helpers.rb:11:in `each'\",\r\n \"/Users/palexvs/.rvm/gems/ruby-2.2.0@talkable/gems/sidekiq-3.3.4/lib/sidekiq/web_helpers.rb:11:in `each_with_object'\",\r\n \"/Users/palexvs/.rvm/gems/ruby-2.2.0@talkable/gems/sidekiq-3.3.4/lib/sidekiq/web_helpers.rb:11:in `strings'\",\r\n \"/Users/palexvs/.rvm/gems/ruby-2.2.0@talkable/gems/sidekiq-3.3.4/lib/sidekiq/web_helpers.rb:77:in `get_locale'\",\r\n \"/Users/palexvs/.rvm/gems/ruby-2.2.0@talkable/gems/sidekiq-3.3.4/lib/sidekiq/web_helpers.rb:81:in `t'\",\r\n....\r\n```\r\n\r\nMethod where exception is happened::\r\n```\r\n  module WebHelpers\r\n    def strings(lang)\r\n      @@strings ||= {}\r\n      @@strings[lang] ||= begin\r\n        # Allow sidekiq-web extensions to add locale paths\r\n        # so extensions can be localized\r\n        settings.locales.each_with_object({}) do |path, global|\r\n          find_locale_files(lang).each do |file|\r\n            strs = YAML.load(File.open(file))\r\n            global.deep_merge!(strs[lang]) <------ strs[lang] == nil\r\n```\r\n\r\nDebug:\r\n```\r\n> file                                                                                                                                                                             \r\n=> \"/Users/palexvs/.rvm/gems/ruby-2.2.0@talkable/gems/sidekiq-3.3.4/web/locales/cs.yml\"\r\n\r\n> strs                                                                                                                                                                             \r\n=> {\"cs\"=>\r\n  {\"Dashboard\"=>\"Kontrolní panel\",\r\n   \"Status\"=>\"Stav\",\r\n....\r\n\r\n> lang                                                                                                                                                                             \r\n=> \"*\"\r\n\r\n> strs[lang]\r\n=> nil\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/mperham/sidekiq/issues/comments/102489795","html_url":"https://github.com/mperham/sidekiq/issues/2353#issuecomment-102489795","issue_url":"https://api.github.com/repos/mperham/sidekiq/issues/2353","id":102489795,"user":{"login":"palexvs","id":1415597,"avatar_url":"https://avatars.githubusercontent.com/u/1415597?v=3","gravatar_id":"","url":"https://api.github.com/users/palexvs","html_url":"https://github.com/palexvs","followers_url":"https://api.github.com/users/palexvs/followers","following_url":"https://api.github.com/users/palexvs/following{/other_user}","gists_url":"https://api.github.com/users/palexvs/gists{/gist_id}","starred_url":"https://api.github.com/users/palexvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palexvs/subscriptions","organizations_url":"https://api.github.com/users/palexvs/orgs","repos_url":"https://api.github.com/users/palexvs/repos","events_url":"https://api.github.com/users/palexvs/events{/privacy}","received_events_url":"https://api.github.com/users/palexvs/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T18:48:35Z","updated_at":"2015-05-15T18:48:35Z","body":"Thanks.\r\nsidekiq-3.3.3 - works in this situation properly "}}