Bug P3
Status Update
Comments
bi...@gmail.com <bi...@gmail.com> #2
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.isMutable()' on a null object reference
at android.graphics.Canvas.<init>(Canvas.java:113)
at com.google.maps.api.android.lib6.impl.a.a(:com.google.android.gms.policy_maps_core_dynamite@231710105@231710102065.533527097.533527097:1)
at com.google.maps.api.android.lib6.phoenix.be.run(:com.google.android.gms.policy_maps_core_dynamite@231710105@231710102065.533527097.533527097:2)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8757)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
AND
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.isMutable()' on a null object reference
at android.graphics.Canvas.<init>(Canvas.java:113)
at com.google.maps.api.android.lib6.impl.a.a(:com.google.android.gms.policy_maps_core_dynamite@231112107@231112103065.517507265.517507265:1)
at com.google.maps.api.android.lib6.phoenix.be.run(:com.google.android.gms.policy_maps_core_dynamite@231112107@231112103065.517507265.517507265:2)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7884)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
at android.graphics.Canvas.<init>(Canvas.java:113)
at com.google.maps.api.android.lib6.impl.a.a(:com.google.android.gms.policy_maps_core_dynamite@231710105@231710102065.533527097.533527097:1)
at com.google.maps.api.android.lib6.phoenix.be.run(:com.google.android.gms.policy_maps_core_dynamite@231710105@231710102065.533527097.533527097:2)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8757)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
AND
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.isMutable()' on a null object reference
at android.graphics.Canvas.<init>(Canvas.java:113)
at com.google.maps.api.android.lib6.impl.a.a(:com.google.android.gms.policy_maps_core_dynamite@231112107@231112103065.517507265.517507265:1)
at com.google.maps.api.android.lib6.phoenix.be.run(:com.google.android.gms.policy_maps_core_dynamite@231112107@231112103065.517507265.517507265:2)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7884)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
bi...@gmail.com <bi...@gmail.com> #3
Thank you for posting.
We'll need some more details to troubleshoot this issue - please provide the following, in particular steps to reproduce the issue:
-
Put together a simplified reproduction case (
http://sscce.org/ ) and add it to a git hosting provider (e.g. github, bitbucket, etc)? The easiest way to do this might be to fork the Google Maps Android API Samples Repository and modify one of the existing demo activities:https://github.com/googlemaps/android-samples -
List steps to reproduce the problem
- Maps SDK client library version (used to build your app):
- Maps renderer (Latest or Legacy):
- Devices you have verified this issue on:
- Google Play Services version on the device:
- Android version:
- Manufacturer and model:
- Was this working correctly on a previous version of Google Play Services? (If yes, which client library and SDK version?)
- Attach the following:
- screenshots
- sample code
- an APK if possible.
- If the problem exhibits itself in a released version of your app on the Play Store, optionally link us to the app, and explain how to reproduce the issue in your app.
bi...@gmail.com <bi...@gmail.com> #4
Stack trace I have taken from firebase crashlytics
Maps SDK client library version - 18.1.0
Maps renderer- MapsInitializer.Renderer.LATEST
Google Play Services version on the device: NA
Android version: Android 13, Android 12, Android 11
Manufacturer and model: samsung Galaxy S22 Ultra, samsung Galaxy S23 Ultra, Galaxy Z Fold4, Google Pixel 7 pro, Pixel 6 Pro, Pixel 6
Was this working correctly on a previous version of Google Play Services? (If yes, which client library and SDK version?) : Yes,
This issue arising when I integrated, -
MapsInitializer.initialize(applicationContext, MapsInitializer.Renderer.LATEST, this)
and taken callback in -
override fun onMapsSdkInitialized(renderer: MapsInitializer.Renderer) {
when (renderer) {
MapsInitializer.Renderer.LATEST -> Timber.d("MichelinGuideApplication = %s", "The latest version of the renderer is used.")
MapsInitializer.Renderer.LEGACY -> Timber.d("MichelinGuideApplication = %s", "The legacy version of the renderer is used.")
}
}
It is happening while taking snapshot from map.
App Name:https://play.google.com/store/apps/details?id=com.viamichelin.android.gm21
Maps SDK client library version - 18.1.0
Maps renderer- MapsInitializer.Renderer.LATEST
Google Play Services version on the device: NA
Android version: Android 13, Android 12, Android 11
Manufacturer and model: samsung Galaxy S22 Ultra, samsung Galaxy S23 Ultra, Galaxy Z Fold4, Google Pixel 7 pro, Pixel 6 Pro, Pixel 6
Was this working correctly on a previous version of Google Play Services? (If yes, which client library and SDK version?) : Yes,
This issue arising when I integrated, -
MapsInitializer.initialize(applicationContext, MapsInitializer.Renderer.LATEST, this)
and taken callback in -
override fun onMapsSdkInitialized(renderer: MapsInitializer.Renderer) {
when (renderer) {
MapsInitializer.Renderer.LATEST -> Timber.d("MichelinGuideApplication = %s", "The latest version of the renderer is used.")
MapsInitializer.Renderer.LEGACY -> Timber.d("MichelinGuideApplication = %s", "The legacy version of the renderer is used.")
}
}
It is happening while taking snapshot from map.
App Name:
bi...@gmail.com <bi...@gmail.com> #5
deleted
Description
PLEASE READ:
This form is only for reporting bugs found in the Android system while developing Android applications. Use the Developer Tools subcomponent for issues with the developer tools.https://issuetracker.google.com/issues/new?component=192633
Please describe the problem in detail. Be sure to include:
Don't forget to mention which version of Android you're using, and/or which device the problem appears on (model and Android version).
Please also run "adb bugreport" and archive the output.
To avoid the possibility of sharing private information, please share bugreports and screenshots from Google Drive. Share files withandroid-bugreport@google.com and include only Google drive links in your bug. If attaching bug reports or other sensitive data directly to issues, please mark the attachment(s) as “Restricted ( https://developers.google.com/issue-tracker/concepts/restricted-content)” when creating a bug or adding a comment. Restricting or deleting your comment or attachment can also be done using the overflow menu after submitting.
Disclaimer: Please note, by submitting this bug report, you acknowledge that Google may use information included in the bug report to diagnose technical issues and to improve our products and services, in accordance with our Privacy Policy (https://policies.google.com/privacy ), and you agree that we may share it with engineering partners potentially impacted by your issue.
Bug reports include personal information logged on your device or by apps, such as: File names Installed apps and usage Email addresses of the profiles on the device Device identifiers, such as phone number Web history information, including URLs / URIs Location information, including limited location history Network information, such as IP/SSID/MAC addresses and saved or scanned APNs System or device information, such as memory and processes