Skip to content

AppDistribution: Fatal Exception: NSInvalidArgumentException data parameter is nil +[FIRFADApiService tryParseGoogleAPIErrorFromResponse:] #6996

Closed
@ptmt

Description

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 12.2
  • Firebase SDK version: 7.1.0
  • Installation method: Carthage
  • Firebase Component: AppDistribution

Step 2: Describe the problem

Steps to reproduce:

No exact steps to reproduce.

Supposedly users try to subscribe to in-app update notifications, but failing to do that. I have one complain, and many crashes that look like this:

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x19c4fd344 __exceptionPreprocess
1  libobjc.A.dylib                0x19c212cc0 objc_exception_throw
2  Foundation                     0x19c809344 -[_NSJSONReader init]
3  CircletEAP                     0x1023a98dc +[FIRFADApiService tryParseGoogleAPIErrorFromResponse:]
4  CircletEAP                     0x1023a9a84 +[FIRFADApiService handleReleaseResponse:response:error:]
5  CircletEAP                     0x1023a9ea0 __48+[FIRFADApiService fetchReleasesWithCompletion:]_block_invoke_2
6  CFNetwork                      0x19f79c6ec CFNetServiceBrowserSearchForServices
7  CFNetwork                      0x19f7ad3ec _CFHTTPMessageSetResponseProxyURL
8  Foundation                     0x19c8de004 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__
9  Foundation                     0x19c7e05a4 -[NSBlockOperation main]
10 Foundation                     0x19c8e0344 __NSOPERATION_IS_INVOKING_MAIN__
11 Foundation                     0x19c7e027c -[NSOperation start]
12 Foundation                     0x19c8e0d70 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__
13 Foundation                     0x19c8e0830 __NSOQSchedule_f
14 libdispatch.dylib              0x19c1abf24 _dispatch_block_async_invoke2
15 libdispatch.dylib              0x19c19f5ac _dispatch_client_callout
16 libdispatch.dylib              0x19c1a1d60 _dispatch_continuation_pop
17 libdispatch.dylib              0x19c1a14c0 _dispatch_async_redirect_invoke
18 libdispatch.dylib              0x19c1ae724 _dispatch_root_queue_drain
19 libdispatch.dylib              0x19c1aeed0 _dispatch_worker_thread2
20 libsystem_pthread.dylib        0x19c2056dc _pthread_wqthread
21 libsystem_pthread.dylib        0x19c20b9c8 start_wqthread

Crashed: com.google.firebase.crashlytics.ios.exception
0  CircletEAP                     0x1023c21e0 FIRCLSProcessRecordAllThreads + 4339900896
1  CircletEAP                     0x1023c25c4 FIRCLSProcessRecordAllThreads + 4339901892
2  CircletEAP                     0x1023b8b74 FIRCLSHandler + 4339862388
3  CircletEAP                     0x1023b46a0 __FIRCLSExceptionRecord_block_invoke + 4339844768
4  libdispatch.dylib              0x19c19f5ac _dispatch_client_callout + 20
5  libdispatch.dylib              0x19c1ac360 _dispatch_lane_barrier_sync_invoke_and_complete + 60
6  CircletEAP                     0x1023b3e38 FIRCLSExceptionRecord + 4339842616
7  CircletEAP                     0x1023b4130 FIRCLSExceptionRecordNSException + 4339843376
8  CircletEAP                     0x1023b3a18 FIRCLSTerminateHandler() + 4339841560
9  libc++abi.dylib                0x19c2b740c std::__terminate(void (*)()) + 20
10 libc++abi.dylib                0x19c2b7398 std::terminate() + 44
11 libobjc.A.dylib                0x19c212f24 _objc_terminate() + 14
12 libdispatch.dylib              0x19c19f5c0 _dispatch_client_callout + 40
13 libdispatch.dylib              0x19c1a1d60 _dispatch_continuation_pop + 408
14 libdispatch.dylib              0x19c1a14c0 _dispatch_async_redirect_invoke + 588
15 libdispatch.dylib              0x19c1ae724 _dispatch_root_queue_drain + 348
16 libdispatch.dylib              0x19c1aeed0 _dispatch_worker_thread2 + 116
17 libsystem_pthread.dylib        0x19c2056dc _pthread_wqthread + 216
18 libsystem_pthread.dylib        0x19c20b9c8 start_wqthread + 8

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions