NoSuchMethodError in SentryTraced during Compose composition
還沒有人認領這個 Issue。
評估
研究方向
從 SentryComposeTracing.kt:72 開始,追蹤正常的 setContent → Recomposer.composeInitial → doCompose → ComposableLambdaImpl.invoke → SentryTraced 路徑。在報告的 Android 模擬器設定上重現崩潰,並比較列出的 SDK 版本,以識別缺少的方法,並確立一個能防止公開 composable 拋出 NoSuchMethodError 的修正方案。
由索引模型根據 Issue 內容生成。
描述
Symptoms
NoSuchMethodError is thrown at the entry of the public SentryTraced composable during Jetpack Compose composition.
- Crash location:
io.sentry.compose.SentryComposeTracingKt.SentryTraced(SentryComposeTracing.kt:72)— the function header, before any body statement executes. - Trigger path: normal composition (
setContent→Recomposer.composeInitial→doCompose→ComposableLambdaImpl.invoke→SentryTraced). - Handling: unhandled, crashes the app via
UncaughtExceptionHandler. - Exception detail message: not available — stripped by SDK crash detection (
error.valueisnullon all events), so the exact missing method name is unknown.
Scope / frequency
- 151 occurrences, 2 users impacted.
- First seen 2026-03-19, still ongoing (last seen 2026-07-07).
- Spans multiple SDK versions: 8.33.0, 8.40.0, 8.43.1, 8.47.0 (not a regression tied to one release).
- Android only. Every event is on an Android emulator (
sdk_gphone64_arm64,simulator: true,userdebugbuild, Android 14).
Reference
- Sentry issue: SDK-CRASHES-JAVA-48AR — https://sentry.sentry.io/issues/SDK-CRASHES-JAVA-48AR
- 主要語言
- Kotlin
- 星號
- 1.4k
- 分支
- 478
- 平均合併
- 2 天 20 小時
- 30 天內合併 PR
- 70
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
getsentry/sentry-java 的其他 Issue
-
Platform: Java
難度 2/5 半天 新手友好度 76/100
getsentry/sentry-java#6161 · 1 則留言 ·
-
Improvement Java Platform: Android Platform: Java
難度 2/5 1-3 小時 新手友好度 75/100
getsentry/sentry-java#6145 · 1 則留言 · 已指派 1 人 ·
-
Bug Java Platform: Android Platform: Java
難度 2/5 1-3 小時 新手友好度 78/100
getsentry/sentry-java#6138 · 1 則留言 ·
-
Feature Java Platform: Java Spans
難度 2/5 1-3 小時 新手友好度 68/100
getsentry/sentry-java#5984 · 1 則留言 ·
-
Android Task Traces
難度 2/5 1-3 小時 新手友好度 68/100
getsentry/sentry-java#5376 · 1 則留言 ·
查看 getsentry/sentry-java 的全部 Issue
相似的 Issue
-
Flaky: a relaunched catch-up replay can still report catching up right after its marker is written 未關閉bug
難度 2/5 1-3 小時 新手友好度 78/100
johanhaleby/occurrent#1134 ·
-
autoteam community team/use
難度 2/5 1-3 小時 新手友好度 78/100
-
android: AlbumArtistDetailViewModel keeps groupKeys of albums that disappeared in expandedAlbums 未關閉task
難度 2/5 1-3 小時 新手友好度 70/100
-
難度 2/5 1-3 小時 新手友好度 90/100
aaif-goose/goose#12496 ·
-
Schema rejections are neither logged nor attributed, so the offending object cannot be identified 未關閉
難度 2/5 1-3 小時 新手友好度 75/100
zotero/zotero-android#350 ·