MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.16k stars 1.12k forks source link

[Sentry] Error: TaskQueue: Error with task : The 'navigation' object hasn't been initialized yet. This might happ... #7663

Open sentry-io[bot] opened 1 year ago

sentry-io[bot] commented 1 year ago

Sentry Issue: METAMASK-MOBILE-24DE

Error: TaskQueue: Error with task : The 'navigation' object hasn't been initialized yet. This might happen if you don't have a navigator mounted, or if the navigator hasn't finished mounting. See https://reactnavigation.org/docs/navigating-without-navigatio...
  at dispatch (app:///index.android.bundle:1:7721047)
  at navigate (app:///index.android.bundle:1:1643545)
  at anonymous (app:///index.android.bundle:1:7859317)
  at processNext (app:///index.android.bundle:1:576487)
  at _processUpdate (app:///index.android.bundle:1:575173)
...
(10 additional frame(s) were not displayed)

Comment: This seems to happen alongside deep linking activity.

sentry-io[bot] commented 1 year ago

Sentry issue: METAMASK-MOBILE-24ED

sentry-io[bot] commented 1 year ago

Sentry issue: METAMASK-MOBILE-23ZN

sentry-io[bot] commented 1 year ago

Sentry issue: METAMASK-MOBILE-23ZT

sentry-io[bot] commented 1 year ago

Sentry issue: METAMASK-MOBILE-23PK

sentry-io[bot] commented 11 months ago

Sentry issue: METAMASK-MOBILE-25ET

sentry-io[bot] commented 11 months ago

Sentry issue: METAMASK-MOBILE-253G

sentry-io[bot] commented 11 months ago

Sentry issue: METAMASK-MOBILE-2546

sentry-io[bot] commented 11 months ago

Sentry issue: METAMASK-MOBILE-254M

sentry-io[bot] commented 11 months ago

Sentry issue: METAMASK-MOBILE-25WV

sentry-io[bot] commented 8 months ago

Sentry Issue: METAMASK-MOBILE-28V6

sentry-io[bot] commented 8 months ago

Sentry Issue: METAMASK-MOBILE-28X9

gauthierpetetin commented 8 months ago

Hi @ezgi-cengiz @andreahaku , we've assigned this issue to the SDK team as it seems to happen alongside deep linking activity.

sethkfman commented 8 months ago

Sentry issue: METAMASK-MOBILE-294G

sentry-io[bot] commented 8 months ago

Sentry Issue: METAMASK-MOBILE-294G

christopherferreira9 commented 7 months ago

Hi all! After looking at this I didn't manage to find any deeplink related information and wasn't able to replicate it in any way. @sethkfman @gauthierpetetin

sentry-io[bot] commented 6 months ago

Sentry Issue: METAMASK-MOBILE-2CVS

sentry-io[bot] commented 5 months ago

Sentry Issue: METAMASK-MOBILE-2CVG

NicolasMassart commented 5 months ago

Still not reproduced by @MetaMask/sdk-devs

christopherferreira9 commented 4 months ago

Closing this issue as we weren't able to reproduce the issue and it seems to be present on 7.21.0 only.

sentry-io[bot] commented 3 weeks ago

Sentry Issue: METAMASK-MOBILE-27XW

NicolasMassart commented 3 weeks ago

@christopherferreira9 this is also present on recent releases like 7.32.0 Marking it as sev1 as it leads to unhandled exception

christopherferreira9 commented 3 weeks ago

@NicolasMassart we have a possible fix here done a few weeks ago but E2Es were not passing at that time. @omridan159 can you please solve the conflicts and have it ready for merge once you get back?

sentry-io[bot] commented 2 weeks ago

Sentry Issue: METAMASK-MOBILE-2S5P

Daniel-Cross commented 1 week ago

This seems to stem from an initiation issue after connecting a wallet to a new chain.

It would seem from the linked Sentry issue, a user tried to add a new network, in this case story testnet with chain id 1513. The deeplink then opened Wallet Connect and the user connected their wallet. Then when returning to the app, navigation was not initiated and the app crashed.

Need to take a deeper look into replicating this issue and what might cause that to happen.