Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[$500] Android - App crashes , unable to open the app #33277

Closed
1 of 6 tasks
izarutskaya opened this issue Dec 19, 2023 · 12 comments · Fixed by #33325
Closed
1 of 6 tasks

[$500] Android - App crashes , unable to open the app #33277

izarutskaya opened this issue Dec 19, 2023 · 12 comments · Fixed by #33325
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. DeployBlockerCash This issue or pull request should block deployment Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Reviewing Has a PR in review Weekly KSv2

Comments

@izarutskaya
Copy link

izarutskaya commented Dec 19, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.4.14-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @

Action Performed:

1.Tap on the app

Or

Pre-condition Delete all cookies and clear all data

  1. Launch app
  2. Enter credentials

Expected Result:

User must be able to open the app

Actual Result:

App crashes when user tries to login or open

Workaround:

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6319420_1702983563638.crash.mp4
Bug6319420_1702983563628.az_recorder_20231219_162729.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0107238d94e6064e6c
  • Upwork Job ID: 1737067250945007616
  • Last Price Increase: 2023-12-19
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Dec 19, 2023
@melvin-bot melvin-bot bot changed the title Android - App crashes , unable to open the app [$500] Android - App crashes , unable to open the app Dec 19, 2023
Copy link

melvin-bot bot commented Dec 19, 2023

Job added to Upwork: https://www.upwork.com/jobs/~0107238d94e6064e6c

Copy link

melvin-bot bot commented Dec 19, 2023

Triggered auto assignment to @puneetlath (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 19, 2023
Copy link

melvin-bot bot commented Dec 19, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Copy link

melvin-bot bot commented Dec 19, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane (External)

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Dec 19, 2023
Copy link
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.

Copy link

melvin-bot bot commented Dec 19, 2023

Current assignee @puneetlath is eligible for the Engineering assigner, not assigning anyone new.

@Julesssss
Copy link
Contributor

Here's the native Stacktrace, seems to come from the reanimated lib

Fatal Exception: com.facebook.jni.CppException: Exception in HostFunction: java.lang.ClassCastException: java.lang.Double cannot be cast to com.facebook.react.bridge.ReadableMap

Error: Exception in HostFunction: java.lang.ClassCastException: java.lang.Double cannot be cast to com.facebook.react.bridge.ReadableMap
    at _updatePropsPaper (native)
    at flush (JavaScript:1:349)
    at anonymous (JavaScript:1:350)
    at callMicrotasksOnUIThread (JavaScript:1:61)
    at anonymous (JavaScript:1:139)
       at com.swmansion.reanimated.AndroidUIScheduler.triggerUI(AndroidUIScheduler.java)
       at com.swmansion.reanimated.AndroidUIScheduler$1.run(AndroidUIScheduler.java:24)
       at com.swmansion.reanimated.AndroidUIScheduler$2.runGuarded(AndroidUIScheduler.java:43)
       at com.facebook.react.bridge.GuardedRunnable.run(GuardedRunnable.java:30)
       at android.os.Handler.handleCallback(Handler.java:958)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:205)
       at android.os.Looper.loop(Looper.java:294)
       at android.app.ActivityThread.main(ActivityThread.java:8194)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)

@Julesssss
Copy link
Contributor

I shared with SWM here.

@Julesssss
Copy link
Contributor

This PR is attempting to resolve the issue

@rushatgabhane
Copy link
Member

rushatgabhane commented Dec 19, 2023

If not resolved in time, reverting the culprit PR #26654 should unblock deploy : )

@rushatgabhane
Copy link
Member

rushatgabhane commented Dec 19, 2023

#33224 is ready. I'm gonna retest before we can merge

edit: tests well, but blocked on #33224 (comment)

@rayane-djouah
Copy link
Contributor

The PR is reverted here #33325
we can close this

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Dec 20, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Hourly KSv2 labels Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. DeployBlockerCash This issue or pull request should block deployment Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants