Skip to content

AbstractMethodError: SemanticsModifierNode.isImportantForBounds() with sentry-compose on compose-ui 1.11+ #5662

Description

@depau

Integration

sentry-compose

Build System

Gradle

AGP Version

9.2.1

Proguard

Disabled

Other Error Monitoring Solution

Firebase Crashlytics

Version

8.46.0

Steps to Reproduce

Using Compose BOM 2026.06.00 → androidx.compose.ui:ui:1.11.3

  1. Initialize the Sentry Android SDK and apply the Sentry Kotlin compiler or use Modifier.sentryTag(...) so a SentryTagModifierNode ends up in the composition.
  2. Build a non-minified (debug) variant.
  3. Let an accessibility client read the Compose accessibility tree — e.g. TalkBack, an Appium/UiAutomator2 test, or adb shell uiautomator dump.

Expected Result

The accessibility tree can be read without crashing, on debug builds as well.

Actual Result

The app crashes as soon as the accessibility tree is traversed:

java.lang.AbstractMethodError: abstract method "boolean androidx.compose.ui.node.SemanticsModifierNode.isImportantForBounds()"
	at androidx.compose.ui.semantics.SemanticsNode.findSemanticsModifierNodeToGetBounds(SemanticsNode.kt:461)
	at androidx.compose.ui.semantics.SemanticsNode.getTouchBoundsInRoot(SemanticsNode.kt:132)
	at androidx.compose.ui.semantics.SemanticsOwnerKt.getAllUncoveredSemanticsNodesToIntObjectMap$lambda$0$findAllSemanticNodesRecursive(SemanticsOwner.kt:262)
	at androidx.compose.ui.platform.AndroidComposeViewAccessibilityDelegateCompat.getCurrentSemanticsNodes(AndroidComposeViewAccessibilityDelegateCompat.android.kt:376)
	at androidx.compose.ui.platform.AndroidComposeViewAccessibilityDelegateCompat.createNodeInfo(AndroidComposeViewAccessibilityDelegateCompat.android.kt:537)
	...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions