{"action":"created","issue":{"url":"https://api.github.com/repos/google/gcm/issues/124","labels_url":"https://api.github.com/repos/google/gcm/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/google/gcm/issues/124/comments","events_url":"https://api.github.com/repos/google/gcm/issues/124/events","html_url":"https://github.com/google/gcm/issues/124","id":115131265,"number":124,"title":"NSInvalidArgumentException on iOS 7.1 when downloaded from AppStore","user":{"login":"rcpadilha","id":4116385,"avatar_url":"https://avatars.githubusercontent.com/u/4116385?v=3","gravatar_id":"","url":"https://api.github.com/users/rcpadilha","html_url":"https://github.com/rcpadilha","followers_url":"https://api.github.com/users/rcpadilha/followers","following_url":"https://api.github.com/users/rcpadilha/following{/other_user}","gists_url":"https://api.github.com/users/rcpadilha/gists{/gist_id}","starred_url":"https://api.github.com/users/rcpadilha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcpadilha/subscriptions","organizations_url":"https://api.github.com/users/rcpadilha/orgs","repos_url":"https://api.github.com/users/rcpadilha/repos","events_url":"https://api.github.com/users/rcpadilha/events{/privacy}","received_events_url":"https://api.github.com/users/rcpadilha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"mohitsharma0690","id":1913957,"avatar_url":"https://avatars.githubusercontent.com/u/1913957?v=3","gravatar_id":"","url":"https://api.github.com/users/mohitsharma0690","html_url":"https://github.com/mohitsharma0690","followers_url":"https://api.github.com/users/mohitsharma0690/followers","following_url":"https://api.github.com/users/mohitsharma0690/following{/other_user}","gists_url":"https://api.github.com/users/mohitsharma0690/gists{/gist_id}","starred_url":"https://api.github.com/users/mohitsharma0690/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohitsharma0690/subscriptions","organizations_url":"https://api.github.com/users/mohitsharma0690/orgs","repos_url":"https://api.github.com/users/mohitsharma0690/repos","events_url":"https://api.github.com/users/mohitsharma0690/events{/privacy}","received_events_url":"https://api.github.com/users/mohitsharma0690/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-11-04T19:40:50Z","updated_at":"2015-12-18T19:23:55Z","closed_at":"2015-12-18T19:23:55Z","body":"I'm having a problem with my iOS app when I download it from the App Store. This problem only happens on iOS 7 and only if I try to download it from de App Store.\r\n\r\nI've tested the same app AdHoc and on development and it works just fine.\r\n\r\nThe error message on the device log is:\r\n\r\n```\r\nTerminating app due to uncaught exception\r\n'NSInvalidArgumentException', reason: 'data parameter is nil'\r\n```\r\n\r\nThe only change I did on my app from the previous version was to add Google Cloud Messaging support. But everything works fine on the others iOS versions.\r\n\r\nThe full log is the following:\r\n\r\n```\r\nException Type:  EXC_CRASH (SIGABRT)\r\nException Codes: 0x0000000000000000, 0x0000000000000000\r\nTriggered by Thread:  2\r\n\r\nLast Exception Backtrace:\r\n0   CoreFoundation                  0x305c0f7e __exceptionPreprocess + 126\r\n1   libobjc.A.dylib                 0x3ad71cca objc_exception_throw + 34\r\n2   CoreFoundation                  0x305c0ec0 +[NSException raise:format:] + 100\r\n3   Foundation                      0x30f03db6 +[NSPropertyListSerialization propertyListWithData:options:format:error:] + 70\r\n4   My App                          0x00113116 +[GMRIdentity iTunesMetadata] + 374\r\n5   My App                          0x00112850 -[GMRIdentity initWithPersistedConfig:configuration:] + 648\r\n6   My App                          0x0011416e -[GMRMeasurement startMeasurementWithDatabaseName:configuration:] + 202\r\n7   My App                          0x0011a342 __38-[GMRScheduler scheduleOnWorkerQueue:]_block_invoke + 86\r\n8   libdispatch.dylib               0x3b25982e _dispatch_call_block_and_release + 6\r\n9   libdispatch.dylib               0x3b259de8 _dispatch_queue_drain$VARIANT$up + 440\r\n10  libdispatch.dylib               0x3b25a292 _dispatch_queue_invoke$VARIANT$up + 34\r\n11  libdispatch.dylib               0x3b26c888 _dispatch_root_queue_drain + 72\r\n12  libdispatch.dylib               0x3b26cb1c _dispatch_worker_thread2 + 52\r\n13  libsystem_pthread.dylib         0x3b39bbce _pthread_wqthread + 294\r\n14  libsystem_pthread.dylib         0x3b39ba94 start_wqthread + 4\r\n\r\n\r\nThread 0:\r\n0   libsystem_kernel.dylib          0x3b321a58 mach_msg_trap + 20\r\n1   libsystem_kernel.dylib          0x3b321854 mach_msg + 44\r\n2   CoreFoundation                  0x3058b846 __CFRunLoopServiceMachPort + 150\r\n3   CoreFoundation                  0x30589fb2 __CFRunLoopRun + 850\r\n4   CoreFoundation                  0x304f4eba CFRunLoopRunSpecific + 518\r\n5   CoreFoundation                  0x304f4c9e CFRunLoopRunInMode + 102\r\n6   GraphicsServices                0x353fa65e GSEventRunModal + 134\r\n7   UIKit                           0x32e41148 UIApplicationMain + 1132\r\n8   My App                          0x000f390e main (main.m:32)\r\n9   libdyld.dylib                   0x3b27eab4 start + 0\r\n\r\nThread 1:\r\n0   libsystem_kernel.dylib          0x3b321808 kevent64 + 24\r\n1   libdispatch.dylib               0x3b26dde8 _dispatch_mgr_invoke + 228\r\n2   libdispatch.dylib               0x3b25cf6e _dispatch_mgr_thread$VARIANT$up + 34\r\n\r\nThread 2 Crashed:\r\n0   libsystem_kernel.dylib          0x3b3341f0 __pthread_kill + 8\r\n1   libsystem_pthread.dylib         0x3b39e792 pthread_kill + 54\r\n2   libsystem_c.dylib               0x3b2e4fd8 abort + 72\r\n3   libc++abi.dylib                 0x3a613cd2 abort_message + 70\r\n4   libc++abi.dylib                 0x3a62c6e0 default_terminate_handler() + 248\r\n5   libobjc.A.dylib                 0x3ad71f62 _objc_terminate() + 190\r\n6   libc++abi.dylib                 0x3a62a1c4 std::__terminate(void (*)()) + 76\r\n7   libc++abi.dylib                 0x3a629a18 __cxa_throw + 112\r\n8   libobjc.A.dylib                 0x3ad71d9e objc_exception_throw + 246\r\n9   My App                          0x0011a3fe __38-[GMRScheduler scheduleOnWorkerQueue:]_block_invoke + 274\r\n10  libdispatch.dylib               0x3b259830 _dispatch_call_block_and_release + 8\r\n11  libdispatch.dylib               0x3b259de8 _dispatch_queue_drain$VARIANT$up + 440\r\n12  libdispatch.dylib               0x3b25a292 _dispatch_queue_invoke$VARIANT$up + 34\r\n13  libdispatch.dylib               0x3b26c88a _dispatch_root_queue_drain + 74\r\n14  libdispatch.dylib               0x3b26cb1c _dispatch_worker_thread2 + 52\r\n15  libsystem_pthread.dylib         0x3b39bbd0 _pthread_wqthread + 296\r\n16  libsystem_pthread.dylib         0x3b39ba94 start_wqthread + 4\r\n\r\nThread 3 name:  com.apple.NSURLConnectionLoader\r\nThread 3:\r\n0   libsystem_kernel.dylib          0x3b321a58 mach_msg_trap + 20\r\n1   libsystem_kernel.dylib          0x3b321854 mach_msg + 44\r\n2   CoreFoundation                  0x3058b846 __CFRunLoopServiceMachPort + 150\r\n3   CoreFoundation                  0x30589f6c __CFRunLoopRun + 780\r\n4   CoreFoundation                  0x304f4eba CFRunLoopRunSpecific + 518\r\n5   CoreFoundation                  0x304f4c9e CFRunLoopRunInMode + 102\r\n6   Foundation                      0x30f35082 +[NSURLConnection(Loader) _resourceLoadLoop:] + 314\r\n7   Foundation                      0x30faaa5a __NSThread__main__ + 1058\r\n8   libsystem_pthread.dylib         0x3b39d916 _pthread_body + 138\r\n9   libsystem_pthread.dylib         0x3b39d886 _pthread_start + 98\r\n10  libsystem_pthread.dylib         0x3b39baa0 thread_start + 4\r\n\r\nThread 4:\r\n0   libsystem_kernel.dylib          0x3b334c70 __workq_kernreturn + 8\r\n1   libsystem_pthread.dylib         0x3b39bbda _pthread_wqthread + 306\r\n2   libsystem_pthread.dylib         0x3b39ba94 start_wqthread + 4\r\n\r\nThread 5 name:  WebThread\r\nThread 5:\r\n0   libsystem_kernel.dylib          0x3b321a58 mach_msg_trap + 20\r\n1   libsystem_kernel.dylib          0x3b321854 mach_msg + 44\r\n2   CoreFoundation                  0x3058b846 __CFRunLoopServiceMachPort + 150\r\n3   CoreFoundation                  0x30589f6c __CFRunLoopRun + 780\r\n4   CoreFoundation                  0x304f4eba CFRunLoopRunSpecific + 518\r\n5   CoreFoundation                  0x304f4c9e CFRunLoopRunInMode + 102\r\n6   WebCore                         0x3878c1a6 RunWebThread(void*) + 414\r\n7   libsystem_pthread.dylib         0x3b39d916 _pthread_body + 138\r\n8   libsystem_pthread.dylib         0x3b39d886 _pthread_start + 98\r\n9   libsystem_pthread.dylib         0x3b39baa0 thread_start + 4\r\n\r\nThread 6 name:  JavaScriptCore::BlockFree\r\nThread 6:\r\n0   libsystem_kernel.dylib          0x3b333f2c __psynch_cvwait + 24\r\n1   libsystem_pthread.dylib         0x3b39cf22 _pthread_cond_wait + 518\r\n2   libsystem_pthread.dylib         0x3b39dda0 pthread_cond_timedwait + 40\r\n3   JavaScriptCore                  0x31522de8 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 104\r\n4   JavaScriptCore                  0x31522c18 JSC::BlockAllocator::blockFreeingThreadMain() + 88\r\n5   JavaScriptCore                  0x315202e0 WTF::wtfThreadEntryPoint(void*) + 12\r\n6   libsystem_pthread.dylib         0x3b39d916 _pthread_body + 138\r\n7   libsystem_pthread.dylib         0x3b39d886 _pthread_start + 98\r\n8   libsystem_pthread.dylib         0x3b39baa0 thread_start + 4\r\n\r\nThread 7:\r\n0   libsystem_kernel.dylib          0x3b334c70 __workq_kernreturn + 8\r\n1   libsystem_pthread.dylib         0x3b39bbda _pthread_wqthread + 306\r\n2   libsystem_pthread.dylib         0x3b39ba94 start_wqthread + 4\r\n\r\nThread 8 name:  WebCore: CFNetwork Loader\r\nThread 8:\r\n0   libsystem_kernel.dylib          0x3b321a58 mach_msg_trap + 20\r\n1   libsystem_kernel.dylib          0x3b321854 mach_msg + 44\r\n2   CoreFoundation                  0x3058b846 __CFRunLoopServiceMachPort + 150\r\n3   CoreFoundation                  0x30589f6c __CFRunLoopRun + 780\r\n4   CoreFoundation                  0x304f4eba CFRunLoopRunSpecific + 518\r\n5   CoreFoundation                  0x304f4c9e CFRunLoopRunInMode + 102\r\n6   WebCore                         0x387d4bb2 WebCore::runLoaderThread(void*) + 250\r\n7   JavaScriptCore                  0x315202e0 WTF::wtfThreadEntryPoint(void*) + 12\r\n8   libsystem_pthread.dylib         0x3b39d916 _pthread_body + 138\r\n9   libsystem_pthread.dylib         0x3b39d886 _pthread_start + 98\r\n10  libsystem_pthread.dylib         0x3b39baa0 thread_start + 4\r\n\r\nThread 9 name:  com.apple.CFSocket.private\r\nThread 9:\r\n0   libsystem_kernel.dylib          0x3b334434 __select + 20\r\n1   CoreFoundation                  0x3058f708 __CFSocketManager + 480\r\n2   libsystem_pthread.dylib         0x3b39d916 _pthread_body + 138\r\n3   libsystem_pthread.dylib         0x3b39d886 _pthread_start + 98\r\n4   libsystem_pthread.dylib         0x3b39baa0 thread_start + 4\r\n\r\nThread 10:\r\n0   libsystem_kernel.dylib          0x3b334c70 __workq_kernreturn + 8\r\n1   libsystem_pthread.dylib         0x3b39bbda _pthread_wqthread + 306\r\n2   libsystem_pthread.dylib         0x3b39ba94 start_wqthread + 4\r\n\r\nThread 11:\r\n0   libsystem_kernel.dylib          0x3b334c70 __workq_kernreturn + 8\r\n1   libsystem_pthread.dylib         0x3b39bbda _pthread_wqthread + 306\r\n2   libsystem_pthread.dylib         0x3b39ba94 start_wqthread + 4\r\n\r\nThread 12:\r\n0   libsystem_kernel.dylib          0x3b334c70 __workq_kernreturn + 8\r\n1   libsystem_pthread.dylib         0x3b39bbda _pthread_wqthread + 306\r\n2   libsystem_pthread.dylib         0x3b39ba94 start_wqthread + 4\r\n\r\nThread 13:\r\n0   libsystem_kernel.dylib          0x3b334c70 __workq_kernreturn + 8\r\n1   libsystem_pthread.dylib         0x3b39bbda _pthread_wqthread + 306\r\n2   libsystem_pthread.dylib         0x3b39ba94 start_wqthread + 4\r\n\r\nThread 14 name:  WebCore: LocalStorage\r\nThread 14:\r\n0   libsystem_kernel.dylib          0x3b333f2c __psynch_cvwait + 24\r\n1   libsystem_pthread.dylib         0x3b39cf22 _pthread_cond_wait + 518\r\n2   libsystem_pthread.dylib         0x3b39dd60 pthread_cond_wait + 36\r\n3   JavaScriptCore                  0x31522dba WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 58\r\n4   WebCore                         0x388bf0a4 WTF::PassOwnPtr<WTF::Function<void ()> > WTF::MessageQueue<WTF::Function<void ()> >::waitForMessageFilteredWithTimeout<bool (WTF::Function<void ()>*)>(WTF::MessageQueueWaitResult&, bool (&)(WTF::Function<void ()>*), double) + 104\r\n5   WebCore                         0x388bf02a WebCore::StorageThread::threadEntryPoint() + 162\r\n6   JavaScriptCore                  0x315202e0 WTF::wtfThreadEntryPoint(void*) + 12\r\n7   libsystem_pthread.dylib         0x3b39d916 _pthread_body + 138\r\n8   libsystem_pthread.dylib         0x3b39d886 _pthread_start + 98\r\n9   libsystem_pthread.dylib         0x3b39baa0 thread_start + 4\r\n```\r\n\r\nI've got to understand that the problem is when the iTunesMetadata method is called from the GMRIdentity class, which is in the libGGLCore.a\r\n\r\nDoes anyone knows how can I fix this? \r\nIs this some kind of configuration issue?"},"comment":{"url":"https://api.github.com/repos/google/gcm/issues/comments/165876116","html_url":"https://github.com/google/gcm/issues/124#issuecomment-165876116","issue_url":"https://api.github.com/repos/google/gcm/issues/124","id":165876116,"user":{"login":"mohitsharma0690","id":1913957,"avatar_url":"https://avatars.githubusercontent.com/u/1913957?v=3","gravatar_id":"","url":"https://api.github.com/users/mohitsharma0690","html_url":"https://github.com/mohitsharma0690","followers_url":"https://api.github.com/users/mohitsharma0690/followers","following_url":"https://api.github.com/users/mohitsharma0690/following{/other_user}","gists_url":"https://api.github.com/users/mohitsharma0690/gists{/gist_id}","starred_url":"https://api.github.com/users/mohitsharma0690/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohitsharma0690/subscriptions","organizations_url":"https://api.github.com/users/mohitsharma0690/orgs","repos_url":"https://api.github.com/users/mohitsharma0690/repos","events_url":"https://api.github.com/users/mohitsharma0690/events{/privacy}","received_events_url":"https://api.github.com/users/mohitsharma0690/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T19:23:55Z","updated_at":"2015-12-18T19:23:55Z","body":"I'm closing this for the lack of activity from the reporter."}}