Carlos marin Active Member Licensed User Longtime User Apr 23, 2020 #1 everything was working fine and out of nowhere my application comes out with this error it doesn't tell me where I don't have how to debug it I don't know what happens
everything was working fine and out of nowhere my application comes out with this error it doesn't tell me where I don't have how to debug it I don't know what happens
JohnC Expert Licensed User Longtime User Apr 23, 2020 #2 Hey, I am NOW getting that exact outofbounds error when displaying a map - so that must mean something is wrong on google's end. The google maps app itself also crashes, so it's definitely something up with googles servers. Last edited: Apr 23, 2020 Upvote 0
Hey, I am NOW getting that exact outofbounds error when displaying a map - so that must mean something is wrong on google's end. The google maps app itself also crashes, so it's definitely something up with googles servers.
Carlos marin Active Member Licensed User Longtime User Apr 23, 2020 #3 is there any way to ask for support with google or what can be done I have my apps down Upvote 0
JohnC Expert Licensed User Longtime User Apr 23, 2020 #4 Since google's own "Google Maps" app is crashing, I'm sure they are aware of it and it's a top priority to get it fixed ASAP. So, I would expect it to be fixed within the hour. Upvote 0
Since google's own "Google Maps" app is crashing, I'm sure they are aware of it and it's a top priority to get it fixed ASAP. So, I would expect it to be fixed within the hour.
Carlos marin Active Member Licensed User Longtime User Apr 23, 2020 #5 How can I control this error that my app does not close at once I stop working completely. Upvote 0
JohnC Expert Licensed User Longtime User Apr 23, 2020 #6 Try doing these things 1) Don't load any layouts that have "Mapview" in them. 2) Don't Dim/Enable/Initialize any GoogleMap or MapFragment objects. 3) Don't do MapFrag.IsGooglePlayServicesAvailable Upvote 0
Try doing these things 1) Don't load any layouts that have "Mapview" in them. 2) Don't Dim/Enable/Initialize any GoogleMap or MapFragment objects. 3) Don't do MapFrag.IsGooglePlayServicesAvailable
Carlos marin Active Member Licensed User Longtime User Apr 23, 2020 #7 I am looking at other applications and they perfectly control this error but my app for more try cash that I implement and try to manage it simply closes and that's it. Upvote 0
I am looking at other applications and they perfectly control this error but my app for more try cash that I implement and try to manage it simply closes and that's it.
JohnC Expert Licensed User Longtime User Apr 23, 2020 #8 Try running those other apps a few more times, I bet they will also crash. I say this because the first run of my app didn't crash - it would just not show the background map (streets, roads) on that first run. But when I ran my app again, it crashed with the same IDE log error you got. Hey, if google's own "Maps" app is crashing, you shouldn't feel too bad if your app also crashes. Upvote 0
Try running those other apps a few more times, I bet they will also crash. I say this because the first run of my app didn't crash - it would just not show the background map (streets, roads) on that first run. But when I ran my app again, it crashed with the same IDE log error you got. Hey, if google's own "Maps" app is crashing, you shouldn't feel too bad if your app also crashes.
F FrankDev Active Member Licensed User Longtime User Apr 23, 2020 #9 the same thing with me. Some problems are solved by waiting. There's no point in looking for a solution now. Upvote 0
the same thing with me. Some problems are solved by waiting. There's no point in looking for a solution now.
Carlos marin Active Member Licensed User Longtime User Apr 23, 2020 #10 thank you very much for your contributions friends I thank you very much it seems that the failure is global Upvote 0
thank you very much for your contributions friends I thank you very much it seems that the failure is global
Carlos marin Active Member Licensed User Longtime User Apr 23, 2020 #11 Google Issue Tracker issuetracker.google.com Upvote 0
A Alex_197 Well-Known Member Licensed User Longtime User Apr 24, 2020 #12 Try it as Intent - works for me [CODE lang="b4x" title="Google Map Intent"] private Sub ShowMap Try Dim Intent1 As Intent Dim urlMap As String="https://www.google.com/maps/search/" Dim su As StringUtils Dim Address As String Address=lblAddress.Text Address=Address.Replace(CRLF," ") Address=su.EncodeUrl(Address,"UTF-8") urlMap=urlMap & Address Intent1.Initialize(Intent1.ACTION_VIEW,urlMap) Intent1.SetComponent("googlemaps") StartActivity(Intent1) Catch Log("ShowMap " & LastException) modFun.ShowError("ShowMap " & LastException) End Try End Sub [/CODE] Upvote 0
Try it as Intent - works for me [CODE lang="b4x" title="Google Map Intent"] private Sub ShowMap Try Dim Intent1 As Intent Dim urlMap As String="https://www.google.com/maps/search/" Dim su As StringUtils Dim Address As String Address=lblAddress.Text Address=Address.Replace(CRLF," ") Address=su.EncodeUrl(Address,"UTF-8") urlMap=urlMap & Address Intent1.Initialize(Intent1.ACTION_VIEW,urlMap) Intent1.SetComponent("googlemaps") StartActivity(Intent1) Catch Log("ShowMap " & LastException) modFun.ShowError("ShowMap " & LastException) End Try End Sub [/CODE]
Erel B4X founder Staff member Licensed User Longtime User Apr 24, 2020 #13 I'm unable to reproduce this error. Does it still happen? Upvote 0
Jorge M A Well-Known Member Licensed User Longtime User Apr 24, 2020 #14 Google Maps SDK is crashing -- partially resolved Latest status: We believe the crashes of Google Maps SDK have been fixed for iOS. For Android, crash are still happening, and a fix is being worked on with the highest priority. The current ETA for this fix is 48 hours, but we are doing everything we can to speed up the process. Possible workaround: Customers for whom clearing application data is safe can recommend their users clear data for the applications (not just the cache). For Android, multiple developers mentioned a workaround consisting in deleting the ZoomTable.data file directly from their application. After review, this fix seems safe, and you could try it in your application. Please refer to https://issuetracker.google.com/154855417#comment179. source: https://issuetracker.google.com/issues/154855417 Upvote 0
Google Maps SDK is crashing -- partially resolved Latest status: We believe the crashes of Google Maps SDK have been fixed for iOS. For Android, crash are still happening, and a fix is being worked on with the highest priority. The current ETA for this fix is 48 hours, but we are doing everything we can to speed up the process. Possible workaround: Customers for whom clearing application data is safe can recommend their users clear data for the applications (not just the cache). For Android, multiple developers mentioned a workaround consisting in deleting the ZoomTable.data file directly from their application. After review, this fix seems safe, and you could try it in your application. Please refer to https://issuetracker.google.com/154855417#comment179. source: https://issuetracker.google.com/issues/154855417
B brunnlechner Member Licensed User Longtime User Apr 24, 2020 #15 [CODE title="If you want your users to continue using your app without re-installing, add this to the Application.onCreate():"] SharedPreferences googleBug = getSharedPreferences("google_bug", Context.MODE_PRIVATE); if (!googleBug.contains("fixed")) { File corruptedZoomTables = new File(getFilesDir(), "ZoomTables.data"); corruptedZoomTables.delete(); googleBug.edit().putBoolean("fixed", true).apply(); }[/CODE] Is this also possible in B4A? Upvote 0
[CODE title="If you want your users to continue using your app without re-installing, add this to the Application.onCreate():"] SharedPreferences googleBug = getSharedPreferences("google_bug", Context.MODE_PRIVATE); if (!googleBug.contains("fixed")) { File corruptedZoomTables = new File(getFilesDir(), "ZoomTables.data"); corruptedZoomTables.delete(); googleBug.edit().putBoolean("fixed", true).apply(); }[/CODE] Is this also possible in B4A?
Erel B4X founder Staff member Licensed User Longtime User Apr 26, 2020 #16 Code: If File.Exist(File.DirInternal, "google_bug") = False Then File.Delete(File.DirInternal, "ZoomTables.data") File.WriteString(File.DirInternal, "google_bug", "") End If Upvote 0
Code: If File.Exist(File.DirInternal, "google_bug") = False Then File.Delete(File.DirInternal, "ZoomTables.data") File.WriteString(File.DirInternal, "google_bug", "") End If