Error map

Unrecognized selector sent to instance -[UIViewController foo]: unrecognized selector sent to instance 0x600001

iOS · layer 1, On your device

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

Unrecognized selector sent to instance — -[UIViewController foo]: unrecognized selector sent to instance 0x600001 (iOS)Unrecognize…EXC_BAD_ACCESS — Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) (iOS)EXC_BAD_ACCESSNSInvalidArgumentException: attempt to insert nil object — *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil (iOS)NSInvalidArgumentEx…UICollectionViewCompositionalLayout: Invalid group/item size — NSInternalInconsistencyException: Compositional layout: invalid estimated size / group dimensions (iOS)UICollectionViewCom…EXC_BAD_ACCESS: message sent to deallocated instance — -[Foo bar]: message sent to deallocated instance 0x600000 (iOS)EXC_BAD_ACCESS: mes…NSInternalInconsistencyException: Invalid update: invalid number of rows — Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 0.' (iOS)NSInternalInconsist…Pushing the same view controller instance more than once is not supported — NSInvalidArgumentException: Pushing the same view controller instance more than once is not supported (iOS)Pushing the same vi…Modifications to the layout engine must not be performed from a background thread — Fatal Exception: NSInternalInconsistencyException — Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread (iOS)Modifications to th…Collection was mutated while being enumerated — *** Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <__NSArrayM> was mutated while being enumerated.' (iOS)Collection was muta…Argument of '#selector' refers to instance method that is not exposed to Objective-C — error: argument of '#selector' refers to instance method 'tap()' that is not exposed to Objective-C (iOS)Argument of '#selec…Background task expired / beginBackgroundTask — Background Task 123 ("Task"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination (iOS)Background task exp…AVAudioEngine: required condition is false: format.sampleRate == hwFormat.sampleRate — Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'required condition is false: format.sampleRate == hwFormat.sampleRate' (iOS)AVAudioEngine: requ…NSRangeException: index 5 beyond bounds [0 .. 2] — *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayI objectAtIndex:]: index 5 beyond bounds [0 .. 2]' (iOS)NSRangeException: i…OOMKilled — Kubernetes: OOMKilled (exit code 137) (Kubernetes)OOMKilledOutOfMemoryError — java.lang.OutOfMemoryError: Java heap space (Java)OutOfMemoryErrorMEMORY_MANAGEMENT — Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A) (Windows)MEMORY_MANAGEMENTBad state: No element — Dart: Bad state: No element — .first, .last or .single on an empty list (Flutter / Dart)Bad state: No eleme…RangeError (index): Invalid value — Dart: RangeError (index): Invalid value: Valid value range is empty: 0 (Flutter / Dart)RangeError (index):…ConcurrentModificationException while iterating — java.util.ConcurrentModificationException at java.util.ArrayList$Itr.next (Android)ConcurrentModificat…NSUnknownKeyException — NSUnknownKeyException: this class is not key value coding-compliant for the key x (iOS)NSUnknownKeyExcepti…unable to dequeue a cell with identifier — unable to dequeue a cell with identifier Cell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard (iOS)unable to dequeue a…Main Thread Checker — Main Thread Checker: UI API called on a background thread: -[UIView setNeedsLayout] (iOS)Main Thread CheckerGradle Java heap space — Gradle: Expiring Daemon because JVM heap space is exhausted / java.lang.OutOfMemoryError: Java heap space during build (Android)Gradle Java heap sp…Process completed with exit code 137 — GitHub Actions: Error: Process completed with exit code 137 (Killed — out of memory) (CI/CD)Process completed w…Container exceeded memory limit — Bitbucket Pipelines: Container 'Build' exceeded memory limit / Docker container exited with code 137 (CI/CD)Container exceeded …Index out of range — Swift: Fatal error: Index out of range (iOS)Index out of rangeAttempt to present on which is already presenting — Warning: Attempt to present <UIViewController> on <UIViewController> which is already presenting (iOS)Attempt to present …Auto Layout: ambiguous layout / has ambiguous layout — Warning once only: Detected a case where constraints ambiguously suggest a height of zero for a tableview cell's content view (iOS)Auto Layout: ambigu…Navigator operation requested with a context that does not include a Navigator — Flutter: Navigator operation requested with a context that does not include a Navigator (Flutter / Dart)Navigator operation…There are multiple heroes that share the same tag — Flutter: There are multiple heroes that share the same tag within a subtree (Flutter / Dart)There are multiple …Navigation destination ... cannot be found from the current destination — java.lang.IllegalArgumentException: Navigation action/destination com.example:id/action_home_to_detail cannot be found from the current destination Destination(com.example:id/settingsFragment) (Android)Navigation destinat…NetworkOnMainThreadException — android.os.NetworkOnMainThreadException (Android)NetworkOnMainThread…CalledFromWrongThreadException — CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views (Android)CalledFromWrongThre…ANR — ANR: Application Not Responding (Input dispatching timed out) (Android)ANRCore Data: NSManagedObjectContext was accessed from the wrong queue — CoreData: error: Serious application error. Exception was caught during Core Data change processing (iOS)Core Data: NSManage…Swift: Fatal error: Array index is out of range (mutating while iterating) — Fatal error: Index out of range (iOS)Swift: Fatal error:…Missing return in a function expected to return — error: Missing return in a function expected to return 'Int' (iOS)Missing return in a…Switch must be exhaustive — error: Switch must be exhaustive / add missing case: '.pending' (iOS)Switch must be exha…Cannot find 'x' in scope — error: Cannot find 'viewModel' in scope (iOS)Cannot find 'x' in …Unable to simultaneously satisfy constraints — Auto Layout: Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want (iOS)Unable to simultane…IllegalStateException: Not allowed to start service Intent (app is in background) — java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.example/.SyncService }: app is in background uid UidRecord{...} (Android)IllegalStateExcepti…WorkManager: Could not create Worker — androidx.work.WorkerFactory: Could not instantiate com.example.SyncWorker / NoSuchMethodException: SyncWorker.<init> [Context, WorkerParameters] (Android)WorkManager: Could …NullPointerException: Attempt to invoke virtual method on a null object reference — java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference (Android)NullPointerExceptio…UninitializedPropertyAccessException: lateinit property has not been initialized — kotlin.UninitializedPropertyAccessException: lateinit property adapter has not been initialized (Android)UninitializedProper…IndexOutOfBoundsException: Index 5 out of bounds for length 3 — java.lang.IndexOutOfBoundsException: Index: 5, Size: 3 (Android)IndexOutOfBoundsExc…fatal: bad revision 'origin/main..HEAD' — fatal: bad revision 'origin/dev..HEAD' (Git)fatal: bad revision…

Directly related (12)

EXC_BAD_ACCESSiOS

Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)

The app accessed memory it shouldn’t — a dangling pointer, released object, unsafe pointer misuse, a data race, or infinite recur…

NSInvalidArgumentException: attempt to insert nil objectiOS

*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil

nil was inserted into an NSArray/NSDictionary.

UICollectionViewCompositionalLayout: Invalid group/item sizeiOS

NSInternalInconsistencyException: Compositional layout: invalid estimated size / group dimensions

The compositional layout has invalid dimensions.

EXC_BAD_ACCESS: message sent to deallocated instanceiOS

-[Foo bar]: message sent to deallocated instance 0x600000

An object was used after being freed.

NSInternalInconsistencyException: Invalid update: invalid number of rowsiOS

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 0.'

The table or collection view data source count doesn't match its batch updates.

Pushing the same view controller instance more than once is not supportediOS

NSInvalidArgumentException: Pushing the same view controller instance more than once is not supported

The same UIViewController instance was pushed twice.

Modifications to the layout engine must not be performed from a background threadiOS

Fatal Exception: NSInternalInconsistencyException — Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread

UI was changed from a non-main thread.

Collection was mutated while being enumeratediOS

*** Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <__NSArrayM> was mutated while being enumerated.'

An array was modified during `for…in` iteration.

Argument of '#selector' refers to instance method that is not exposed to Objective-CiOS

error: argument of '#selector' refers to instance method 'tap()' that is not exposed to Objective-C

A Swift method used as a selector needs `@objc`.

Background task expired / beginBackgroundTaskiOS

Background Task 123 ("Task"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination

A background task ran too long.

AVAudioEngine: required condition is false: format.sampleRate == hwFormat.sampleRateiOS

Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'required condition is false: format.sampleRate == hwFormat.sampleRate'

An audio tap or node format doesn't match the hardware format.

NSRangeException: index 5 beyond bounds [0 .. 2]iOS

*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayI objectAtIndex:]: index 5 beyond bounds [0 .. 2]'

An Objective-C array was read past its end.

Two steps away (33)

OOMKilledKubernetes

Kubernetes: OOMKilled (exit code 137)

The container used more memory than its limit, and the kernel killed it.

OutOfMemoryErrorJava

java.lang.OutOfMemoryError: Java heap space

The JVM ran out of heap memory and garbage collection couldn’t free enough.

MEMORY_MANAGEMENTWindows

Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A)

Windows detected a severe memory-management error — commonly faulty RAM, unstable memory settings or a bad driver.

Bad state: No elementFlutter / Dart

Dart: Bad state: No element — .first, .last or .single on an empty list

You called `.first`, `.last`, `.single` or `.reduce` on an empty collection.

RangeError (index): Invalid valueFlutter / Dart

Dart: RangeError (index): Invalid value: Valid value range is empty: 0

A list or string was indexed outside its bounds, often an empty list or an off-by-one in `itemBuilder`.

ConcurrentModificationException while iteratingAndroid

java.util.ConcurrentModificationException at java.util.ArrayList$Itr.next

A collection was changed while it was being iterated.

NSUnknownKeyExceptioniOS

NSUnknownKeyException: this class is not key value coding-compliant for the key x

A storyboard/XIB has a connection to an outlet or action that no longer exists in the class (renamed or deleted), or the view’s c…

unable to dequeue a cell with identifieriOS

unable to dequeue a cell with identifier Cell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard

The table/collection view was asked for a reusable cell identifier that was never registered.

Main Thread CheckeriOS

Main Thread Checker: UI API called on a background thread: -[UIView setNeedsLayout]

UIKit was used from a background thread; UI must only be touched on the main thread.

Gradle Java heap spaceAndroid

Gradle: Expiring Daemon because JVM heap space is exhausted / java.lang.OutOfMemoryError: Java heap space during build

The Gradle daemon (or Kotlin daemon) ran out of memory compiling or dexing the project.

Process completed with exit code 137CI/CD

GitHub Actions: Error: Process completed with exit code 137 (Killed — out of memory)

The command was killed by the system with SIGKILL (128 + 9), almost always because the runner ran out of memory.

Container exceeded memory limitCI/CD

Bitbucket Pipelines: Container 'Build' exceeded memory limit / Docker container exited with code 137

A Bitbucket Pipelines step used more memory than the step allows (4 GB by default, 1 GB for service containers) and was killed.

Index out of rangeiOS

Swift: Fatal error: Index out of range

Code accessed an array index that doesn’t exist — empty arrays, off-by-one loops, or data changing while a table reloads.

Attempt to present on which is already presentingiOS

Warning: Attempt to present <UIViewController> on <UIViewController> which is already presenting

A second sheet/alert was presented while one was already visible.

Auto Layout: ambiguous layout / has ambiguous layoutiOS

Warning once only: Detected a case where constraints ambiguously suggest a height of zero for a tableview cell's content view

Constraints don't fully define the view's position or size.

Navigator operation requested with a context that does not include a NavigatorFlutter / Dart

Flutter: Navigator operation requested with a context that does not include a Navigator

`Navigator.push/pop` was called with a context above the `MaterialApp`, so no Navigator exists in the lookup path.

There are multiple heroes that share the same tagFlutter / Dart

Flutter: There are multiple heroes that share the same tag within a subtree

Two `Hero` widgets with the same tag exist on one screen during a route transition.

Navigation destination ... cannot be found from the current destinationAndroid

java.lang.IllegalArgumentException: Navigation action/destination com.example:id/action_home_to_detail cannot be found from the current destination Destination(com.example:id/settingsFragment)

The nav action isn't reachable from the destination the user is currently on.

NetworkOnMainThreadExceptionAndroid

android.os.NetworkOnMainThreadException

The app made a network call on the main (UI) thread, which Android forbids.

CalledFromWrongThreadExceptionAndroid

CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views

Background code updated a View directly; UI changes must happen on the main thread.

ANRAndroid

ANR: Application Not Responding (Input dispatching timed out)

The main thread was blocked for about 5 seconds (input) or a broadcast/service took too long, so Android showed “App isn’t respon…

Core Data: NSManagedObjectContext was accessed from the wrong queueiOS

CoreData: error: Serious application error. Exception was caught during Core Data change processing

A managed object or context was used on a different thread than it belongs to.

Swift: Fatal error: Array index is out of range (mutating while iterating)iOS

Fatal error: Index out of range

Mutating an array while looping over indices.

Missing return in a function expected to returniOS

error: Missing return in a function expected to return 'Int'

A code path in your function ends without returning a value.

Switch must be exhaustiveiOS

error: Switch must be exhaustive / add missing case: '.pending'

A `switch` doesn't cover every enum case.

Cannot find 'x' in scopeiOS

error: Cannot find 'viewModel' in scope

The name isn't visible where you use it.

Unable to simultaneously satisfy constraintsiOS

Auto Layout: Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want

Two or more Auto Layout constraints conflict; UIKit breaks one to recover and logs this message.

IllegalStateException: Not allowed to start service Intent (app is in background)Android

java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.example/.SyncService }: app is in background uid UidRecord{...}

Since Android 8 background apps can't freely start services.

WorkManager: Could not create WorkerAndroid

androidx.work.WorkerFactory: Could not instantiate com.example.SyncWorker / NoSuchMethodException: SyncWorker.<init> [Context, WorkerParameters]

WorkManager can't construct your Worker with its default factory.

NullPointerException: Attempt to invoke virtual method on a null object referenceAndroid

java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference

Code called a method on a view or object that was null, most often a findViewById that returned null.

UninitializedPropertyAccessException: lateinit property has not been initializedAndroid

kotlin.UninitializedPropertyAccessException: lateinit property adapter has not been initialized

A `lateinit var` was read before anything assigned it.

IndexOutOfBoundsException: Index 5 out of bounds for length 3Android

java.lang.IndexOutOfBoundsException: Index: 5, Size: 3

The code read a list or array position that doesn't exist.

fatal: bad revision 'origin/main..HEAD'Git

fatal: bad revision 'origin/dev..HEAD'

Git doesn't know one side of the revision range.