Error map
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 · layer 1, On your device
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.
Directly related (12)
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.
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.
NSInternalInconsistencyException: Compositional layout: invalid estimated size / group dimensions
The compositional layout has invalid dimensions.
-[UIViewController foo]: unrecognized selector sent to instance 0x600001
A message was sent to an object that doesn't implement it.
Fatal: Fatal: Diffable data source detected duplicate identifiers for items
Snapshot item identifiers must be unique.
Crashlytics: Missing dSYM — upload dSYMs to see readable stack traces
Crash logs show addresses because dSYMs weren't uploaded.
NSInvalidArgumentException: Pushing the same view controller instance more than once is not supported
The same UIViewController instance was pushed twice.
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.
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.
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.
Warning: Attempt to present <UIViewController> on <UIViewController> which is already presenting
A second sheet/alert was presented while one was already visible.
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.
Two steps away (32)
App Transport Security has blocked a cleartext HTTP resource load
iOS blocked an `http://` request (or a weak-TLS HTTPS one) because App Transport Security requires secure connections.
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…
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.
Fatal error: Unexpectedly found nil while unwrapping an Optional value
Swift force-unwrapped (`!`) an optional that was nil, crashing the app.
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection
Code accessed a List/collection position that doesn’t exist (IndexOutOfRangeException for arrays).
.NET: Stack overflow. / Process is terminated due to StackOverflowException
Infinite or very deep recursion exhausted the thread’s stack; .NET can’t catch it and terminates the process.
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.
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…
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`.
*** 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.
ForEach<Array<Item>, String, Text>: the ID abc occurs multiple times within the collection, this will give undefined results!
ForEach items share the same id.
Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value: self.label
An outlet was used before the view loaded or isn't connected.
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.
kotlin.UninitializedPropertyAccessException: lateinit property adapter has not been initialized
A `lateinit var` was read before anything assigned it.
java.lang.IndexOutOfBoundsException: Index: 5, Size: 3
The code read a list or array position that doesn't exist.
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.
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.
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.
android.os.NetworkOnMainThreadException
The app made a network call on the main (UI) thread, which Android forbids.
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.
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…
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.
androidx.work.WorkerFactory: Could not instantiate com.example.SyncWorker / NoSuchMethodException: SyncWorker.<init> [Context, WorkerParameters]
WorkManager can't construct your Worker with its default factory.
WM-WorkerWrapper: Work [ id=… ] was cancelled / state ENQUEUED
A scheduled task stays enqueued and doesn't execute.
java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 4(offset:4).state:10
The adapter's data changed without the right notify call while RecyclerView was laying out.
java.lang.ClassCastException: android.widget.Button cannot be cast to android.widget.TextView
A view id in the layout is a different widget type than the one the code expects.
android.view.InflateException: Binary XML file line #12 in com.example:layout/activity_main: Binary XML file line #12: Error inflating class androidx.constraintlayout.widget.ConstraintLayout
A layout file couldn't be inflated, usually because a class or attribute inside is wrong.
SwiftUI: Modifying state during view update, this will cause undefined behavior
A @State/@Published value was changed while SwiftUI was computing a view’s body.
SwiftUI: Publishing changes from background threads is not allowed; make sure to publish values from the main thread
An ObservableObject’s @Published property was updated from a background thread.
error: 'Observable()' is only available in iOS 17.0 or newer
The Observation framework needs iOS 17.
(behavior) GeometryReader collapses or fills the whole screen
GeometryReader takes all offered space and has no intrinsic size.
(behavior) black screen after removing SceneDelegate or storyboard
No window/root view controller is set after launch changes.