Error map

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

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)BoxConstrai…A RenderFlex overflowed — Flutter: A RenderFlex overflowed by x pixels on the right/bottom (Flutter / Dart)A RenderFlex overfl…measured with an infinity maximum height — Jetpack Compose: Vertically scrollable component was measured with an infinity maximum height constraints, which is disallowed (Android)measured with an in…Error: Could not find the correct Provider — Flutter: Error: Could not find the correct Provider<CartModel> above this Consumer<CartModel> Widget (Flutter / Dart)Error: Could not fi…HandshakeException: CERTIFICATE_VERIFY_FAILED — Dart: HandshakeException: Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate) (Flutter / Dart)HandshakeException:…Module 'x' not found (iOS build) — Xcode: Module 'firebase_core' not found — flutter build ios fails after adding a plugin (Flutter / Dart)Module 'x' not foun…Incorrect use of ParentDataWidget — Flutter: Incorrect use of ParentDataWidget. The ParentDataWidget Expanded(flex: 1) wants to apply ParentData of type FlexParentData to a RenderObject (Flutter / Dart)Incorrect use of Pa…RenderBox was not laid out — Flutter: RenderBox was not laid out: RenderFlex#a1b2c relayoutBoundary=up2 NEEDS-PAINT — Failed assertion: 'hasSize' (Flutter / Dart)RenderBox was not l…Vertical viewport was given unbounded height — Flutter: Vertical viewport was given unbounded height. Viewports expand in the scrolling direction to fill their container (Flutter / Dart)Vertical viewport w…No Material widget found — Flutter: No Material widget found. TextField widgets require a Material widget ancestor (Flutter / Dart)No Material widget …Scaffold.of() called with a context that does not contain a Scaffold — Flutter: Scaffold.of() called with a context that does not contain a Scaffold (Flutter / Dart)Scaffold.of() calle…SocketException: Failed host lookup — Flutter: Unhandled Exception: SocketException: Failed host lookup: 'api.example.com' (OS Error: No address associated with hostname, errno = 7) (Flutter / Dart)SocketException: Fa…MissingPluginException: No implementation found for method — Flutter: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences) (Flutter / Dart)MissingPluginExcept…setState() called after dispose() — Flutter: setState() called after dispose(): _MyState#1a2b3 (lifecycle state: defunct, not mounted) (Flutter / Dart)setState() called a…Null check operator used on a null value — Dart/Flutter: Null check operator used on a null value (Flutter / Dart)Null check operator…Too many re-renders — Error: Too many re-renders. React limits the number of renders to prevent an infinite loop. (React)Too many re-rendersadb unauthorized — adb: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set (Android)adb unauthorizedno devices/emulators found — adb: no devices/emulators found / error: device not found (Android)no devices/emulator…read-only property — TypeError: Cannot assign to read only property 'x' of object (JavaScript)read-only propertyTransactionTooLargeException — android.os.TransactionTooLargeException: data parcel size x bytes (Android)TransactionTooLarge…Modifying state during view update — SwiftUI: Modifying state during view update, this will cause undefined behavior (iOS)Modifying state dur…NetworkOnMainThreadException — android.os.NetworkOnMainThreadException (Android)NetworkOnMainThread…NSURLErrorDomain Code=-1009 — Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." (iOS)NSURLErrorDomain Co…NSURLErrorDomain Code=-1001 — Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." (iOS)NSURLErrorDomain Co…PhaseScriptExecution — Xcode: Command PhaseScriptExecution failed with a nonzero exit code (iOS)PhaseScriptExecutionCocoaPods compatible versions — CocoaPods could not find compatible versions for pod (iOS)CocoaPods compatibl…CDN: trunk URL couldn't be downloaded — [!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/... (iOS)CDN: trunk URL coul…Cleartext HTTP traffic not permitted — Flutter (Android): java.io.IOException: Cleartext HTTP traffic to api.example.com not permitted (Flutter / Dart)Cleartext HTTP traf…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 …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…Dependency requires compileSdk 34 or later — Android Gradle: Execution failed for task ':app:checkDebugAarMetadata'. Dependency requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs (Flutter / Dart)Dependency requires…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…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…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…Looking up a deactivated widget's ancestor is unsafe — Flutter: Looking up a deactivated widget's ancestor is unsafe. At this point the state of the widget's element tree is no longer stable (Flutter / Dart)Looking up a deacti…FormatException: Unexpected character — Dart: FormatException: Unexpected character (at character 1) <!DOCTYPE html> — jsonDecode of an HTML page (Flutter / Dart)FormatException: Un…NetworkImageLoadException: HTTP request failed, statusCode: 404 — Flutter: Exception caught by image resource service — NetworkImageLoadException: HTTP request failed, statusCode: 404, https://example.com/a.png (Flutter / Dart)NetworkImageLoadExc…App Transport Security has blocked a cleartext HTTP load — iOS: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection (NSURLErrorDomain -1022) (Flutter / Dart)App Transport Secur…PlatformException(sign_in_failed, ApiException: 10) — Flutter: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null) (Flutter / Dart)PlatformException(s…No Firebase App '[DEFAULT]' has been created — Flutter: [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp() (Flutter / Dart)No Firebase App '[D…

Directly related (12)

A RenderFlex overflowedFlutter / Dart

Flutter: A RenderFlex overflowed by x pixels on the right/bottom

A Row or Column’s children need more space than available, so Flutter draws the yellow-black overflow stripes.

measured with an infinity maximum heightAndroid

Jetpack Compose: Vertically scrollable component was measured with an infinity maximum height constraints, which is disallowed

A LazyColumn (or verticalScroll) is placed inside another vertically scrolling container, so it gets infinite height.

Error: Could not find the correct ProviderFlutter / Dart

Flutter: Error: Could not find the correct Provider<CartModel> above this Consumer<CartModel> Widget

A widget asked Provider for an object that is not above it in the widget tree.

HandshakeException: CERTIFICATE_VERIFY_FAILEDFlutter / Dart

Dart: HandshakeException: Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate)

The app refused the server's TLS certificate because it is self-signed, expired, missing intermediates, or the device clock/CA st…

Module 'x' not found (iOS build)Flutter / Dart

Xcode: Module 'firebase_core' not found — flutter build ios fails after adding a plugin

The iOS project cannot find a CocoaPods module, usually because Pods are missing, outdated, or the workspace was not used.

Incorrect use of ParentDataWidgetFlutter / Dart

Flutter: Incorrect use of ParentDataWidget. The ParentDataWidget Expanded(flex: 1) wants to apply ParentData of type FlexParentData to a RenderObject

A widget like `Expanded`, `Flexible`, `Positioned` or `TableCell` was placed under a parent that does not support it.

RenderBox was not laid outFlutter / Dart

Flutter: RenderBox was not laid out: RenderFlex#a1b2c relayoutBoundary=up2 NEEDS-PAINT — Failed assertion: 'hasSize'

A widget was asked for its size or painted before layout finished, usually because a parent gave it unbounded or conflicting cons…

Vertical viewport was given unbounded heightFlutter / Dart

Flutter: Vertical viewport was given unbounded height. Viewports expand in the scrolling direction to fill their container

A scrollable (ListView, GridView) sits inside a parent that does not limit its height, so it tries to be infinitely tall.

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…

Scaffold.of() called with a context that does not contain a ScaffoldFlutter / Dart

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

You called `Scaffold.of(context)` (or `ScaffoldMessenger`) using the same `BuildContext` that created the Scaffold, which is abov…

SocketException: Failed host lookupFlutter / Dart

Flutter: Unhandled Exception: SocketException: Failed host lookup: 'api.example.com' (OS Error: No address associated with hostname, errno = 7)

The app could not resolve or reach the server: no internet, wrong host name, DNS failure, or missing network permission.

MissingPluginException: No implementation found for methodFlutter / Dart

Flutter: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)

Dart called a plugin's native method but the native side is not registered, usually because the app was not fully rebuilt after a…

Two steps away (27)

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.

Null check operator used on a null valueFlutter / Dart

Dart/Flutter: Null check operator used on a null value

The ! operator was applied to a variable that was null at runtime.

Too many re-rendersReact

Error: Too many re-renders. React limits the number of renders to prevent an infinite loop.

A state update runs during render, which triggers another render, which updates state again — forever.

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.

no devices/emulators foundAndroid

adb: no devices/emulators found / error: device not found

adb can’t see any connected device or running emulator.

read-only propertyJavaScript

TypeError: Cannot assign to read only property 'x' of object

Code tried to modify a frozen object, a getter-only property, or immutable state.

TransactionTooLargeExceptionAndroid

android.os.TransactionTooLargeException: data parcel size x bytes

Too much data was put into a Bundle/Intent/saved state, exceeding the ~1 MB Binder transaction buffer.

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.

NetworkOnMainThreadExceptionAndroid

android.os.NetworkOnMainThreadException

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

NSURLErrorDomain Code=-1009iOS

Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline."

URLSession couldn’t reach the network — the device is offline, the app’s cellular data is disabled, or the simulator lost network…

NSURLErrorDomain Code=-1001iOS

Error Domain=NSURLErrorDomain Code=-1001 "The request timed out."

The server didn’t respond within URLSession’s timeout (60 s default) — slow server, unreachable host on this network, or a stalle…

PhaseScriptExecutioniOS

Xcode: Command PhaseScriptExecution failed with a nonzero exit code

A Run Script build phase (CocoaPods, React Native, Flutter, SwiftLint, Crashlytics…) failed. The real error is above this line in…

CocoaPods compatible versionsiOS

CocoaPods could not find compatible versions for pod

pod install can’t satisfy the version constraints — outdated spec repo, a higher deployment target required, or two pods needing…

CDN: trunk URL couldn't be downloadediOS

[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/...

CocoaPods couldn’t reach its CDN spec repo — network/proxy issues, rate limiting, or an outdated CocoaPods.

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.

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.

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.

Dependency requires compileSdk 34 or laterFlutter / Dart

Android Gradle: Execution failed for task ':app:checkDebugAarMetadata'. Dependency requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs

A dependency was built against a newer Android API than your project's `compileSdk`.

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

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.

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.

Looking up a deactivated widget's ancestor is unsafeFlutter / Dart

Flutter: Looking up a deactivated widget's ancestor is unsafe. At this point the state of the widget's element tree is no longer stable

You used a `BuildContext` after its widget was removed from the tree — typically after an `await` when the user already navigated…

FormatException: Unexpected characterFlutter / Dart

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.

NetworkImageLoadException: HTTP request failed, statusCode: 404Flutter / Dart

Flutter: Exception caught by image resource service — NetworkImageLoadException: HTTP request failed, statusCode: 404, https://example.com/a.png

`Image.network` could not download the image (bad URL, status error, or blocked by CORS on web).

App Transport Security has blocked a cleartext HTTP loadFlutter / Dart

iOS: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection (NSURLErrorDomain -1022)

iOS blocks plain HTTP connections by default unless the domain is allowed in `Info.plist`.

PlatformException(sign_in_failed, ApiException: 10)Flutter / Dart

Flutter: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)

Google Sign-In failed on Android because the app's SHA-1 fingerprint or package name is not registered for the OAuth client.

No Firebase App '[DEFAULT]' has been createdFlutter / Dart

Flutter: [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()

A Firebase service was used before `Firebase.initializeApp()` ran and completed.