Error map

Test crashed with signal / Test host failed to launch The test runner hung before establishing connection / Early unexpected exit, operation never finished bootstrapping

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.

Test crashed with signal / Test host failed to launch — The test runner hung before establishing connection / Early unexpected exit, operation never finished bootstrapping (iOS)Test crashe…A Timer is still pending even after the widget tree was disposed — Flutter test: A Timer is still pending even after the widget tree was disposed (Flutter / Dart)A Timer is still pe…Expected: exactly one matching candidate, Actual: found 0 widgets — Flutter test: Expected: exactly one matching candidate Actual: _TextFinder:<Found 0 widgets with text "Hello"> (Flutter / Dart)Expected: exactly o…Core 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…EXC_BAD_INSTRUCTION: Fatal error arithmetic overflow — Thread 1: Fatal error: Arithmetic operation '255 + 1' (on type 'UInt8') results in an overflow (iOS)EXC_BAD_INSTRUCTION…EXC_BAD_ACCESS: message sent to deallocated instance — -[Foo bar]: message sent to deallocated instance 0x600000 (iOS)EXC_BAD_ACCESS: mes…AmbiguousViewMatcherException: matches multiple views — androidx.test.espresso.AmbiguousViewMatcherException: 'with id: com.example:id/title' matches multiple views in the hierarchy (Android)AmbiguousViewMatche…INSTRUMENTATION_FAILED: Unable to find instrumentation info — android.util.AndroidException: INSTRUMENTATION_FAILED: com.example.test/androidx.test.runner.AndroidJUnitRunner (Android)INSTRUMENTATION_FAI…Crash report not symbolicated (missing dSYM) — Crashlytics: Missing dSYM — upload dSYMs to see readable stack traces (iOS)Crash report not sy…Unable to boot the Simulator / Failed to boot simulator — Unable to boot device because it cannot be located on disk / Domain=NSPOSIXErrorDomain Code=60 Operation timed out (iOS)Unable to boot the …App Review Guideline 2.1: App Completeness — Guideline 2.1 - Performance - App Completeness: We discovered one or more bugs in your app (iOS)App Review Guidelin…UI Testing Failure: Failed to launch / Timed out waiting for UI — XCTestCase failed: "Failed to get matching snapshot: Unable to find hit point for element" (iOS)UI Testing Failure:…Method not mocked in local unit test — java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked. (Android)Method not mocked i…setState() called after dispose() — Flutter: setState() called after dispose(): _MyState#1a2b3 (lifecycle state: defunct, not mounted) (Flutter / Dart)setState() called a…BoxConstraints forces an infinite width — Flutter: BoxConstraints forces an infinite width. These invalid constraints were provided to RenderStack's layout() function (TextField in a Row) (Flutter / Dart)BoxConstraints forc…Cleartext HTTP traffic not permitted — Flutter (Android): java.io.IOException: Cleartext HTTP traffic to api.example.com not permitted (Flutter / Dart)Cleartext HTTP traf…No Material widget found — Flutter: No Material widget found. TextField widgets require a Material widget ancestor (Flutter / Dart)No Material widget …MediaQuery.of() called with a context that does not contain a MediaQuery — Flutter: MediaQuery.of() called with a context that does not contain a MediaQuery (Flutter / Dart)MediaQuery.of() cal…Android license status unknown / licenses not accepted — flutter doctor: Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses (Flutter / Dart)Android license sta…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)ANRUnexpectedly found nil — Fatal error: Unexpectedly found nil while unwrapping an Optional value (iOS)Unexpectedly found …Index out of range — Swift: Fatal error: Index out of range (iOS)Index out of rangeCannot convert value of type — Swift: Cannot convert value of type 'X' to expected argument type 'Y' (iOS)Cannot convert valu…Gradle 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…EXC_BAD_ACCESS — Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) (iOS)EXC_BAD_ACCESSProcess completed with exit code 137 — GitHub Actions: Error: Process completed with exit code 137 (Killed — out of memory) (CI/CD)Process completed w…RecyclerView: Inconsistency detected. Invalid item position — java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 4(offset:4).state:10 (Android)RecyclerView: Incon…Play Console: 12 testers for 14 days before production — You need to run a closed test with at least 12 testers for 14 days (Android)Play Console: 12 te…NoMatchingViewException: No views in hierarchy found matching — androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: with id: com.example:id/submit (Android)NoMatchingViewExcep…adb unauthorized — adb: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set (Android)adb unauthorizedINSTALL_FAILED_VERSION_DOWNGRADE — Failure [INSTALL_FAILED_VERSION_DOWNGRADE] (Android)INSTALL_FAILED_VERS…INSTALL_FAILED_DUPLICATE_PERMISSION — Failure [INSTALL_FAILED_DUPLICATE_PERMISSION perm=com.example.permission.C2D_MESSAGE pkg=com.example.old] (Android)INSTALL_FAILED_DUPL…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…built for iOS, linking for simulator — Building for iOS Simulator, but linking in object file built for iOS, for architecture arm64 (iOS)built for iOS, link…Failed to prepare device for development — Xcode: Failed to prepare device for development / iPhone is not available. Please reconnect the device (iOS)Failed to prepare d…integrity could not be verified — Unable to Install "App": This app cannot be installed because its integrity could not be verified (iOS)integrity could not…SwiftData: Failed to create ModelContainer — Fatal error: Could not create ModelContainer: SwiftDataError(_error: SwiftData.SwiftDataError._Error.loadIssueModelContainer) (iOS)SwiftData: Failed t…SwiftUI: No ObservableObject of type X found — Fatal error: No ObservableObject of type SessionStore found. A View.environmentObject(_:) for SessionStore may be missing as an ancestor of this view. (iOS)SwiftUI: No Observa…Guideline 5.1.1: Data Collection and Storage — Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage: purpose string does not clearly describe use (iOS)Guideline 5.1.1: Da…Module with the Main dispatcher is missing — IllegalStateException: Module with the Main dispatcher had failed to initialize. For tests Dispatchers.setMain from kotlinx-coroutines-test module can be used (Android)Module with the Mai…

Directly related (12)

A Timer is still pending even after the widget tree was disposedFlutter / Dart

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.

Expected: exactly one matching candidate, Actual: found 0 widgetsFlutter / Dart

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.

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.

EXC_BAD_INSTRUCTION: Fatal error arithmetic overflowiOS

Thread 1: Fatal error: Arithmetic operation '255 + 1' (on type 'UInt8') results in an overflow

Swift traps on integer overflow instead of wrapping.

EXC_BAD_ACCESS: message sent to deallocated instanceiOS

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

An object was used after being freed.

AmbiguousViewMatcherException: matches multiple viewsAndroid

androidx.test.espresso.AmbiguousViewMatcherException: 'with id: com.example:id/title' matches multiple views in the hierarchy

More than one view matches the Espresso matcher.

INSTRUMENTATION_FAILED: Unable to find instrumentation infoAndroid

android.util.AndroidException: INSTRUMENTATION_FAILED: com.example.test/androidx.test.runner.AndroidJUnitRunner

The test APK can't start the instrumentation on the device.

Crash report not symbolicated (missing dSYM)iOS

Crashlytics: Missing dSYM — upload dSYMs to see readable stack traces

Crash logs show addresses because dSYMs weren't uploaded.

Unable to boot the Simulator / Failed to boot simulatoriOS

Unable to boot device because it cannot be located on disk / Domain=NSPOSIXErrorDomain Code=60 Operation timed out

The iOS Simulator device can't start.

App Review Guideline 2.1: App CompletenessiOS

Guideline 2.1 - Performance - App Completeness: We discovered one or more bugs in your app

Review found crashes or broken features.

UI Testing Failure: Failed to launch / Timed out waiting for UIiOS

XCTestCase failed: "Failed to get matching snapshot: Unable to find hit point for element"

An XCUITest couldn't interact with the element.

Method not mocked in local unit testAndroid

java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked.

A plain JUnit test calls an Android framework API that only exists on a device.

Two steps away (31)

setState() called after dispose()Flutter / Dart

Flutter: setState() called after dispose(): _MyState#1a2b3 (lifecycle state: defunct, not mounted)

An async callback (network, timer, stream) finished after the widget was removed and then called setState.

BoxConstraints forces an infinite widthFlutter / Dart

Flutter: BoxConstraints forces an infinite width. These invalid constraints were provided to RenderStack's layout() function (TextField in a Row)

A widget that needs a finite width, like a `TextField` or `Container` with no size, was placed where the parent offers unlimited…

Cleartext HTTP traffic not permittedFlutter / Dart

Flutter (Android): java.io.IOException: Cleartext HTTP traffic to api.example.com not permitted

Android 9+ blocks plain `http://` requests by default; the app must use HTTPS or explicitly allow cleartext for that host.

No Material widget foundFlutter / Dart

Flutter: No Material widget found. TextField widgets require a Material widget ancestor

A Material-design widget (TextField, ListTile, InkWell, Chip) was placed outside a `Scaffold`, `Material` or `Card`, so it has no…

MediaQuery.of() called with a context that does not contain a MediaQueryFlutter / Dart

Flutter: MediaQuery.of() called with a context that does not contain a MediaQuery

Code asked for screen size or theme data using a context that has no MediaQuery ancestor, usually above or outside `MaterialApp`.

Android license status unknown / licenses not acceptedFlutter / Dart

flutter doctor: Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses

The Android SDK licenses have not been accepted, so builds cannot download or use SDK components.

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…

Unexpectedly found niliOS

Fatal error: Unexpectedly found nil while unwrapping an Optional value

Swift force-unwrapped (`!`) an optional that was nil, crashing the app.

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.

Cannot convert value of typeiOS

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.

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.

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…

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.

RecyclerView: Inconsistency detected. Invalid item positionAndroid

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.

Play Console: 12 testers for 14 days before productionAndroid

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.

NoMatchingViewException: No views in hierarchy found matchingAndroid

androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: with id: com.example:id/submit

An Espresso test looked for a view that isn't on screen yet.

adb unauthorizedAndroid

adb: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set

The phone hasn’t accepted your computer’s RSA key for USB debugging yet.

INSTALL_FAILED_VERSION_DOWNGRADEAndroid

Failure [INSTALL_FAILED_VERSION_DOWNGRADE]

You are installing an APK with a lower versionCode than the one on the device.

INSTALL_FAILED_DUPLICATE_PERMISSIONAndroid

Failure [INSTALL_FAILED_DUPLICATE_PERMISSION perm=com.example.permission.C2D_MESSAGE pkg=com.example.old]

Another installed app already declares the same custom permission.

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.

built for iOS, linking for simulatoriOS

Building for iOS Simulator, but linking in object file built for iOS, for architecture arm64

A library contains device-only arm64 code; Apple Silicon simulators also run arm64 and need a separate simulator slice.

Failed to prepare device for developmentiOS

Xcode: Failed to prepare device for development / iPhone is not available. Please reconnect the device

Xcode couldn’t set up the device — usually the device’s iOS version is newer than Xcode supports, Developer Mode is off, or pairi…

integrity could not be verifiediOS

Unable to Install "App": This app cannot be installed because its integrity could not be verified

iOS rejected the app because its signature doesn’t validate for this device — expired/revoked certificate, ad-hoc profile without…

SwiftData: Failed to create ModelContaineriOS

Fatal error: Could not create ModelContainer: SwiftDataError(_error: SwiftData.SwiftDataError._Error.loadIssueModelContainer)

SwiftData can't create or open the store.

SwiftUI: No ObservableObject of type X foundiOS

Fatal error: No ObservableObject of type SessionStore found. A View.environmentObject(_:) for SessionStore may be missing as an ancestor of this view.

A view reads an `@EnvironmentObject` that no parent provided.

Guideline 5.1.1: Data Collection and StorageiOS

Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage: purpose string does not clearly describe use

Review rejected vague permission descriptions or required account deletion.

Module with the Main dispatcher is missingAndroid

IllegalStateException: Module with the Main dispatcher had failed to initialize. For tests Dispatchers.setMain from kotlinx-coroutines-test module can be used

`Dispatchers.Main` was used in a unit test without a test dispatcher.