DrChrispoper / cocoamail

0 stars 0 forks source link

this request has been neutered - you cant call -sendResponse: twice nor after encoding it #145

Open acerier opened 7 years ago

acerier commented 7 years ago

Exception: this request has been neutered - you cant call -sendResponse: twice nor after encoding it 0 CoreFoundation exceptionPreprocess + 124 1 libobjc.A.dylib objc_exception_throw + 56 2 CoreFoundation +[NSException raise:format:] + 0 3 Foundation -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112 4 BaseBoard 40-[BSAction sendResponse:withCompletion:]_block_invoke + 144 5 libdispatch.dylib _dispatch_client_callout + 16 6 libdispatch.dylib _dispatch_barrier_sync_f_invoke + 84 7 BaseBoard -[BSAction sendResponse:withCompletion:] + 224 8 UIKit -[UIFetchContentInBackgroundAction sendResponse:] + 284 9 UIKit __91-[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:]_block_invoke_3 + 72 10 libdispatch.dylib _dispatch_call_block_and_release + 24 11 libdispatch.dylib _dispatch_client_callout + 16 12 libdispatch.dylib _dispatch_main_queue_callback_4CF + 996 13 CoreFoundation CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12 14 CoreFoundation __CFRunLoopRun + 1572 15 CoreFoundation CFRunLoopRunSpecific + 424 16 GraphicsServices GSEventRunModal + 100 17 UIKit UIApplicationMain + 208 18 CocoaMail main (main.m:14) 19 libdyld.dylib start + 4 }

Number: 1310

URL: https://dashboard.instabug.com/applications/cocoamail/beta/crashes/1310

Status: In-progress

Email:

Reported At: 2017-05-02 20:50:23 UTC

Location: Watertown, United States

Device: iPhone 6 Plus

Memory: 653.0/691.0 MB

Storage: 103.998/122.06 GB

Connectivity: Carrier: AT&T (3G), WiFi: Virgo cluster

Battery: 86, Unplugged

App Version: 1.1 (1101)

Duration: 1278

User Data: Users: Identifier:fastmail OAuth? Identifier:gmail OAuth?ya29.Gl0-BP-tti5d1Kjm1NSG7tSgAXGxMx51DI0Z05yB5vM7NOJ1fMVg4vW4zL3wBHSzZvr4fiiUg0mISNB9jVZTimJcV1KiC9WiwPty8lnRVZCUcuCxWNdvepuvQZOrWtg

Console Log:

Instabug Log:

2017-05-02 16:38:21.267 🆘 T103001 -[Account connect]_block_invoke_3  doLogin:acerier@fastmail.net failed with error = Error Domain=com.cocoasoft.cocoamail Code=9000 (null)

2017-05-02 16:38:21.268 🆘 T103001 -[Account connect]_block_invoke_3  Login Connection Error (9000), displaying Status UI

2017-05-02 16:38:21.280 🆘 T103001 -[ImapSync _loginImapServerAndUpdateFoldersAndMessages:currentFolder:isFromStart:getAll:]_block_invoke  Login attempt failed. Send ERROR CCMConnectionError to subscriber

2017-05-02 16:38:21.281 🆘 T103001 -[ImapSync _loginImapServerAndUpdateFoldersAndMessages:currentFolder:isFromStart:getAll:]_block_invoke  Login attempt failed. Send ERROR CCMConnectionError to subscriber

User Steps:

2017-05-02 16:29:07.049 Top View: ViewController

Current View: ViewController

Orientation: Portrait

Screen Size: 414x736

Density: @3x

acerier commented 7 years ago

Andy Cerier This error occurs when our Background Refresh takes too long to complete. I believe this is how iOS terminates our app. This is an defect as I need to optimize the code to complete quickly when it receives the opportunity to run in the background.