{"action":"created","issue":{"url":"https://api.github.com/repos/davydovanton/sidekiq-history/issues/30","labels_url":"https://api.github.com/repos/davydovanton/sidekiq-history/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/davydovanton/sidekiq-history/issues/30/comments","events_url":"https://api.github.com/repos/davydovanton/sidekiq-history/issues/30/events","html_url":"https://github.com/davydovanton/sidekiq-history/issues/30","id":95303126,"number":30,"title":"history with multiple Worker Classes raise runtime error","user":{"login":"nessur","id":99211,"avatar_url":"https://avatars.githubusercontent.com/u/99211?v=3","gravatar_id":"","url":"https://api.github.com/users/nessur","html_url":"https://github.com/nessur","followers_url":"https://api.github.com/users/nessur/followers","following_url":"https://api.github.com/users/nessur/following{/other_user}","gists_url":"https://api.github.com/users/nessur/gists{/gist_id}","starred_url":"https://api.github.com/users/nessur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nessur/subscriptions","organizations_url":"https://api.github.com/users/nessur/orgs","repos_url":"https://api.github.com/users/nessur/repos","events_url":"https://api.github.com/users/nessur/events{/privacy}","received_events_url":"https://api.github.com/users/nessur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-15T22:21:31Z","updated_at":"2015-07-23T09:43:23Z","closed_at":"2015-07-23T09:43:23Z","body":"When running more than one worker class, sidekiq-history raises `NoMethodError: undefined method `symbolize_keys' for nil:NilClass` when recording statistics. \r\n\r\nlib/sidekiq/history/middleware.rb:50\r\n\r\nTo reproduce: \r\n1. Execute jobs with SendEmailWorker one or more times\r\n2. Executes jobs with SendTwitterWorker once\r\n3. See 'SendTwitterWorker' fail, with the 'retries' tab in sidekiq-web, showing the error message `NoMethodError: undefined method symbolize_keys' for nil:NilClass`\r\n4. if you execute workers with (backtrace: true), then the error is at `lib/sidekiq/history/middleware.rb:50`"},"comment":{"url":"https://api.github.com/repos/davydovanton/sidekiq-history/issues/comments/124035155","html_url":"https://github.com/davydovanton/sidekiq-history/issues/30#issuecomment-124035155","issue_url":"https://api.github.com/repos/davydovanton/sidekiq-history/issues/30","id":124035155,"user":{"login":"davydovanton","id":1147484,"avatar_url":"https://avatars.githubusercontent.com/u/1147484?v=3","gravatar_id":"","url":"https://api.github.com/users/davydovanton","html_url":"https://github.com/davydovanton","followers_url":"https://api.github.com/users/davydovanton/followers","following_url":"https://api.github.com/users/davydovanton/following{/other_user}","gists_url":"https://api.github.com/users/davydovanton/gists{/gist_id}","starred_url":"https://api.github.com/users/davydovanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davydovanton/subscriptions","organizations_url":"https://api.github.com/users/davydovanton/orgs","repos_url":"https://api.github.com/users/davydovanton/repos","events_url":"https://api.github.com/users/davydovanton/events{/privacy}","received_events_url":"https://api.github.com/users/davydovanton/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T09:43:23Z","updated_at":"2015-07-23T09:43:23Z","body":"thanks!"}}