Error map

CompositionLocal not present java.lang.IllegalStateException: CompositionLocal LocalNavController not present

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

CompositionLocal not present — java.lang.IllegalStateException: CompositionLocal LocalNavController not present (Android)Composition…IllegalStateException — java.lang.IllegalStateException (Java)IllegalStateExcepti…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…setState() or markNeedsBuild() called during build — Flutter: setState() or markNeedsBuild() called during build. This widget cannot be marked as needing to build because the framework is already in the process of building widgets (Flutter / Dart)setState() or markN…TransactionTooLargeException — android.os.TransactionTooLargeException: data parcel size x bytes (Android)TransactionTooLarge…Coil: ImageRequest failed / SuccessResult expected — coil.request.ErrorResult: java.net.UnknownHostException (Android)Coil: ImageRequest …Compose: click area wrong / Modifier order has no effect — (behavior) clickable ignored after clip / padding before background (Android)Compose: click area…State lost on rotation / activity recreated — (behavior) Activity restarts on rotation and fields reset (Android)State lost on rotat…AsyncImage stuck on placeholder in Compose — (behavior) Coil AsyncImage never replaces the placeholder (Android)AsyncImage stuck on…Compose Compiler requires a different Kotlin version — This version (1.5.3) of the Compose Compiler requires Kotlin version 1.9.10 but you appear to be using Kotlin version 1.9.0 (Android)Compose Compiler re…Compose: Reading a state in the wrong scope / infinite recomposition — Compose Runtime: Detected infinite recomposition loop / state read during composition (Android)Compose: Reading a …LazyColumn: Key was already used — java.lang.IllegalArgumentException: Key "42" was already used. If you are using LazyColumn/Row please make sure you provide a unique key for each item. (Android)LazyColumn: Key was…Compose preview: Render problem / failed to instantiate — Failed to instantiate one or more classes / java.lang.NoSuchMethodError in Compose preview (Android)Compose preview: Re…409 — HTTP 409 Conflict (HTTP)409IllegalArgumentException — java.lang.IllegalArgumentException (Java)IllegalArgumentExce…ArithmeticException — java.lang.ArithmeticException: / by zero (Java)ArithmeticExceptionread-only property — TypeError: Cannot assign to read only property 'x' of object (JavaScript)read-only propertyModifying state during view update — SwiftUI: Modifying state during view update, this will cause undefined behavior (iOS)Modifying state dur…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…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…Cleartext HTTP traffic not permitted — Flutter (Android): java.io.IOException: Cleartext HTTP traffic to api.example.com not permitted (Flutter / Dart)Cleartext HTTP traf…Too many re-renders — Error: Too many re-renders. React limits the number of renders to prevent an infinite loop. (React)Too many re-rendersuncontrolled to controlled — Warning: A component is changing an uncontrolled input to be controlled (React)uncontrolled to con…setState during render — Warning: Cannot update a component (`Parent`) while rendering a different component (`Child`) (React)setState during ren…RPC failed — error: RPC failed; HTTP 400 curl 22 / curl 92 HTTP/2 stream was not closed cleanly — the remote end hung up unexpectedly (Git)RPC failedCould not resolve host — fatal: unable to access 'https://github.com/…': Could not resolve host: github.com (Git)Could not resolve h…port 22 timed out — ssh: connect to host github.com port 22: Connection timed out (Git)port 22 timed outCalledFromWrongThreadException — CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views (Android)CalledFromWrongThre…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…A RenderFlex overflowed — Flutter: A RenderFlex overflowed by x pixels on the right/bottom (Flutter / Dart)A RenderFlex overfl…Can not perform this action after onSaveInstanceState — IllegalStateException: Can not perform this action after onSaveInstanceState (fragment transaction) (Android)Can not perform thi…Fragment not attached to a context — IllegalStateException: Fragment x not attached to a context / not attached to an activity (Android)Fragment not attach…A Ticker was active when the State was disposed — Flutter: _HomeState#abc(ticker active) was disposed with an active Ticker. State.dispose() implementations must call dispose() on all their AnimationControllers (Flutter / Dart)A Ticker was active…OutOfMemoryError: Failed to allocate a bitmap allocation — java.lang.OutOfMemoryError: Failed to allocate a 33177616 byte allocation with 16777216 free bytes (Android)OutOfMemoryError: F…No ViewModelStoreOwner was provided via LocalViewModelStoreOwner — java.lang.IllegalStateException: No ViewModelStoreOwner was provided via LocalViewModelStoreOwner (Android)No ViewModelStoreOw…Glide: Load failed for URL with class GlideException — com.bumptech.glide.load.engine.GlideException: Failed to load resource (Android)Glide: Load failed …android:attr/lStar not found — AAPT: error: resource android:attr/lStar not found (Android)android:attr/lStar …Android resource linking failed — AAPT: error: resource x (aka y) not found — Android resource linking failed (Android)Android resource li…incompatible version of Kotlin — Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.0.0, expected version is 1.8.0 (Android)incompatible versio…Compose TextField cursor jumps to start / text resets — (behavior) TextField loses cursor position when state updates asynchronously (Android)Compose TextField c…LaunchedEffect runs on every recomposition — (behavior) LaunchedEffect(Unit) re-launches / key changes each time (Android)LaunchedEffect runs…Compose: parameter is unstable, composable not skippable — (compiler report) unstable class List<String> prevents skipping (Android)Compose: parameter …IndexOutOfBoundsException: Index 5 out of bounds for length 3 — java.lang.IndexOutOfBoundsException: Index: 5, Size: 3 (Android)IndexOutOfBoundsExc…RecyclerView: Inconsistency detected. Invalid item position — java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 4(offset:4).state:10 (Android)RecyclerView: Incon…Play Console: You uploaded an APK signed with the wrong key — Your Android App Bundle is signed with the wrong key. Ensure that your App Bundle is signed with the correct signing key and try again. (Android)Play Console: You u…No connected devices / device not found — flutter run: No connected devices found; check 'flutter doctor'. Expected at least one device (Flutter / Dart)No connected device…Logcat shows nothing / No debuggable processes — Logcat empty after run / No debuggable applications (Android)Logcat shows nothin…Android Studio too old for this Android Gradle plugin — This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling the Android Gradle Plugin (Android)Android Studio too …

Directly related (12)

IllegalStateExceptionJava

java.lang.IllegalStateException

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

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.

setState() or markNeedsBuild() called during buildFlutter / Dart

Flutter: setState() or markNeedsBuild() called during build. This widget cannot be marked as needing to build because the framework is already in the process of building widgets

State was changed while Flutter was building widgets, for example calling `setState` or a notifier from inside `build`.

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.

Coil: ImageRequest failed / SuccessResult expectedAndroid

coil.request.ErrorResult: java.net.UnknownHostException

Coil couldn't load an image.

Compose: click area wrong / Modifier order has no effectAndroid

(behavior) clickable ignored after clip / padding before background

Compose modifiers apply in order, so swapping them changes the result.

State lost on rotation / activity recreatedAndroid

(behavior) Activity restarts on rotation and fields reset

The screen rotation destroys and recreates the Activity, losing in-memory state.

AsyncImage stuck on placeholder in ComposeAndroid

(behavior) Coil AsyncImage never replaces the placeholder

The image request fails or never starts.

Compose Compiler requires a different Kotlin versionAndroid

This version (1.5.3) of the Compose Compiler requires Kotlin version 1.9.10 but you appear to be using Kotlin version 1.9.0

The Compose compiler plugin is tied to one exact Kotlin release and yours differs.

Compose: Reading a state in the wrong scope / infinite recompositionAndroid

Compose Runtime: Detected infinite recomposition loop / state read during composition

A Compose state is written during composition, so the UI keeps recomposing.

LazyColumn: Key was already usedAndroid

java.lang.IllegalArgumentException: Key "42" was already used. If you are using LazyColumn/Row please make sure you provide a unique key for each item.

Two items in a lazy list share the same key.

Compose preview: Render problem / failed to instantiateAndroid

Failed to instantiate one or more classes / java.lang.NoSuchMethodError in Compose preview

Android Studio can't render the @Preview of your composable.

Two steps away (36)

409HTTP

HTTP 409 Conflict

The request conflicts with the current state of the resource — e.g. a duplicate or an edit based on an outdated version.

IllegalArgumentExceptionJava

java.lang.IllegalArgumentException

A method rejected an argument value as invalid.

ArithmeticExceptionJava

java.lang.ArithmeticException: / by zero

Integer division or modulo by zero.

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.

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.

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…

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…

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.

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.

uncontrolled to controlledReact

Warning: A component is changing an uncontrolled input to be controlled

An input’s `value` started as `undefined` (uncontrolled) and later became a defined value (controlled), or vice versa.

setState during renderReact

Warning: Cannot update a component (`Parent`) while rendering a different component (`Child`)

A child component updated a parent’s state during its render instead of in an effect or event handler.

RPC failedGit

error: RPC failed; HTTP 400 curl 22 / curl 92 HTTP/2 stream was not closed cleanly — the remote end hung up unexpectedly

A large HTTPS push/clone broke mid-transfer — size limits, proxies or flaky HTTP/2.

Could not resolve hostGit

fatal: unable to access 'https://github.com/…': Could not resolve host: github.com

DNS lookup for the Git host failed from this machine.

port 22 timed outGit

ssh: connect to host github.com port 22: Connection timed out

Outbound SSH on port 22 is blocked (firewall, corporate or public Wi-Fi).

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.

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.

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.

Can not perform this action after onSaveInstanceStateAndroid

IllegalStateException: Can not perform this action after onSaveInstanceState (fragment transaction)

A FragmentTransaction (or DialogFragment.show/navigation) ran after the Activity saved its state, typically from an async callbac…

Fragment not attached to a contextAndroid

IllegalStateException: Fragment x not attached to a context / not attached to an activity

Code called requireContext()/requireActivity()/getString() after the Fragment was detached — usually in an async callback.

A Ticker was active when the State was disposedFlutter / Dart

Flutter: _HomeState#abc(ticker active) was disposed with an active Ticker. State.dispose() implementations must call dispose() on all their AnimationControllers

An `AnimationController` was still running when its `State` was disposed, because `dispose()` did not release it.

OutOfMemoryError: Failed to allocate a bitmap allocationAndroid

java.lang.OutOfMemoryError: Failed to allocate a 33177616 byte allocation with 16777216 free bytes

Loading a large image consumed more memory than the app may use.

No ViewModelStoreOwner was provided via LocalViewModelStoreOwnerAndroid

java.lang.IllegalStateException: No ViewModelStoreOwner was provided via LocalViewModelStoreOwner

`viewModel()` was called from a composable that has no ViewModel store, such as a Preview or ComposeView without an owner.

Glide: Load failed for URL with class GlideExceptionAndroid

com.bumptech.glide.load.engine.GlideException: Failed to load resource

Glide couldn't fetch or decode the image.

android:attr/lStar not foundAndroid

AAPT: error: resource android:attr/lStar not found

A dependency (androidx.core 1.7+) uses an attribute from Android 12 (API 31), but your module compiles against an older compileSd…

Android resource linking failedAndroid

AAPT: error: resource x (aka y) not found — Android resource linking failed

A layout, manifest or style references a resource (drawable, string, style, attribute) that doesn’t exist in the module or its de…

incompatible version of KotlinAndroid

Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.0.0, expected version is 1.8.0

A dependency was compiled with a newer Kotlin version than your project’s Kotlin Gradle plugin can read.

Compose TextField cursor jumps to start / text resetsAndroid

(behavior) TextField loses cursor position when state updates asynchronously

The TextField state is updated asynchronously, so the cursor resets.

LaunchedEffect runs on every recompositionAndroid

(behavior) LaunchedEffect(Unit) re-launches / key changes each time

The effect key changes constantly, so the effect restarts.

Compose: parameter is unstable, composable not skippableAndroid

(compiler report) unstable class List<String> prevents skipping

An unstable parameter type makes a composable recompose too often.

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.

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: You uploaded an APK signed with the wrong keyAndroid

Your Android App Bundle is signed with the wrong key. Ensure that your App Bundle is signed with the correct signing key and try again.

The upload key doesn't match the one registered for this app.

No connected devices / device not foundFlutter / Dart

flutter run: No connected devices found; check 'flutter doctor'. Expected at least one device

Flutter cannot see any emulator, simulator, browser or phone to run on.

Logcat shows nothing / No debuggable processesAndroid

Logcat empty after run / No debuggable applications

Android Studio's Logcat window is empty or filtered out.

Android Studio too old for this Android Gradle pluginAndroid

This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling the Android Gradle Plugin

The IDE can't open a project using a newer AGP.