Error map
EXC_BAD_INSTRUCTION: Fatal error arithmetic overflow Thread 1: Fatal error: Arithmetic operation '255 + 1' (on type 'UInt8') results in an overflow
iOS · layer 1, On your device
Centre: this error. First ring: errors it is linked with (11). 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 (11)
Swift: Cannot convert value of type 'X' to expected argument type 'Y'
The value’s type doesn’t match what the function or property expects.
Fatal error: Unexpectedly found nil while unwrapping an Optional value
Swift force-unwrapped (`!`) an optional that was nil, crashing the app.
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.
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.
Fatal error: Index out of range
Mutating an array while looping over indices.
Crashlytics: Missing dSYM — upload dSYMs to see readable stack traces
Crash logs show addresses because dSYMs weren't uploaded.
Fatal error: Duplicate values for key: 'id'
Creating a dictionary with duplicate keys traps.
The test runner hung before establishing connection / Early unexpected exit, operation never finished bootstrapping
The test host app crashed before tests started.
Fatal error: Could not cast value of type '__NSDictionaryM' (0x1f) to 'NSArray' (0x1e)
A forced cast `as!` failed at runtime.
Fatal error: String index is out of bounds
Accessing a character past the end of a string.
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.
Two steps away (31)
AttributeError: 'X' object has no attribute 'y'
You accessed an attribute or method that doesn’t exist on that object type.
java.lang.ClassCastException: class A cannot be cast to class B
An object was cast to a type it isn’t.
TS7016: Could not find a declaration file for module 'x'. 'x.js' implicitly has an 'any' type.
The JavaScript package has no TypeScript types bundled and no @types package installed.
System.NullReferenceException: Object reference not set to an instance of an object
Code dereferenced a variable that is `null` — the .NET equivalent of Java’s NullPointerException.
TypeError: Cannot read properties of undefined (reading 'x')
You tried to access a property on a value that is `undefined` (or `null`) — usually data that hasn’t loaded yet or a wrong proper…
java.lang.NullPointerException
Code called a method or accessed a field on a reference that is `null`.
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.
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…
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…
Swift: Could not cast value of type 'X' to 'Y'
A force cast (as!) failed because the object isn’t the expected type.
Swift: 'X' is only available in iOS 16.0 or newer
You used an API that requires a newer iOS than your deployment target.
Swift: The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
A long expression (often in a SwiftUI body) has too many possible type combinations for the compiler — or hides a type error.
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.
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.
Flutter test: A Timer is still pending even after the widget tree was disposed
A widget test finished while a `Timer` or delayed `Future` was still scheduled.
Flutter test: Expected: exactly one matching candidate Actual: _TextFinder:<Found 0 widgets with text "Hello">
A widget test looked for a widget that is not currently in the tree.
You need to run a closed test with at least 12 testers for 14 days
New personal developer accounts must run a closed test before applying for production.
Dart: type 'Null' is not a subtype of type 'String' in type cast
A value that was `null` at runtime was cast or used as a non-nullable type, most often when parsing JSON.
Dart: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>' in type cast
JSON decoded to a Map but your code expected a List (or the other way round).
Dart: FormatException: Unexpected character (at character 1) <!DOCTYPE html> — jsonDecode of an HTML page
`jsonDecode` received something that is not JSON, commonly an HTML error page, an empty string, or a plain-text message.
error: bad signature 0x00000000 fatal: index file corrupt
The staging area file `.git/index` is damaged.
error: Entry 'app.js' not uptodate. Cannot merge. fatal: Merge with strategy recursive failed.
A file with uncommitted changes would be touched by the merge.
error: Entry 'x' is a directory in one branch and a file in another
The index has conflicting entries for one path.
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.