Status Update
Comments
ni...@gmail.com <ni...@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)
th...@gmail.com <th...@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.
vi...@google.com <vi...@google.com>
ca...@gmail.com <ca...@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:
th...@gmail.com <th...@gmail.com> #6
Hi! I have the same problem. Are there any updates related to this issue? My app occasionally crashes with the same exception, this crash was discovered through Firebase Crashlytics which looks like it is affecting a lot of users.
Description
AI-193.6911.18.41.6423924, JRE 1.8.0_242-release-1644-b3-6222593x64 JetBrains s.r.o, OS Linux(amd64) v4.15.0-96-generic, screens 1366x768, 1366x768
AS: 4.1 Canary 8; Kotlin plugin: 1.3.72-release-Studio4.0-1; Android Gradle Plugin: 4.1.0-alpha08; Gradle: 6.3; NDK: from local.properties: (not specified), latest from SDK: 20.0.5594570; LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: 3.10.2, from PATH: 3.5.1
Reproduce steps
---------------
1) Create a new android project with Empty Activity
2) Create a Button without constraints
Expected : Error should be displayed stating constraints should be given to the new Button
Actual : No errors displayed