Error map
CompositionLocal not present java.lang.IllegalStateException: CompositionLocal LocalNavController not present
Android · layer 1, On your device
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.
Directly related (12)
java.lang.IllegalStateException
A method was called when the object wasn’t in the right state for it.
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.
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`.
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.request.ErrorResult: java.net.UnknownHostException
Coil couldn't load an image.
(behavior) clickable ignored after clip / padding before background
Compose modifiers apply in order, so swapping them changes the result.
(behavior) Activity restarts on rotation and fields reset
The screen rotation destroys and recreates the Activity, losing in-memory state.
(behavior) Coil AsyncImage never replaces the placeholder
The image request fails or never starts.
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 Runtime: Detected infinite recomposition loop / state read during composition
A Compose state is written during composition, so the UI keeps recomposing.
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.
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)
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.
java.lang.IllegalArgumentException
A method rejected an argument value as invalid.
java.lang.ArithmeticException: / by zero
Integer division or modulo by zero.
TypeError: Cannot assign to read only property 'x' of object
Code tried to modify a frozen object, a getter-only property, or immutable state.
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.
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.
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…
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…
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.
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.
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.
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.
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.
fatal: unable to access 'https://github.com/…': Could not resolve host: github.com
DNS lookup for the Git host failed from this machine.
ssh: connect to host github.com port 22: Connection timed out
Outbound SSH on port 22 is blocked (firewall, corporate or public Wi-Fi).
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.
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.
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.
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…
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.
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.
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.
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.
com.bumptech.glide.load.engine.GlideException: Failed to load resource
Glide couldn't fetch or decode the image.
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…
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…
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.
(behavior) TextField loses cursor position when state updates asynchronously
The TextField state is updated asynchronously, so the cursor resets.
(behavior) LaunchedEffect(Unit) re-launches / key changes each time
The effect key changes constantly, so the effect restarts.
(compiler report) unstable class List<String> prevents skipping
An unstable parameter type makes a composable recompose too often.
java.lang.IndexOutOfBoundsException: Index: 5, Size: 3
The code read a list or array position that doesn't exist.
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.
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.
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 empty after run / No debuggable applications
Android Studio's Logcat window is empty or filtered out.
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.