question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[IOS] Fatal Exception: NSRangeException taskDictFromRecordArray

See original GitHub issue

I am getting this crash into production:

Fatal Exception: NSRangeException
*** -[__NSArrayM objectAtIndex:]: index 9223372036854775807 beyond bounds [0 .. 11]
-[FlutterDownloaderPlugin taskDictFromRecordArray:]
Fatal Exception: NSRangeException
0  CoreFoundation                 0x1bd4e7180 __exceptionPreprocess
1  libobjc.A.dylib                0x1bc6bf9f8 objc_exception_throw
2  CoreFoundation                 0x1bd460bec _CFArgv
3  CoreFoundation                 0x1bd3d2644 _CFDataInit
4  Runner                         0x10074a234 -[FlutterDownloaderPlugin taskDictFromRecordArray:] + 472 (FlutterDownloaderPlugin.m:472)
5  Runner                         0x10074a0d0 -[FlutterDownloaderPlugin loadTaskWithId:] + 460 (FlutterDownloaderPlugin.m:460)
6  Runner                         0x10074dc60 -[FlutterDownloaderPlugin URLSession:task:didCompleteWithError:] + 864 (FlutterDownloaderPlugin.m:864)
7  CFNetwork                      0x1bdc6b420 __51-[NSURLSession delegate_task:didCompleteWithError:]_block_invoke.182
8  Foundation                     0x1bdf4ccf4 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__
9  Foundation                     0x1bde58d90 -[NSBlockOperation main]
10 Foundation                     0x1bde58278 -[__NSOperationInternal _start:]
11 Foundation                     0x1bdf4ea78 __NSOQSchedule_f
12 libdispatch.dylib              0x1bcf24a38 _dispatch_call_block_and_release
13 libdispatch.dylib              0x1bcf257d4 _dispatch_client_callout
14 libdispatch.dylib              0x1bceca01c _dispatch_continuation_pop$VARIANT$mp
15 libdispatch.dylib              0x1bcec96e0 _dispatch_async_redirect_invoke
16 libdispatch.dylib              0x1bced6030 _dispatch_root_queue_drain
17 libdispatch.dylib              0x1bced68d4 _dispatch_worker_thread2
18 libsystem_pthread.dylib        0x1bd1061b4 _pthread_wqthread
19 libsystem_pthread.dylib        0x1bd108cd4 start_wqthread

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
bartekpaciacommented, Jul 31, 2022

This was fixed.

0reactions
PrzeszafBrightHRcommented, Dec 14, 2021

Any update on that?

Read more comments on GitHub >

github_iconTop Results From Across the Web

IOS:Fatal Exception: NSRangeException - Stack Overflow
We reproduced on an iOS11 iPhone 6S by changing the user's calendar to Buddhist. For some reason the app would crash if we...
Read more >
NSRangeException in saving dictionary? - Apple Developer
Our crash monitoring shows this is generating a 'NSRangeException' crash for some players. The crash log is below. ... Fatal Exception: NSRangeException.
Read more >
iOS DAI Fatal Exception - Google Groups
Our app has been getting these types of crashes since the 3.12.0 that required a view controller as an initialization argument for IMAAdDisplayContainer....
Read more >
Crash on iOS v13 or above - Unity Forum
Seems like, it is related to Game Center. Unity v2017.4.29f1 iOS 13 UnityAppController.mm line 171... ... Fatal Exception: NSRangeException
Read more >
NSRangeException after reloading scene on iOS (Unity)
... after reloading scene with ARCamera app crashes with error: *** Terminating app due to uncaught exception 'NSRangeException', ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found