{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/ios-sdk/issues/560","repository_url":"https://api.github.com/repos/spotify/ios-sdk","labels_url":"https://api.github.com/repos/spotify/ios-sdk/issues/560/labels{/name}","comments_url":"https://api.github.com/repos/spotify/ios-sdk/issues/560/comments","events_url":"https://api.github.com/repos/spotify/ios-sdk/issues/560/events","html_url":"https://github.com/spotify/ios-sdk/issues/560","id":126266521,"number":560,"title":"NSJSONSerialization crashing app - reason: 'data parameter is nil'","user":{"login":"jakereps","id":2638727,"avatar_url":"https://avatars.githubusercontent.com/u/2638727?v=3","gravatar_id":"","url":"https://api.github.com/users/jakereps","html_url":"https://github.com/jakereps","followers_url":"https://api.github.com/users/jakereps/followers","following_url":"https://api.github.com/users/jakereps/following{/other_user}","gists_url":"https://api.github.com/users/jakereps/gists{/gist_id}","starred_url":"https://api.github.com/users/jakereps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakereps/subscriptions","organizations_url":"https://api.github.com/users/jakereps/orgs","repos_url":"https://api.github.com/users/jakereps/repos","events_url":"https://api.github.com/users/jakereps/events{/privacy}","received_events_url":"https://api.github.com/users/jakereps/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spotify/ios-sdk/labels/crash","name":"crash","color":"b60205"},{"url":"https://api.github.com/repos/spotify/ios-sdk/labels/meta","name":"meta","color":"b60205"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-12T20:18:05Z","updated_at":"2016-05-27T06:59:32Z","closed_at":null,"body":"Calling `requestNextPageWithAccessToken` is occasionally causing my app to crash due to an unhanded exception within the framework. Specifically it occurs while fetching the next pages while scrolling through a tableView. As shown in the stack it is thrown within framework code:\r\n\r\n    2016-01-12 13:07:14.597 app[--] *** Terminating app due to uncaught \r\n    exception 'NSInvalidArgumentException', reason: 'data parameter is nil'\r\n    *** First throw call stack:\r\n    (\r\n    \t0   CoreFoundation                      0x0000000110cb4e65 __exceptionPreprocess + 165\r\n    \t1   libobjc.A.dylib                     0x000000010ff83deb objc_exception_throw + 48\r\n    \t2   CoreFoundation                      0x0000000110cb4d9d +[NSException raise:format:] + 205\r\n    \t3   Foundation                          0x000000010fc76089 +[NSJSONSerialization JSONObjectWithData:options:error:] + 67\r\n    \t4   app                                 0x000000010f52078f +[SPTListPage listPageFromData:withResponse:expectingPartialChildren:rootObjectKey:error:] + 92\r\n    \t5   app                                 0x000000010f520aed __53-[SPTListPage requestPageAtURL:accessToken:callback:]_block_invoke + 172\r\n    \t6   libdispatch.dylib                   0x0000000113ab4e5d _dispatch_call_block_and_release + 12\r\n    \t7   libdispatch.dylib                   0x0000000113ad549b _dispatch_client_callout + 8\r\n    \t8   libdispatch.dylib                   0x0000000113abd2af _dispatch_main_queue_callback_4CF + 1738\r\n    \t9   CoreFoundation                      0x0000000110c14d09 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\r\n    \t10  CoreFoundation                      0x0000000110bd62c9 __CFRunLoopRun + 2073\r\n    \t11  CoreFoundation                      0x0000000110bd5828 CFRunLoopRunSpecific + 488\r\n    \t12  GraphicsServices                    0x0000000115109ad2 GSEventRunModal + 161\r\n    \t13  UIKit                               0x0000000111aff610 UIApplicationMain + 171\r\n    \t14  app                                 0x000000010f4f01bd main + 109\r\n    \t15  libdyld.dylib                       0x0000000113b0992d start + 1\r\n    )\r\n    libc++abi.dylib: terminating with uncaught exception of type NSException"},"comment":{"url":"https://api.github.com/repos/spotify/ios-sdk/issues/comments/222074491","html_url":"https://github.com/spotify/ios-sdk/issues/560#issuecomment-222074491","issue_url":"https://api.github.com/repos/spotify/ios-sdk/issues/560","id":222074491,"user":{"login":"fotiDim","id":2326415,"avatar_url":"https://avatars.githubusercontent.com/u/2326415?v=3","gravatar_id":"","url":"https://api.github.com/users/fotiDim","html_url":"https://github.com/fotiDim","followers_url":"https://api.github.com/users/fotiDim/followers","following_url":"https://api.github.com/users/fotiDim/following{/other_user}","gists_url":"https://api.github.com/users/fotiDim/gists{/gist_id}","starred_url":"https://api.github.com/users/fotiDim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fotiDim/subscriptions","organizations_url":"https://api.github.com/users/fotiDim/orgs","repos_url":"https://api.github.com/users/fotiDim/repos","events_url":"https://api.github.com/users/fotiDim/events{/privacy}","received_events_url":"https://api.github.com/users/fotiDim/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T06:59:32Z","updated_at":"2016-05-27T06:59:32Z","body":"I still see this crash in beta-16. Wasn't it supposed to be fixed?"}}
{"actor":{"display_login":"fotiDim"}}