[fi.virta] App crash after opening details of a charging point
Affected app Name: Virta Package id: fi.virta
Describe the bug The app "Virta" crashs when the detailed view of a charging point is requested
To Reproduce Steps to reproduce the behavior:
- Install and open the app
- When the map is displayed, zoom in and tip on a charging station.
- The app crashs after a few seconds
Expected behavior The details of the charging point should be shown
Screenshots If applicable, add screenshots to help explain your problem.
System Android Version: 15 Custom ROM: CalyxOS 6.7.23
microG microG Core version:0.3.7.250932-18 (b12b324) microG Self-Check results: All ticked, expect "Search for accounts on the device" (see https://gitlab.com/CalyxOS/calyxos/-/issues/3200; I don't believe that the problem is related to this not checked result)
Additional context You don't need an Virta account to reproduce this issue
I found the following fatal exception in logcat while the app crashds
06-03 20:22:06.060 17015 17015 D AndroidRuntime: Shutting down VM 06-03 20:22:06.061 17015 17015 E AndroidRuntime: FATAL EXCEPTION: main 06-03 20:22:06.061 17015 17015 E AndroidRuntime: Process: fi.virta, PID: 17015 06-03 20:22:06.061 17015 17015 E AndroidRuntime: java.lang.IllegalStateException: Calling addImage when a newer style is loading/has loaded. 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at com.mapbox.mapboxsdk.maps.Style.validateState(Style.java:776) 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at com.mapbox.mapboxsdk.maps.Style.addImage(Style.java:377) 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at com.mapbox.mapboxsdk.maps.Style.addImage(Style.java:318) 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at org.microg.gms.maps.mapbox.model.BitmapDescriptorFactoryImpl$registerBitmap$2$1.invoke(BitmapDescriptorFactory.kt:124) 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at org.microg.gms.maps.mapbox.model.BitmapDescriptorFactoryImpl$registerBitmap$2$1.invoke(BitmapDescriptorFactory.kt:123) 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at org.microg.gms.maps.mapbox.GoogleMapKt.runOnMainLooper$lambda$1(GoogleMap.kt:75) 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at org.microg.gms.maps.mapbox.GoogleMapKt.$r8$lambda$dW2FHIi0lKJIyIsMsDPgDPffCCc(Unknown Source:0) 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at org.microg.gms.maps.mapbox.GoogleMapKt$$ExternalSyntheticLambda0.run(Unknown Source:2) 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:991) 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:232) 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at android.os.Looper.loop(Looper.java:317) 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8934) 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591) 06-03 20:22:06.061 17015 17015 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)