{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/spaceship/issues/189","labels_url":"https://api.github.com/repos/fastlane/spaceship/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/spaceship/issues/189/comments","events_url":"https://api.github.com/repos/fastlane/spaceship/issues/189/events","html_url":"https://github.com/fastlane/spaceship/issues/189","id":120772867,"number":189,"title":"undefined method `[]' for nil:NilClass","user":{"login":"realf","id":1440102,"avatar_url":"https://avatars.githubusercontent.com/u/1440102?v=3","gravatar_id":"","url":"https://api.github.com/users/realf","html_url":"https://github.com/realf","followers_url":"https://api.github.com/users/realf/followers","following_url":"https://api.github.com/users/realf/following{/other_user}","gists_url":"https://api.github.com/users/realf/gists{/gist_id}","starred_url":"https://api.github.com/users/realf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realf/subscriptions","organizations_url":"https://api.github.com/users/realf/orgs","repos_url":"https://api.github.com/users/realf/repos","events_url":"https://api.github.com/users/realf/events{/privacy}","received_events_url":"https://api.github.com/users/realf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-07T13:22:19Z","updated_at":"2015-12-14T01:39:39Z","closed_at":null,"body":"I am trying to update APNS certificates with pem for all apps on team's Apple Developer Portal (over 300 apps for now). After successfull updating several certificates Spaceship fails with error:\r\n```\r\nundefined method `[]' for nil:NilClass\r\n\r\n15:05:15 /usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.15.1/lib/spaceship/client.rb:257:in `parse_response': undefined method `[]' for nil:NilClass (NoMethodError)\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.15.1/lib/spaceship/portal/portal_client.rb:60:in `teams'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.15.1/lib/spaceship/portal/ui/select_team.rb:35:in `select_team'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.15.1/lib/spaceship/portal/portal_client.rb:76:in `select_team'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/pem-1.1.0/lib/pem/manager.rb:36:in `login'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/pem-1.1.0/lib/pem/manager.rb:10:in `start'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/lib/fastlane/actions/pem.rb:19:in `run'\r\n15:05:15 \tfrom /Users/apnsupdater/.jenkins/workspace/Netpulse-fastlane-apns-updater/fastlane/actions/update_apns_certificates.rb:42:in `block in run'\r\n15:05:15 \tfrom /Users/apnsupdater/.jenkins/workspace/Netpulse-fastlane-apns-updater/fastlane/actions/update_apns_certificates.rb:36:in `each'\r\n15:05:15 \tfrom /Users/apnsupdater/.jenkins/workspace/Netpulse-fastlane-apns-updater/fastlane/actions/update_apns_certificates.rb:36:in `run'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/lib/fastlane/runner.rb:142:in `block (2 levels) in execute_action'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/lib/fastlane/actions/actions_helper.rb:37:in `execute_action'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/lib/fastlane/runner.rb:128:in `block in execute_action'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/lib/fastlane/runner.rb:127:in `chdir'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/lib/fastlane/runner.rb:127:in `execute_action'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/lib/fastlane/fast_file.rb:149:in `method_missing'\r\n15:05:15 \tfrom Fastfile:83:in `block (2 levels) in parsing_binding'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/lib/fastlane/lane.rb:36:in `call'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/lib/fastlane/lane.rb:36:in `call'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/lib/fastlane/runner.rb:51:in `block in execute'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/lib/fastlane/runner.rb:46:in `chdir'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/lib/fastlane/runner.rb:46:in `execute'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/lib/fastlane/lane_manager.rb:43:in `cruise_lane'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/lib/fastlane/command_line_handler.rb:31:in `handle'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/bin/fastlane:35:in `block (2 levels) in run'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/bin/fastlane:152:in `run'\r\n15:05:15 \tfrom /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.44.0/bin/fastlane:158:in `<top (required)>'\r\n15:05:15 \tfrom /usr/local/bin/fastlane:23:in `load'\r\n15:05:15 \tfrom /usr/local/bin/fastlane:23:in `<main>'\r\n```\r\nCrash report id: ```dbcad4da2142382a16f5382496a86ad6```"},"comment":{"url":"https://api.github.com/repos/fastlane/spaceship/issues/comments/164320005","html_url":"https://github.com/fastlane/spaceship/issues/189#issuecomment-164320005","issue_url":"https://api.github.com/repos/fastlane/spaceship/issues/189","id":164320005,"user":{"login":"KrauseFx","id":869950,"avatar_url":"https://avatars.githubusercontent.com/u/869950?v=3","gravatar_id":"","url":"https://api.github.com/users/KrauseFx","html_url":"https://github.com/KrauseFx","followers_url":"https://api.github.com/users/KrauseFx/followers","following_url":"https://api.github.com/users/KrauseFx/following{/other_user}","gists_url":"https://api.github.com/users/KrauseFx/gists{/gist_id}","starred_url":"https://api.github.com/users/KrauseFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrauseFx/subscriptions","organizations_url":"https://api.github.com/users/KrauseFx/orgs","repos_url":"https://api.github.com/users/KrauseFx/repos","events_url":"https://api.github.com/users/KrauseFx/events{/privacy}","received_events_url":"https://api.github.com/users/KrauseFx/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T01:39:39Z","updated_at":"2015-12-14T01:39:39Z","body":"Can you share your `actions/update_apns_certificates`?"}}