Skip to content

[HOLD for payment 2024-12-19] Fix the pusher instance not found crash #53752

Closed

Description

@mountiny

We are seeing this specific crash error in firebase that we have not been able to easily reproduce but we can see that its happening:

   Fatal Exception: com.facebook.react.common.JavascriptException: Error: TaskQueue: Error with task : [Pusher] instance not found. Pusher.subscribe()
            most likely has been called before Pusher.init(), js engine: hermes, stack:
anonymous@1:3767030
processNext@1:847707
_processUpdate@1:846412
anonymous@1:524811
_callTimer@1:523728
_callReactNativeMicrotasksPass@1:523929
callReactNativeMicrotasks@1:525881
__callReactNativeMicrotasks@1:218344
anonymous@1:216543
__guard@1:218218
flushedQueue@1:216454
callFunctionReturnFlushedQueue@1:216310

       at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:65)
       at com.facebook.jni.NativeRunnable.run(NativeRunnable.java)
       at android.os.Handler.handleCallback(Handler.java:958)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
       at android.os.Looper.loopOnce(Looper.java:230)
       at android.os.Looper.loop(Looper.java:319)
       at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:235)
       at java.lang.Thread.run(Thread.java:1012)

Here is a link to firebase for the crash

Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Dec 9, 2024
  2. self-assigned this
    on Dec 9, 2024
  3. melvin-bot commented on Dec 9, 2024

    @melvin-bot

    Triggered auto assignment to @mallenexpensify (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.

  4. jnowakow commented on Dec 9, 2024

    @jnowakow
    Contributor

    Hello, I'm from SoftwareMansion and I'll work on this issue

  5. added
    Awaiting PaymentAuto-added when associated PR is deployed to production
    and removed on Dec 12, 2024
  6. changed the title [-]Fix the pusher instance not found crash[/-] [+][HOLD for payment 2024-12-19] Fix the pusher instance not found crash[/+] on Dec 12, 2024
  7. melvin-bot commented on Dec 12, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.74-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2024-12-19. 🎊

    For reference, here are some details about the assignees on this issue:

  8. 4 remaining items

  9. melvin-bot commented on Dec 19, 2024

    @melvin-bot

    Payment Summary

    Upwork Job

    BugZero Checklist (@mallenexpensify)

    • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
    • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
    • I have paid out the Upwork contracts or cancelled the ones that are incorrect
    • I have verified the payment summary above is correct
  10. mallenexpensify commented on Dec 21, 2024

    @mallenexpensify
    Contributor

    Contributor+: @allroundexperts due $125 via NewDot

    Do we want a test case for this? Or one updated?

  11. melvin-bot commented on Dec 25, 2024

    @melvin-bot

    @mallenexpensify, @allroundexperts, @mountiny, @jnowakow Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  12. allroundexperts commented on Dec 25, 2024

    @allroundexperts
    Contributor

    I don't think we need a test case for this. In the PR, the test steps just mentioned opening the app and verifying if it crashed or not.

  13. melvin-bot commented on Dec 27, 2024

    @melvin-bot

    @mallenexpensify, @allroundexperts, @mountiny, @jnowakow Huh... This is 4 days overdue. Who can take care of this?

  14. mountiny commented on Dec 28, 2024

    @mountiny
    ContributorAuthor

    I agree, I am not sure what would be a reliable test case for this one. We will monitor the crashes in firebase

  15. mallenexpensify commented on Dec 30, 2024

    @mallenexpensify
    Contributor

    Thanks @allroundexperts and @mountiny, closing

  16. JmillsExpensify commented on Jun 10, 2025

    @JmillsExpensify
    Contributor

    $125 approved for @allroundexperts

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.DailyKSv2

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions