Error map

VerifyError: Verifier rejected class java.lang.VerifyError: Verifier rejected class com.example.Foo: void com.example.Foo.bar() failed to verify

Android · layer 1, On your device

Open the full error page →

Centre: this error. First ring: errors it is linked with (11). 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.

VerifyError: Verifier rejected class — java.lang.VerifyError: Verifier rejected class com.example.Foo: void com.example.Foo.bar() failed to verify (Android)VerifyError…Duplicate class — Duplicate class X found in modules A and B (Android)Duplicate classEXC_BAD_ACCESS: message sent to deallocated instance — -[Foo bar]: message sent to deallocated instance 0x600000 (iOS)EXC_BAD_ACCESS: mes…Crash report not symbolicated (missing dSYM) — Crashlytics: Missing dSYM — upload dSYMs to see readable stack traces (iOS)Crash report not sy…App crashes after restore on a new phone — (behavior) crash on first launch after device transfer / Auto Backup (Android)App crashes after r…BadParcelableException: ClassNotFoundException when unmarshalling — android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.example.Model (Android)BadParcelableExcept…ConcurrentModificationException while iterating — java.util.ConcurrentModificationException at java.util.ArrayList$Itr.next (Android)ConcurrentModificat…An instance was deallocated while key value observers were still registered — NSInternalInconsistencyException: An instance 0x7f of class Foo was deallocated while key value observers were still registered with it (iOS)An instance was dea…ClassCastException: cannot be cast to android.widget — java.lang.ClassCastException: android.widget.Button cannot be cast to android.widget.TextView (Android)ClassCastException:…R8: NoSuchFieldError / NoSuchMethodError only in release — java.lang.NoSuchMethodError: No static method foo(Lx;)V in class Lcom/example/Y; or its super classes (Android)R8: NoSuchFieldErro…ClassNotFoundException only in release — java.lang.ClassNotFoundException: Didn't find class "com.example.Model" on path: DexPathList (Android)ClassNotFoundExcept…R8: Missing classes detected while running R8 (missing_rules.txt) — ERROR: R8: Missing class org.slf4j.impl.StaticLoggerBinder (referenced from: ...) (Android)R8: Missing classes…Could not resolve — Gradle: Could not resolve all files for configuration / Could not resolve dependency (Android)Could not resolveClassNotFoundException — java.lang.ClassNotFoundException / NoClassDefFoundError (Java)ClassNotFoundExcept…Manifest merger failed — Manifest merger failed: android:exported needs to be explicitly specified (Android)Manifest merger fai…Gradle Java heap space — Gradle: Expiring Daemon because JVM heap space is exhausted / java.lang.OutOfMemoryError: Java heap space during build (Android)Gradle Java heap sp…EXC_BAD_ACCESS — Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) (iOS)EXC_BAD_ACCESSProcess completed with exit code 137 — GitHub Actions: Error: Process completed with exit code 137 (Killed — out of memory) (CI/CD)Process completed w…NullPointerException: Attempt to invoke virtual method on a null object reference — java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference (Android)NullPointerExceptio…UninitializedPropertyAccessException: lateinit property has not been initialized — kotlin.UninitializedPropertyAccessException: lateinit property adapter has not been initialized (Android)UninitializedProper…IndexOutOfBoundsException: Index 5 out of bounds for length 3 — java.lang.IndexOutOfBoundsException: Index: 5, Size: 3 (Android)IndexOutOfBoundsExc…Time Machine couldn't complete the backup — macOS: Time Machine couldn't complete the backup. / The backup disk image could not be mounted / Backup failed with error 18/19/21/22 (macOS)Time Machine couldn…RecyclerView: Inconsistency detected. Invalid item position — java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 4(offset:4).state:10 (Android)RecyclerView: Incon…InflateException: Binary XML file line #12: Error inflating class — 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 (Android)InflateException: B…TransactionTooLargeException — android.os.TransactionTooLargeException: data parcel size x bytes (Android)TransactionTooLarge…Error building the app bundle — Execution failed for task ':app:bundleRelease'. Error while executing bundletool (Android)Error building the …You need to use a Theme.AppCompat theme — java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity (Android)You need to use a T…ConcurrentModificationException — java.util.ConcurrentModificationException (Java)ConcurrentModificat…UnsupportedOperationException — java.lang.UnsupportedOperationException (List.of / Arrays.asList is immutable) (Java)UnsupportedOperatio…InterruptedException — java.lang.InterruptedException (sleep interrupted) (Java)InterruptedExceptionNSUnknownKeyException — NSUnknownKeyException: this class is not key value coding-compliant for the key x (iOS)NSUnknownKeyExcepti…The style on this component requires your app theme to be Theme.MaterialComponents — java.lang.IllegalArgumentException: The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant) (Android)The style on this c…RuntimeException: Cannot create an instance of class ViewModel — java.lang.RuntimeException: Cannot create an instance of class com.example.MainViewModel Caused by: java.lang.NoSuchMethodException: MainViewModel.<init> [] (Android)RuntimeException: C…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…RenderBox was not laid out — Flutter: RenderBox was not laid out: RenderFlex#a1b2c relayoutBoundary=up2 NEEDS-PAINT — Failed assertion: 'hasSize' (Flutter / Dart)RenderBox was not l…R8: Missing class — ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules (missing_rules.txt) (Android)R8: Missing classRemoteServiceException: Bad notification for startForeground — android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification (Android)RemoteServiceExcept…EncryptedSharedPreferences: AEADBadTagException / InvalidProtocolBufferException — java.security.GeneralSecurityException: decryption failed / AEADBadTagException (Android)EncryptedSharedPref…android:attr/lStar not found — AAPT: error: resource android:attr/lStar not found (Android)android:attr/lStar …FLAG_IMMUTABLE or FLAG_MUTABLE — Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent (Android)FLAG_IMMUTABLE or F…Lint found fatal errors while assembling a release target — Lint found fatal errors while assembling a release target / lintVitalRelease FAILED (Android)Lint found fatal er…Crashlytics: unsymbolicated stack traces / mapping file not uploaded — Crashlytics: Missing deobfuscation mapping file (Android)Crashlytics: unsymb…fatal: tag already exists — fatal: tag 'v1.0.0' already exists (Git)fatal: tag already …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)Gson: Unable to inv…

Directly related (11)

Duplicate classAndroid

Duplicate class X found in modules A and B

Two dependencies ship the same class — typically old Android Support libraries mixed with AndroidX, or Kotlin stdlib-jdk7/jdk8 ve…

EXC_BAD_ACCESS: message sent to deallocated instanceiOS

-[Foo bar]: message sent to deallocated instance 0x600000

An object was used after being freed.

Crash report not symbolicated (missing dSYM)iOS

Crashlytics: Missing dSYM — upload dSYMs to see readable stack traces

Crash logs show addresses because dSYMs weren't uploaded.

App crashes after restore on a new phoneAndroid

(behavior) crash on first launch after device transfer / Auto Backup

Restored app data is incompatible with the new device.

BadParcelableException: ClassNotFoundException when unmarshallingAndroid

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.

ConcurrentModificationException while iteratingAndroid

java.util.ConcurrentModificationException at java.util.ArrayList$Itr.next

A collection was changed while it was being iterated.

An instance was deallocated while key value observers were still registerediOS

NSInternalInconsistencyException: An instance 0x7f of class Foo was deallocated while key value observers were still registered with it

A KVO observer wasn't removed before deallocation.

ClassCastException: cannot be cast to android.widgetAndroid

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.

R8: NoSuchFieldError / NoSuchMethodError only in releaseAndroid

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.

ClassNotFoundException only in releaseAndroid

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.

R8: Missing classes detected while running R8 (missing_rules.txt)Android

ERROR: R8: Missing class org.slf4j.impl.StaticLoggerBinder (referenced from: ...)

R8 found references to classes that aren't in your dependencies.

Two steps away (33)

Could not resolveAndroid

Gradle: Could not resolve all files for configuration / Could not resolve dependency

Gradle couldn’t download a dependency — wrong coordinates/version, missing repository, offline mode, or network/proxy issues.

ClassNotFoundExceptionJava

java.lang.ClassNotFoundException / NoClassDefFoundError

The JVM couldn’t find a class on the classpath at runtime.

Manifest merger failedAndroid

Manifest merger failed: android:exported needs to be explicitly specified

Targeting Android 12 (API 31)+ requires `android:exported` on every activity, service or receiver that has an intent-filter.

Gradle Java heap spaceAndroid

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.

EXC_BAD_ACCESSiOS

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…

Process completed with exit code 137CI/CD

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.

NullPointerException: Attempt to invoke virtual method on a null object referenceAndroid

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.

UninitializedPropertyAccessException: lateinit property has not been initializedAndroid

kotlin.UninitializedPropertyAccessException: lateinit property adapter has not been initialized

A `lateinit var` was read before anything assigned it.

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.

Time Machine couldn't complete the backupmacOS

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.

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.

InflateException: Binary XML file line #12: Error inflating classAndroid

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.

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.

Error building the app bundleAndroid

Execution failed for task ':app:bundleRelease'. Error while executing bundletool

Building the Android App Bundle (.aab) failed in the bundle step.

You need to use a Theme.AppCompat themeAndroid

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.

ConcurrentModificationExceptionJava

java.util.ConcurrentModificationException

A collection was modified while being iterated (even in a single thread).

UnsupportedOperationExceptionJava

java.lang.UnsupportedOperationException (List.of / Arrays.asList is immutable)

Code tried to modify an immutable or fixed-size collection.

InterruptedExceptionJava

java.lang.InterruptedException (sleep interrupted)

A blocked thread (sleep, wait, join, queue take) was interrupted by another thread.

NSUnknownKeyExceptioniOS

NSUnknownKeyException: this class is not key value coding-compliant for the key x

A storyboard/XIB has a connection to an outlet or action that no longer exists in the class (renamed or deleted), or the view’s c…

The style on this component requires your app theme to be Theme.MaterialComponentsAndroid

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.

RuntimeException: Cannot create an instance of class ViewModelAndroid

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.

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.

RenderBox was not laid outFlutter / Dart

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…

R8: Missing classAndroid

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.

RemoteServiceException: Bad notification for startForegroundAndroid

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).

EncryptedSharedPreferences: AEADBadTagException / InvalidProtocolBufferExceptionAndroid

java.security.GeneralSecurityException: decryption failed / AEADBadTagException

Encrypted preferences can't be decrypted after a backup/restore or key change.

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…

FLAG_IMMUTABLE or FLAG_MUTABLEAndroid

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 targetAndroid

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.

Crashlytics: unsymbolicated stack traces / mapping file not uploadedAndroid

Crashlytics: Missing deobfuscation mapping file

Crashlytics shows obfuscated stack traces because mapping files weren't uploaded.

fatal: tag already existsGit

fatal: tag 'v1.0.0' already exists

A tag with that name exists already.

Gson: Unable to invoke no-args constructorAndroid

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.

Gson can't instantiate an interface or abstract type.