Skip to content

[Due for payment 2026-07-23] [$250] [Sentry: APP-1VG] HybridApp Android PdfDocument Already closed on receipt render #93839

Description

@mountiny

Sentry

https://expensify.sentry.io/issues/APP-1VG

Impact (snapshot at filing)

  • Users (total since first seen): 438
  • Events: 885
  • Users (last 14d, 9.4.x releases): 9
  • First seen: 2025-12-02
  • Last seen: ongoing
  • Platform: Android HybridApp
  • App version(s): 9.4.5–9.4.9
  • Affected route(s): TransactionReceipt view
  • Mechanism: UncaughtExceptionHandler

Stack trace (top frames, first-party only)

io.legere.pdfiumandroid.PdfDocument.openPage
com.github.barteksc.pdfviewer.PdfFile.renderPageBitmap
com.github.barteksc.pdfviewer.RenderingHandler.proceed

Suspected cause

PDF document is closed while the renderer thread still tries to open a page — race in receipt PDF viewing.

Reproduction

Unknown — see Sentry events linked from the Sentry issue.

Related

  • Prior GH issues: none
Upwork Automation - Do Not Edit
Issue OwnerCurrent Issue Owner: @eVoloshchak

Activity

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions