Error map
IllegalStateException: View does not have a NavController set java.lang.IllegalStateException: View androidx.fragment.app.FragmentContainerView{...} does not have a NavController set
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)
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.
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.view.InflateException: Binary XML file line #12 in com.example:layout/activity_main: Binary XML file line #12: Error inflating class androidx.constraintlayout.widget.ConstraintLayout
A layout file couldn't be inflated, usually because a class or attribute inside is wrong.
'onBackPressed(): Unit' is deprecated. Deprecated in Java
The old back handling API is deprecated, and predictive back needs the new dispatcher.
(behavior) crash on first launch after device transfer / Auto Backup
Restored app data is incompatible with the new device.
-[Foo bar]: message sent to deallocated instance 0x600000
An object was used after being freed.
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.
java.lang.IllegalArgumentException: No view found for id 0x7f0a0123 (com.example:id/container) for fragment HomeFragment
A fragment transaction targeted a container id that isn't in the current layout.
androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment com.example.DetailFragment: could not find Fragment constructor
The system can't recreate a fragment because it has no public no-argument constructor.
android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.example.Model
A Parcelable in a Bundle or Intent couldn't be restored because its class was not found.
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.
Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'required condition is false: format.sampleRate == hwFormat.sampleRate'
An audio tap or node format doesn't match the hardware format.
Two steps away (36)
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: 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…
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…
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…
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.
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.
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.
android.content.res.Resources$NotFoundException: Resource ID #0x7f...
Code asked for a resource ID that doesn’t exist for the current configuration — often passing an int to setText(), or a resource…
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.
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.
'startActivityForResult(Intent!, Int): Unit' is deprecated
Use the Activity Result API instead of request codes.
'AsyncTask<Params!, Progress!, Result!>' is deprecated. Deprecated in Java
AsyncTask is removed from the recommended APIs.
macOS: Time Machine couldn't complete the backup. / The backup disk image could not be mounted / Backup failed with error 18/19/21/22
A Time Machine backup stopped because the destination is unavailable, full, or the backup set is damaged.
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.
kotlin.UninitializedPropertyAccessException: lateinit property adapter has not been initialized
A `lateinit var` was read before anything assigned it.
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.
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…
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.
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…
NSInvalidArgumentException: Pushing the same view controller instance more than once is not supported
The same UIViewController instance was pushed twice.
java.lang.IllegalStateException: Fragment no longer exists for key f#0: unique id a1b2
ViewPager2 restored state for fragments that the FragmentManager no longer has.
java.lang.ClassCastException: android.widget.Button cannot be cast to android.widget.TextView
A view id in the layout is a different widget type than the one the code expects.
Termination Reason: ... per-process-limit / EXC_RESOURCE RESOURCE_TYPE_MEMORY
iOS killed the app for using too much memory.
This view is not constrained. It only has designtime positions, so it will jump to (0,0) unless you add constraints
A view in ConstraintLayout has no horizontal or vertical constraint.
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.
java.lang.IllegalArgumentException: Required argument "id" is missing and does not have an android:defaultValue
A navigation destination requires an argument that the caller didn't pass.
FATAL EXCEPTION: DefaultDispatcher-worker-1 Process: com.example, PID: 1234
An uncaught exception in a `launch` coroutine kills the process.
Execution failed for task ':app:bundleRelease'. Error while executing bundletool
Building the Android App Bundle (.aab) failed in the bundle step.
java.lang.ClassNotFoundException: Didn't find class "com.example.Model" on path: DexPathList
A class is stripped or renamed by R8 in the release build but still used by reflection.
java.lang.IndexOutOfBoundsException: Index: 5, Size: 3
The code read a list or array position that doesn't exist.
android.os.NetworkOnMainThreadException
The app made a network call on the main (UI) thread, which Android forbids.
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.
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…
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.
java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity
An AppCompatActivity runs with a theme that isn't AppCompat based.
java.lang.IllegalArgumentException: The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant)
A Material component is used under a non-Material theme.
Map another error
Popular: ERR_HTTP2_PROTOCOL_ERROR5004004031064ORA-00933Critical errorTypeError