Error map
SwiftUI .task / onAppear runs twice (behavior) .onAppear is called more than once
iOS · 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)
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.
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.
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.
WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?
A dialog or popup was shown with a context whose Activity is finishing/destroyed, or with the Application context.
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…
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.
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: dependOnInheritedWidgetOfExactType<_InheritedTheme>() or dependOnInheritedElement() was called before _HomeState.initState() completed
`Theme.of(context)`, `MediaQuery.of(context)` or `Provider.of(context)` was used in `initState`, where inherited widgets are not…
(behavior) Activity restarts on rotation and fields reset
The screen rotation destroys and recreates the Activity, losing in-memory state.
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.
Task 'assembleRelease' not found in root project 'MyApp'. Some candidates are: 'assemble'.
The task name doesn't exist at the level you ran it.
kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelling}@a1b2c3
A coroutine was cancelled, usually because its scope ended.
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.
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.
TypeError: Cannot assign to read only property 'x' of object
Code tried to modify a frozen object, a getter-only property, or immutable state.
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: Actions must be plain objects. Instead, the actual type was: 'function'.
A function (thunk) was dispatched but the thunk middleware isn’t configured.
Optimistic lock conflict: OptimisticLockException / StaleObjectStateException / version mismatch
Someone else changed the record after you read it, so your update — based on an old version — was rejected to avoid overwriting t…
API Error: Idempotency key reused with different parameters (idempotency_key_in_use)
An Idempotency-Key header was sent again with a different request body, or while the first request with that key was still runnin…
API Error: Too many concurrent requests (concurrency limit reached)
You have more requests in flight at once than the API allows for your key — even if your requests-per-minute rate is fine.
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…
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.
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.
adb: no devices/emulators found / error: device not found
adb can’t see any connected device or running emulator.
ActivityNotFoundException: Unable to find explicit activity class; have you declared this activity in your AndroidManifest.xml?
An Intent targets an Activity that isn’t declared in the manifest, or an implicit intent has no app to handle it.
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: 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.
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.
java.lang.RuntimeException: Cannot create an instance of class com.example.MainViewModel Caused by: java.lang.NoSuchMethodException: MainViewModel.<init> []
The default ViewModel factory can only build a ViewModel with a no-argument (or Application) constructor.
java.lang.IllegalArgumentException: Navigation action/destination com.example:id/action_home_to_detail cannot be found from the current destination Destination(com.example:id/settingsFragment)
The nav action isn't reachable from the destination the user is currently on.
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: 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`.
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.
java.lang.IllegalStateException
A method was called when the object wasn’t in the right state for it.
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.
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`.
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…
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.
'NavigationView' was deprecated in iOS 16.0: use NavigationStack and NavigationSplitView instead
NavigationView is replaced by NavigationStack.
Namespace not specified. Specify a namespace in the module's build file (AGP 8)
AGP 8 requires android { namespace = "…" } in each module’s build file; the package attribute in AndroidManifest.xml is no longer…
The Android Gradle plugin supports only Gradle version 8.x and higher. Current Gradle version is 7.x
The Android Gradle plugin (AGP) in your build needs a newer Gradle than the wrapper provides.
Android Gradle plugin requires Java 17 to run. You are currently using Java 11
This AGP version runs on JDK 17 (or newer) and Gradle is currently started with an older JDK.
android.os.NetworkOnMainThreadException
The app made a network call on the main (UI) thread, which Android forbids.
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…
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.