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

NullPointerException in AuthenticationRepositoryImpl.buildAuthenticationUrl #285

Closed
balloob opened this issue Jan 22, 2020 · 0 comments · Fixed by #289
Closed

NullPointerException in AuthenticationRepositoryImpl.buildAuthenticationUrl #285

balloob opened this issue Jan 22, 2020 · 0 comments · Fixed by #289

Comments

@balloob
Copy link
Member

balloob commented Jan 22, 2020

Home Assistant Android version: 1.4.0 (77)

https://console.firebase.google.com/u/1/project/home-assistant-mobile-apps/crashlytics/app/android:io.homeassistant.companion.android/issues/0b24b4628e0777d719f20982d6249f40?time=last-seven-days&sessionId=5E27B544013D000129913C36BB94A962_DNE_0_v2

Fatal Exception: kotlin.KotlinNullPointerException
       at io.homeassistant.companion.android.data.authentication.AuthenticationRepositoryImpl.buildAuthenticationUrl(AuthenticationRepositoryImpl.kt:68)
       at io.homeassistant.companion.android.domain.authentication.AuthenticationUseCaseImpl.buildAuthenticationUrl(AuthenticationUseCaseImpl.kt:27)
       at io.homeassistant.companion.android.onboarding.authentication.AuthenticationPresenterImpl$onViewReady$1.invokeSuspend(AuthenticationPresenterImpl.kt:27)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
       at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:241)
       at android.os.Handler.handleCallback(Handler.java:873)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:193)
       at android.app.ActivityThread.main(ActivityThread.java:6923)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:870)
balloob pushed a commit that referenced this issue Jan 23, 2020
* Add null checks for HomeAssistantSearcher.
#288

* Make sure to catch the error if we can't update the device name.
#287

* Show error before we pop back on the stack.
#286

* Make sure to catch exceptions and show error before poping stacks.
#285
#286

* Linting
rauljurado620 added a commit to rauljurado620/android-apps that referenced this issue Mar 24, 2022
* Add null checks for HomeAssistantSearcher.
home-assistant/android#288

* Make sure to catch the error if we can't update the device name.
home-assistant/android#287

* Show error before we pop back on the stack.
home-assistant/android#286

* Make sure to catch exceptions and show error before poping stacks.
home-assistant/android#285
home-assistant/android#286

* Linting
zarakarlsson628 added a commit to zarakarlsson628/android-gradle-common that referenced this issue Oct 19, 2022
* Add null checks for HomeAssistantSearcher.
home-assistant/android#288

* Make sure to catch the error if we can't update the device name.
home-assistant/android#287

* Show error before we pop back on the stack.
home-assistant/android#286

* Make sure to catch exceptions and show error before poping stacks.
home-assistant/android#285
home-assistant/android#286

* Linting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant