Error map
Gson: Unable to invoke no-args constructor java.lang.RuntimeException: Unable to invoke no-args constructor for interface com.example.Item. Registering an InstanceCreator with Gson for this type may fix this problem.
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)
Dart: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>' in type cast
JSON decoded to a Map but your code expected a List (or the other way round).
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.
Dart: type 'Null' is not a subtype of type 'String' in type cast
A value that was `null` at runtime was cast or used as a non-nullable type, most often when parsing JSON.
com.airbnb.lottie.LottieAnimationView: Unable to parse composition: java.lang.IllegalStateException: Unable to find lottie json
Lottie couldn't read the animation file.
Crashlytics: Missing deobfuscation mapping file
Crashlytics shows obfuscated stack traces because mapping files weren't uploaded.
Fatal error: Could not cast value of type '__NSDictionaryM' (0x1f) to 'NSArray' (0x1e)
A forced cast `as!` failed at runtime.
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.IllegalArgumentException: Unable to create converter for class com.example.User for method Api.getUser
Retrofit has no converter that can handle the response type.
ERROR: R8: Missing class org.slf4j.impl.StaticLoggerBinder (referenced from: ...)
R8 found references to classes that aren't in your dependencies.
java.lang.NoSuchMethodError: No static method foo(Lx;)V in class Lcom/example/Y; or its super classes
Minification renamed or removed a method that is used reflectively.
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.
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $
The JSON shape doesn't match the model: an object arrived where a list was expected.
Two steps away (35)
Dart: Bad state: No element — .first, .last or .single on an empty list
You called `.first`, `.last`, `.single` or `.reduce` on an empty collection.
Dart: Error: Couldn't resolve the package 'x' in 'package:x/x.dart'
Code imports a package that is not in `pubspec.yaml` or `pub get` has not been run since adding it.
Dart: The argument type 'String?' can't be assigned to the parameter type 'String'
You passed a value whose type does not match what the function parameter requires.
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.
Dart: RangeError (index): Invalid value: Valid value range is empty: 0
A list or string was indexed outside its bounds, often an empty list or an off-by-one in `itemBuilder`.
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.
Dart/Flutter: Null check operator used on a null value
The ! operator was applied to a variable that was null at runtime.
Dart: LateInitializationError: Field 'controller' has not been initialized
A `late` variable was read before it was assigned.
Dart: Non-nullable instance field 'name' must be initialized. Try adding an initializer expression, or a generative constructor that initializes it, or mark it 'late'
With null safety every non-nullable field needs a value by the end of construction.
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…
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.
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.
ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules (missing_rules.txt)
R8 (minification) found references to classes that aren’t on the classpath, typically optional dependencies of a library.
Google Sign-In: com.google.android.gms.common.api.ApiException: 10 (DEVELOPER_ERROR)
Google Sign-In is misconfigured — the app’s package name or SHA-1/SHA-256 signing fingerprint isn’t registered in Google Cloud/Fi…
IllegalStateException: Default FirebaseApp is not initialized in this process
Firebase couldn’t initialise because google-services.json or the Google Services Gradle plugin is missing/misapplied, or initiali…
Swift: Could not cast value of type 'X' to 'Y'
A force cast (as!) failed because the object isn’t the expected type.
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.
com.squareup.moshi.JsonDataException: Required value 'name' missing at $.user
A non-null Kotlin property had no value in the JSON.
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…
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent
Apps targeting Android 12+ must declare PendingIntent mutability; missing flags crash.
Lint found fatal errors while assembling a release target / lintVitalRelease FAILED
The release build runs a lint check and a fatal lint issue stopped it.
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…
Execution failed for task ':app:bundleRelease'. Error while executing bundletool
Building the Android App Bundle (.aab) failed in the bundle step.
Restricted setting: For your security, this setting is currently unavailable
Sideloaded apps can't use accessibility on Android 13+ until allowed.
fatal: tag 'v1.0.0' already exists
A tag with that name exists already.
java.lang.VerifyError: Verifier rejected class com.example.Foo: void com.example.Foo.bar() failed to verify
ART's verifier rejected the bytecode.
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.
android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification
The notification passed to startForeground is invalid (often no channel or no small icon).
java.security.GeneralSecurityException: decryption failed / AEADBadTagException
Encrypted preferences can't be decrypted after a backup/restore or key change.
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.
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: 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.NumberFormatException: For input string: "x"
A string couldn’t be parsed as a number — it’s empty, has spaces/commas, is too large, or isn’t numeric.
java.time.format.DateTimeParseException: Text '31/12/2024' could not be parsed at index 2
A java.time parse call got text that doesn’t match the expected format.
java.text.ParseException: Unparseable date: "x"
SimpleDateFormat couldn’t parse the string with its pattern.