Closed
Description
Version
4.0.1
Summary
I filed this before but don't have permission to re-open #6201 and we got a little more info. Here's the stack:
Exception doesn't match @Throws-specified class list and thus isn't propagated from Kotlin to Objective-C/Swift as NSError.
It is considered unexpected and unhandled instead. Program will be terminated.
Uncaught Kotlin exception: com.apollographql.apollo.exception.ApolloNetworkException: Failed to execute GraphQL http network request
at 0 NetworkCrash.debug.dylib 0x106878143 kfun:kotlin.Exception#<init>(kotlin.String?;kotlin.Throwable?){} + 143
at 1 NetworkCrash.debug.dylib 0x106878363 kfun:kotlin.RuntimeException#<init>(kotlin.String?;kotlin.Throwable?){} + 143
at 2 NetworkCrash.debug.dylib 0x106a9060f kfun:com.apollographql.apollo.exception.ApolloException#<init>(kotlin.String?;kotlin.Throwable?){} + 123
at 3 NetworkCrash.debug.dylib 0x106a90ad7 kfun:com.apollographql.apollo.exception.ApolloNetworkException#<init>(kotlin.String?;kotlin.Any?){} + 239
at 4 NetworkCrash.debug.dylib 0x106b3d603 kfun:com.apollographql.apollo.network.http.buildHttpResponse#internal + 731
at 5 NetworkCrash.debug.dylib 0x106b3d167 kfun:com.apollographql.apollo.network.http.AppleHttpEngine.object-1.onComplete#internal + 263
at 6 NetworkCrash.debug.dylib 0x106b792bb kfun:com.apollographql.apollo.network.http.StreamingDataDelegate.Handler.com.apollographql.apollo.network.http.StreamingDataDelegate.Handler#onComplete(platform.Foundation.NSError?){}-trampoline + 99
at 7 NetworkCrash.debug.dylib 0x106b3e3df kfun:com.apollographql.apollo.network.http.StreamingDataDelegate.URLSession#internal.3 + 311
at 8 NetworkCrash.debug.dylib 0x106b40753 _636f6d2e61706f6c6c6f6772617068716c2e61706f6c6c6f3a61706f6c6c6f2d72756e74696d652f55736572732f72756e6e65722f776f726b2f61706f6c6c6f2d6b6f746c696e2f61706f6c6c6f2d6b6f746c696e2f6c69627261726965732f61706f6c6c6f2d72756e74696d652f7372632f6170706c654d61696e2f6b6f746c696e2f636f6d2f61706f6c6c6f6772617068716c2f61706f6c6c6f2f6e6574776f726b2f687474702f44656661756c7448747470456e67696e652e6170706c652e6b74_knbridge43 + 275
at 9 CFNetwork 0x18887ee13 <redacted> + 35
at 10 libdispatch.dylib 0x10583088b _dispatch_call_block_and_release + 31
at 11 libdispatch.dylib 0x105832577 _dispatch_client_callout + 19
at 12 libdispatch.dylib 0x10583a453 _dispatch_lane_serial_drain + 839
at 13 libdispatch.dylib 0x10583b28f _dispatch_lane_invoke + 459
at 14 libdispatch.dylib 0x1058486fb _dispatch_root_queue_drain_deferred_wlh + 327
at 15 libdispatch.dylib 0x105847d0b _dispatch_workloop_worker_thread + 579
at 16 libsystem_pthread.dylib 0x21212c67f _pthread_wqthread + 287
at 17 libsystem_pthread.dylib 0x21212a473 start_wqthread + 7
None of our app's code is involved afaict. Does ApolloCall.execute
need a @Throws
annotation to keep ios from crashing?
Steps to reproduce the behavior
No response
Logs
(Your logs here)