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

Crash in camera demo activity #795

Closed
alishari opened this issue Dec 15, 2021 · 1 comment
Closed

Crash in camera demo activity #795

alishari opened this issue Dec 15, 2021 · 1 comment
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@alishari
Copy link
Contributor

Kotlin version of ApiDemos crashed when I wanted to open the Camera demo. It seems the initialization of the map object was removed by mistake in this commit.

Logs:

    Process: com.example.kotlindemos.gms, PID: 2626
    kotlin.UninitializedPropertyAccessException: lateinit property map has not been initialized
        at com.example.kotlindemos.CameraDemoActivity.addCameraTargetToPath(CameraDemoActivity.kt:377)
        at com.example.kotlindemos.CameraDemoActivity.onCameraMoveStarted(CameraDemoActivity.kt:326)
        at com.google.android.gms.maps.zzu.zzb(com.google.android.gms:play-services-maps@@18.0.0:1)
        at com.google.android.gms.maps.internal.zzu.zza(com.google.android.gms:play-services-maps@@18.0.0:2)
        at com.google.android.gms.internal.maps.zzb.onTransact(com.google.android.gms:play-services-maps@@18.0.0:3)
        at android.os.Binder.transact(Binder.java:1064)
@alishari alishari added triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Dec 15, 2021
@arriolac arriolac added priority: p2 Moderately-important priority. Fix may not be included in next release. and removed triage me I really want to be triaged. labels Dec 15, 2021
@arriolac
Copy link
Contributor

Closed by #796

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants