Skip to content

chore(deps): Revert update Java SDK to v8.35.0#1289

Merged
tustanivsky merged 1 commit intomainfrom
revert-1285-deps/modules/sentry-java/8.35.0
Mar 16, 2026
Merged

chore(deps): Revert update Java SDK to v8.35.0#1289
tustanivsky merged 1 commit intomainfrom
revert-1285-deps/modules/sentry-java/8.35.0

Conversation

@tustanivsky
Copy link
Copy Markdown
Collaborator

@tustanivsky tustanivsky commented Mar 16, 2026

The epitaph library which replaced protobuf-lite in Android SDK v8.35.0 causes build errors in UE 4.27-5.4 when targeting Android platform:

> Task :app:mergeExtDexDebug
ERROR:/home/gh/.gradle/caches/8.14.2/transforms/d88f69e91bb61f3a6d035f24ed1e8d37/transformed/epitaph-0.1.0.jar: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null

Epitaph's enum classes (Architecture, MemoryError.Tool, MemoryError.Type) have MethodParameters attributes with null names for synthetic enum constructor parameters which D8 can't handle.

Technically, this can be addressed by bumping Android Gradle Plugin version to 8.x (default for UE 5.5+) however it will introduce compatibility issues in older engine versions. More reliable way would be to patch epitaph lib by adding the extra -parameters flag to javac compiler options - this will make it emit actual parameter names (e.g. $enum$name, $enum$ordinal) in the MethodParameters bytecode attribute for enum constructors, instead of leaving them null. Local testing confirmed that the second approach fixes the build and tombstone parsing works as expected.

Reverts #1285

Issue in Android SDK:

Related items:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 16, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Internal Changes 🔧

Deps

  • Revert update Java SDK to v8.35.0 by tustanivsky in #1289
  • Update Java SDK to v8.35.0 by github-actions in #1285
  • Update CLI to v3.3.3 by github-actions in #1282
  • Update Cocoa SDK to v9.7.0 by github-actions in #1283
  • Update Native SDK to v0.13.2 by github-actions in #1276
  • Update CLI to v3.3.2 by github-actions in #1280
  • Update Java SDK to v8.34.1 by github-actions in #1272
  • Update CLI to v3.3.0 by github-actions in #1268
  • Update Cocoa SDK to v9.6.0 by github-actions in #1269
  • Update CLI to v3.2.3 by github-actions in #1265
  • Update Native SDK to v0.13.1 by github-actions in #1263
  • Update Cocoa SDK to v9.5.1 by github-actions in #1257

Other

  • Add Sentry Crash Reporter customization utils by tustanivsky in #1286
  • Add Windows arm64 support by tustanivsky in #1284
  • Add CrashType tag to crash events on native platforms (Windows, Linux, Xbox) by tustanivsky in #1277
  • Add guard to prevent potential infinite recursion in callback handlers by tustanivsky in #1279
  • Add global attributes support for Android by tustanivsky in #1274
  • Add app hang tracking for Windows and Linux by tustanivsky in #1270
  • Fix screenshot capture error messages during commandlet execution by tustanivsky in #1273
  • Fix debug symbol upload for build products located in the engine directory by tustanivsky in #1262
  • Fix symbol upload configuration warning in plugin settings menu by tustanivsky in #1261

🤖 This preview updates automatically when you update the PR.

@tustanivsky tustanivsky merged commit 75ec682 into main Mar 16, 2026
160 of 162 checks passed
@tustanivsky tustanivsky deleted the revert-1285-deps/modules/sentry-java/8.35.0 branch March 16, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants