Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

[Bug] Crash @kotlin.KotlinNullPointerException: at mozilla.components.service.fxa.manager.FxaAccountManager.postAuthenticated(FxaAccountManager.kt:36) #12000

Closed
bobintetley opened this issue Jun 26, 2020 · 5 comments
Labels
b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info 🐞 bug Crashes, Something isn't working, .. Feature:Accounts feature:Pairing needs:ac Needs Android Component Work

Comments

@bobintetley
Copy link

bobintetley commented Jun 26, 2020

When I sign in to firefox and go through the pairing procedure, everything appears to work. I'm shown the success message on both phone and desktop browser. Once approval is given on both devices, approx 2 seconds later the app crashes. There is nothing in the logs via logcat. Let me know if there's any other debug information I can get to assist.

Device information

  • Android device: OnePlus 5T
  • Fenix version: 77.0.0-beta.2 Build #2015744451 42.0.1 5bf46033e GV: 77.0-20200526221856 AS: 0.58.2 Friday 6/5 @ 8:21 AM

┆Issue is synchronized with this Jira Task

@bobintetley bobintetley added the 🐞 bug Crashes, Something isn't working, .. label Jun 26, 2020
@github-actions github-actions bot added the needs:triage Issue needs triage label Jun 26, 2020
@ekager
Copy link
Contributor

ekager commented Jun 26, 2020

Hi @bobintetley ! When you go to about:crashes is there anything to report from there?

@bobintetley
Copy link
Author

bobintetley commented Jun 26, 2020 via email

@ekager
Copy link
Contributor

ekager commented Jun 26, 2020

Thanks!

@ekager ekager added b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info Feature:Accounts feature:Pairing and removed needs:triage Issue needs triage labels Jun 26, 2020
@kbrosnan kbrosnan changed the title [Bug] Crash when performing sync in beta [Bug] Crash @kotlin.KotlinNullPointerException: at mozilla.components.service.fxa.manager.FxaAccountManager.postAuthenticated(FxaAccountManager.kt:36) Jun 26, 2020
@kbrosnan kbrosnan added the a-s Application Services work needed label Jun 26, 2020
@kbrosnan
Copy link
Contributor

https://crash-stats.mozilla.org/signature/?product=Fenix&signature=kotlin.KotlinNullPointerException%3A%20at%20mozilla.components.service.fxa.manager.FxaAccountManager.postAuthenticated%28FxaAccountManager.kt%3A36%29

I'm not seeing this signature at all when searching Sentry for FxaAccountManager.postAuthenticated. I checked all the active Fenix projects.

@grigoryk
Copy link
Contributor

This is in a-c, not a-s.

The obvious thing that can NPE in that stacktrace (unfortunately line numbers are wrong) is fxaDeviceId = account.getCurrentDeviceId()!!.

Filed mozilla-mobile/android-components#7536 to track this.

@kbrosnan kbrosnan added the needs:ac Needs Android Component Work label Jun 26, 2020
@kbrosnan kbrosnan closed this as completed Aug 3, 2020
@data-sync-user data-sync-user changed the title [Bug] Crash @kotlin.KotlinNullPointerException: at mozilla.components.service.fxa.manager.FxaAccountManager.postAuthenticated(FxaAccountManager.kt:36) FNX3-15064 ⁃ [Bug] Crash @kotlin.KotlinNullPointerException: at mozilla.components.service.fxa.manager.FxaAccountManager.postAuthenticated(FxaAccountManager.kt:36) Aug 11, 2020
@data-sync-user data-sync-user changed the title FNX3-15064 ⁃ [Bug] Crash @kotlin.KotlinNullPointerException: at mozilla.components.service.fxa.manager.FxaAccountManager.postAuthenticated(FxaAccountManager.kt:36) FNX-13012 ⁃ [Bug] Crash @kotlin.KotlinNullPointerException: at mozilla.components.service.fxa.manager.FxaAccountManager.postAuthenticated(FxaAccountManager.kt:36) Aug 11, 2020
@data-sync-user data-sync-user changed the title FNX-13012 ⁃ [Bug] Crash @kotlin.KotlinNullPointerException: at mozilla.components.service.fxa.manager.FxaAccountManager.postAuthenticated(FxaAccountManager.kt:36) FNX2-13039 ⁃ [Bug] Crash @kotlin.KotlinNullPointerException: at mozilla.components.service.fxa.manager.FxaAccountManager.postAuthenticated(FxaAccountManager.kt:36) Aug 11, 2020
@liuche liuche closed this as completed Aug 12, 2020
@data-sync-user data-sync-user changed the title FNX2-13039 ⁃ [Bug] Crash @kotlin.KotlinNullPointerException: at mozilla.components.service.fxa.manager.FxaAccountManager.postAuthenticated(FxaAccountManager.kt:36) [Bug] Crash @kotlin.KotlinNullPointerException: at mozilla.components.service.fxa.manager.FxaAccountManager.postAuthenticated(FxaAccountManager.kt:36) May 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info 🐞 bug Crashes, Something isn't working, .. Feature:Accounts feature:Pairing needs:ac Needs Android Component Work
Projects
None yet
Development

No branches or pull requests

6 participants