Skip to content

Android - Classic - App crashes when tap on category in OldDot #77152

Closed

Description

@jponikarchuk

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: v9.2.74-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from BrowserStack: KI retest #58298
Email or phone of affected tester (no customers): -
Issue reported by: Applause Internal Team
Bug source: Regression TC Execution
Device used: Android 12 native
App Component: Other

Action Performed:

  1. Open application
  2. Switch to Classic
  3. Go to Expenses tab
  4. Tap '+' > Create manuall
  5. Tap on Category field 2+ times

Expected Result:

User can choose category

Actual Result:

Application crashes

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

1.mp4

logs.txt

troubleshoot__2_.zip

Crash in Firebase: https://console.firebase.google.com/u/0/project/expensify-mobile-app/crashlytics/app/android:org.me.mobiexpensifyg/issues/8096cf8b7b23346223282ac7afd504d5?time=90d&types=crash&sessionEventKey=6938558202B0000159EB1F6CB5E68510_2160350108470370101

Crash logs:

          Fatal Exception: java.lang.NullPointerException: Attempt to read from field 'int android.view.View.mViewFlags' on a null object reference in method 'void android.view.ViewGroup.dispatchGetDisplayList()'
       at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4579)
       at android.view.View.updateDisplayListIfDirty(View.java:23500)
       at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4607)
       at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4580)
       at android.view.View.updateDisplayListIfDirty(View.java:23500)
       at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4607)
       at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4580)
       at android.view.View.updateDisplayListIfDirty(View.java:23500)

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    BugSomething is broken. Auto assigns a BugZero manager.
    on Dec 9, 2025
  2. melvin-bot commented on Dec 9, 2025

    @melvin-bot

    Triggered auto assignment to @jliexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. melvin-bot commented on Dec 9, 2025

    @melvin-bot

    Triggered auto assignment to @cead22 (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  4. github-actions commented on Dec 9, 2025

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  5. melvin-bot commented on Dec 9, 2025

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  6. cead22 commented on Dec 9, 2025

    @cead22
    Contributor

    Looks like the app crashed when switching to classic, and then it crashed again on classic. @jponikarchuk can you reproduce this reliably? And what email were you using?

  7. jponikarchuk commented on Dec 9, 2025

    @jponikarchuk
    Author

    @cead22 No. This was catch accidentally

    And what email were you using?

    gloginme3+0912ap@gmail.com
    applausetester+bp0812wtr@applause.expensifail.com

  8. cead22 commented on Dec 9, 2025

    @cead22
    Contributor

    I found a NullPointerException in Sentry for applausetester+bp0812wtr@applause.expensifail.com

    NullPointerException
    Attempt to read from field 'int android.view.View.mViewFlags' on a null object reference in method 'void android.view.ViewGroup.dispatchGetDisplayList()'

    Searching for NullPointerException in Sentry I found a similar one for golebiowskalaura28@gmail.com (link)

    NullPointerException
    Attempt to read from field 'int android.view.View.mViewFlags' on a null object reference in method 'void android.view.ViewGroup.dispatchDraw(android.graphics.Canvas)'

    And another one for rabiaasif1june@gmail.com (link)

    NullPointerException
    Attempt to invoke virtual method 'int android.view.View.getVisibility()' on a null object reference

    They happened on different versions of the app and different devices, but all on Android 12.

    @AndrewGable @Julesssss I don't think we need to block the deploy on this since it's happened on different versions, do you agree?

    Also, any ideas what we can look at here?

  9. jliexpensify commented on Dec 9, 2025

    @jliexpensify
    Contributor

    @cead22 I can repro this on a Pixel 7, but the app doesn't crash: it simply closes for me.

  10. jliexpensify commented on Dec 9, 2025

    @jliexpensify
    Contributor

    Ooh, and now when I go back to Try New Expensify, it crashes

  11. AndrewGable commented on Dec 9, 2025

    @AndrewGable
    Contributor

    I don't think we need to block the deploy on this since it's happened on different versions, do you agree?

    Agree with this as long as it's multiple production versions

  12. Julesssss commented on Dec 9, 2025

    @Julesssss
    Contributor

    Agree not a blocker. It's this crash in Firebase.

    I see occurrences on newer OS versions, but 42% occur on Android 12. been occurring for 1 month, 100 occurances.

  13. added and removed
    DeployBlockerCashThis issue or pull request should block deployment
    on Dec 9, 2025
  14. Julesssss commented on Dec 10, 2025

    @Julesssss
    Contributor
  15. m-natarajan commented on Dec 10, 2025

    @m-natarajan

    Not reproduce, Xiaomi Redmi Note 10 / Android 12
    App v9.2.74-6 Ad-hoc

    Screenrecorder-2025-12-10-21-52-24-25.mp4
  16. jliexpensify commented on Dec 13, 2025

    @jliexpensify
    Contributor

    Nice, closing!

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2Engineering

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions