Error map

Unexpectedly found nil Fatal error: Unexpectedly found nil while unwrapping an Optional value

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.

Unexpectedly found nil — Fatal error: Unexpectedly found nil while unwrapping an Optional value (iOS)Unexpectedl…TypeError — TypeError: Cannot read properties of undefined (reading 'x') (JavaScript)TypeErrorNullPointerException — java.lang.NullPointerException (Java)NullPointerExceptionSIGABRT — Thread 1: signal SIGABRT (app crashes with "libc++abi: terminating") (iOS)SIGABRTNullReferenceException — System.NullReferenceException: Object reference not set to an instance of an object (.NET)NullReferenceExcept…0xC0000142 — The application was unable to start correctly (0xc0000142) (Windows)0xC0000142terminate called after throwing an instance of — C++: terminate called after throwing an instance of 'std::out_of_range' — what(): vector::_M_range_check (C/C++)terminate called af…dyld: Library not loaded — dyld: Library not loaded: @rpath/X.framework/X — Reason: image not found (crash on launch) (iOS)dyld: Library not l…NoSuchElementException — java.util.NoSuchElementException: No value present (Java)NoSuchElementExcept…Illegal instruction — Illegal instruction (core dumped) (SIGILL) (Linux)Illegal instructiondouble free or corruption — C/C++: free(): double free detected / double free or corruption (out) — Aborted (core dumped) (C/C++)double free or corr…0xC0000005 — The application was unable to start correctly (0xc0000005) / Exception code 0xc0000005 access violation (Windows)0xC0000005Cannot preview in this file — SwiftUI Preview: Cannot preview in this file — the preview crashed / failed to build (iOS)Cannot preview in t…TypeError: not a function — TypeError: x is not a function (JavaScript)TypeError: not a fu…ReferenceError — ReferenceError: x is not defined (JavaScript)ReferenceErrorObjects are not valid as a React child — Error: Objects are not valid as a React child (React)Objects are not val…TypeError: NoneType — TypeError: 'NoneType' object is not subscriptable (Python)TypeError: NoneTypeClassNotFoundException — java.lang.ClassNotFoundException / NoClassDefFoundError (Java)ClassNotFoundExcept…OutOfMemoryError — java.lang.OutOfMemoryError: Java heap space (Java)OutOfMemoryErrorIllegalArgumentException — java.lang.IllegalArgumentException (Java)IllegalArgumentExce…ArithmeticException — java.lang.ArithmeticException: / by zero (Java)ArithmeticExceptionUncaught Exception — Fatal error: Uncaught Exception: message in file.php:12 (PHP)Uncaught ExceptionInvalidOperationException — InvalidOperationException: Unable to resolve service for type 'X' while attempting to activate 'Y' (.NET)InvalidOperationExc…Sequence contains no elements — InvalidOperationException: Sequence contains no elements / more than one element (.NET)Sequence contains n…Call to member function on null — Fatal error: Uncaught Error: Call to a member function x() on null (PHP)Call to member func…0xC000007B — The application was unable to start correctly (0xc000007b) (Windows)0xC000007BVCRUNTIME140.dll — VCRUNTIME140.dll was not found / MSVCP140.dll is missing (Windows)VCRUNTIME140.dllSIGSEGV — Segmentation fault (core dumped) (Linux)SIGSEGVIllegalStateException — java.lang.IllegalStateException (Java)IllegalStateExcepti…recovery mode — FATAL: the database system is in recovery mode (PostgreSQL)recovery modeIndex was out of range — ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection (.NET)Index was out of ra…error while loading shared libraries — error while loading shared libraries: libX.so.N: cannot open shared object file: No such file or directory (Linux)error while loading…Stack overflow — .NET: Stack overflow. / Process is terminated due to StackOverflowException (.NET)Stack overflowEXC_BAD_ACCESS — Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) (iOS)EXC_BAD_ACCESSAccessDeniedException — java.nio.file.AccessDeniedException: /path (Java)AccessDeniedExcepti…Unable to cast object of type — System.InvalidCastException: Unable to cast object of type 'X' to type 'Y' (.NET)Unable to cast obje…exec format error — exec /usr/local/bin/docker-entrypoint.sh: exec format error (Docker)exec format errorno matching manifest — no matching manifest for linux/arm64/v8 in the manifest list entries (Docker)no matching manifestcannot execute binary file — cannot execute binary file: Exec format error (Linux)cannot execute bina…OOMKilled — Kubernetes: OOMKilled (exit code 137) (Kubernetes)OOMKilledMEMORY_MANAGEMENT — Blue Screen: MEMORY_MANAGEMENT (Stop code 0x0000001A) (Windows)MEMORY_MANAGEMENTOOM killer — Killed / Out of memory: Killed process (Linux OOM killer) (Linux)OOM killerheap out of memory — FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory (Node.js)heap out of memoryinvalid string length — RangeError: Invalid string length (JavaScript)invalid string leng…MaxListenersExceededWarning — MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 listeners added (Node.js)MaxListenersExceede…Modifying state during view update — SwiftUI: Modifying state during view update, this will cause undefined behavior (iOS)Modifying state dur…Publishing changes from background threads — SwiftUI: Publishing changes from background threads is not allowed; make sure to publish values from the main thread (iOS)Publishing changes …Signing requires a development team — Signing for "App" requires a development team. Select a development team in the Signing & Capabilities editor (iOS)Signing requires a …

Directly related (12)

TypeErrorJavaScript

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…

NullPointerExceptionJava

java.lang.NullPointerException

Code called a method or accessed a field on a reference that is `null`.

SIGABRTiOS

Thread 1: signal SIGABRT (app crashes with "libc++abi: terminating")

The app deliberately aborted — an uncaught exception, failed assertion or fatalError. The console above the crash has the real me…

NullReferenceException.NET

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.

0xC0000142Windows

The application was unable to start correctly (0xc0000142)

A DLL the program loads failed to initialise — often after an update, with corrupt runtimes, or when a desktop heap/session limit…

terminate called after throwing an instance ofC/C++

C++: terminate called after throwing an instance of 'std::out_of_range' — what(): vector::_M_range_check

A C++ exception wasn’t caught anywhere, so std::terminate aborted the program. what() tells you the reason.

dyld: Library not loadediOS

dyld: Library not loaded: @rpath/X.framework/X — Reason: image not found (crash on launch)

A dynamic framework the app needs at runtime isn’t embedded in the app bundle, so it crashes at launch.

NoSuchElementExceptionJava

java.util.NoSuchElementException: No value present

Code asked for an element that doesn’t exist — Optional.get() on empty, iterator.next() past the end, Scanner with no input.

Illegal instructionLinux

Illegal instruction (core dumped) (SIGILL)

The program used a CPU instruction your processor doesn’t support — typically AVX/AVX2 in prebuilt binaries (TensorFlow, MongoDB…

double free or corruptionC/C++

C/C++: free(): double free detected / double free or corruption (out) — Aborted (core dumped)

Memory was freed twice or the heap was corrupted (buffer overflow, freeing a non-heap pointer), so glibc aborted the program.

0xC0000005Windows

The application was unable to start correctly (0xc0000005) / Exception code 0xc0000005 access violation

A program tried to read or write memory it doesn’t own and Windows stopped it — buggy software, bad drivers/plugins, security sof…

Cannot preview in this fileiOS

SwiftUI Preview: Cannot preview in this file — the preview crashed / failed to build

Xcode Previews couldn’t build or run the view — compile errors elsewhere, a crash in preview data, or preview-specific environmen…

Two steps away (35)

TypeError: not a functionJavaScript

TypeError: x is not a function

You called something as a function, but its value is not a function (it’s undefined, a string, an object…).

ReferenceErrorJavaScript

ReferenceError: x is not defined

Code refers to a variable or function name that doesn’t exist in the current scope.

Objects are not valid as a React childReact

Error: Objects are not valid as a React child

You tried to render a plain object (or a Promise/Date) directly in JSX; React can only render strings, numbers, elements and arra…

TypeError: NoneTypePython

TypeError: 'NoneType' object is not subscriptable

You used `[ ]` on a value that is `None` — typically a function that returned nothing.

ClassNotFoundExceptionJava

java.lang.ClassNotFoundException / NoClassDefFoundError

The JVM couldn’t find a class on the classpath at runtime.

OutOfMemoryErrorJava

java.lang.OutOfMemoryError: Java heap space

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

IllegalArgumentExceptionJava

java.lang.IllegalArgumentException

A method rejected an argument value as invalid.

ArithmeticExceptionJava

java.lang.ArithmeticException: / by zero

Integer division or modulo by zero.

Uncaught ExceptionPHP

Fatal error: Uncaught Exception: message in file.php:12

An exception was thrown and nothing caught it, so PHP stopped the script.

InvalidOperationException.NET

InvalidOperationException: Unable to resolve service for type 'X' while attempting to activate 'Y'

ASP.NET Core’s dependency injection container can’t build Y because one of its constructor dependencies (X) was never registered.

Sequence contains no elements.NET

InvalidOperationException: Sequence contains no elements / more than one element

LINQ `First()`, `Single()`, `Last()` or `Max()` ran on an empty sequence (or `Single()` found several items).

Call to member function on nullPHP

Fatal error: Uncaught Error: Call to a member function x() on null

Code called a method on a variable that is null instead of an object.

0xC000007BWindows

The application was unable to start correctly (0xc000007b)

A program loaded a DLL of the wrong architecture (32-bit vs 64-bit) or a corrupted runtime library.

VCRUNTIME140.dllWindows

VCRUNTIME140.dll was not found / MSVCP140.dll is missing

The program needs the Microsoft Visual C++ 2015–2022 Redistributable, which isn’t installed (or is damaged).

SIGSEGVLinux

Segmentation fault (core dumped)

A program accessed memory it wasn’t allowed to, and the kernel killed it with SIGSEGV (exit code 139).

IllegalStateExceptionJava

java.lang.IllegalStateException

A method was called when the object wasn’t in the right state for it.

recovery modePostgreSQL

FATAL: the database system is in recovery mode

PostgreSQL crashed (often OOM-killed) and is replaying WAL to recover.

Index was out of range.NET

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).

error while loading shared librariesLinux

error while loading shared libraries: libX.so.N: cannot open shared object file: No such file or directory

The program needs a shared library (.so) that isn’t installed or isn’t on the loader’s search path.

Stack overflow.NET

.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.

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…

AccessDeniedExceptionJava

java.nio.file.AccessDeniedException: /path

The OS denied a file operation to the Java process.

Unable to cast object of type.NET

System.InvalidCastException: Unable to cast object of type 'X' to type 'Y'

An explicit cast failed because the object’s runtime type isn’t the target type.

exec format errorDocker

exec /usr/local/bin/docker-entrypoint.sh: exec format error

The container tried to run a binary built for a different CPU architecture (arm64 vs amd64) — or a script with a broken shebang /…

no matching manifestDocker

no matching manifest for linux/arm64/v8 in the manifest list entries

The image has no build for your CPU architecture — typically pulling an amd64-only image on an Apple Silicon Mac or ARM server.

cannot execute binary fileLinux

cannot execute binary file: Exec format error

The program was built for a different CPU architecture or OS — e.g. an x86_64 binary on an ARM machine (Raspberry Pi, Graviton, A…

OOMKilledKubernetes

Kubernetes: OOMKilled (exit code 137)

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

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.

OOM killerLinux

Killed / Out of memory: Killed process (Linux OOM killer)

The kernel ran out of memory and killed a process to recover — the program just prints “Killed” (exit code 137).

heap out of memoryNode.js

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

The V8 heap hit its limit — a large build (webpack, tsc, Next.js) needs more memory, or the app leaks.

invalid string lengthJavaScript

RangeError: Invalid string length

A string grew beyond the engine’s maximum length — usually runaway concatenation or huge JSON.stringify output.

MaxListenersExceededWarningNode.js

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 listeners added

More than 10 listeners were added to one event — often a leak where listeners are added repeatedly.

Modifying state during view updateiOS

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.

Publishing changes from background threadsiOS

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.

Signing requires a development teamiOS

Signing for "App" requires a development team. Select a development team in the Signing & Capabilities editor

No Apple developer team is selected for the target, so Xcode can’t sign the app.