Hi Team,
my iOS app is crashing after update to 14.3 stable version.
It does not always happen, just occur if I switch from page A to page B quickly. And both pages have their own map
[0:] ThinkGeo Message - 22:57:16.7094190: Tile 11: 0-0-0 SetImageAsync Start
System.NullReferenceException: ‘Loading…’
Thread finished: #206
The thread 206 has exited with code 0 (0x0).
System.NullReferenceException: ‘Object reference not set to an instance of an object.’
2025-05-16 22:57:35.101671+1000 myapp[86274:4124106]
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at ThinkGeo.Core.MapUtil.GetScale(RectangleShape worldExtent, Double screenWidth, GeographyUnit worldExtentUnit, Single dpi)
at ThinkGeo.UI.Maui.EditInteractiveOverlay.TransformCore(RectangleShape extent, IMapView mapView)
at ThinkGeo.UI.Maui.Overlay.Transform(RectangleShape extent, IMapView mapView)
at ThinkGeo.UI.Maui.MapView.QEc=.R0c=(Double progress)
at Microsoft.Maui.Controls.Animation.<>c__DisplayClass2_0.<.ctor>b__0(Double f)
at Microsoft.Maui.Controls.Animation.b__5_0(Double f)
at Microsoft.Maui.Controls.Animation.b__5_0(Double f)
at Microsoft.Maui.Controls.AnimationExtensions.<>c__DisplayClass21_01[[System.Double, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<AnimateInternal>b__0(Double f) at Microsoft.Maui.Controls.AnimationExtensions.HandleTweenerUpdated(Object o, EventArgs args) at Microsoft.Maui.Controls.Tweener.Step(Int64 step) at Microsoft.Maui.Controls.TweenerAnimation.OnTick(Double millisecondsSinceLastUpdate) at Microsoft.Maui.Animations.Animation.Tick(Double milliseconds) at Microsoft.Maui.Animations.AnimationManager.<>c__DisplayClass20_0.<OnFire>g__OnAnimationTick|0(Animation animation) at System.Collections.Generic.List
1[[Microsoft.Maui.Animations.Animation, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].ForEach(Action1 action) at Microsoft.Maui.Animations.AnimationManager.OnFire() at Microsoft.Maui.Animations.PlatformTicker.<Start>b__3_0() at Foundation.NSActionDispatcher.Apply() in /Users/builder/azdo/_work/7/s/macios/src/Foundation/NSAction.cs:line 64 --- End of stack trace from previous location --- at ObjCRuntime.Runtime.ThrowException(IntPtr gchandle) in /Users/builder/azdo/_work/7/s/macios/src/ObjCRuntime/Runtime.cs:line 2831 at UIKit.UIApplication.UIApplicationMain(Int32 argc, String[] argv, IntPtr principalClassName, IntPtr delegateClassName) in /Users/builder/azdo/_work/7/s/macios/src/UIKit/UIApplication.cs:line 75 at UIKit.UIApplication.Main(String[] args, Type principalClass, Type delegateClass) in /Users/builder/azdo/_work/7/s/macios/src/UIKit/UIApplication.cs:line 107 at myapp.Program.Main(String[] args) in C:\Users\Jimmy Pun\Desktop\Projects\myapp-MAUI\myapp\Platforms\iOS\Program.cs:line 13 2025-05-16 22:57:35.108232+1000 myapp[86274:4124106] Unhandled managed exception: Object reference not set to an instance of an object. (System.NullReferenceException) at ThinkGeo.Core.MapUtil.GetScale(RectangleShape worldExtent, Double screenWidth, GeographyUnit worldExtentUnit, Single dpi) at ThinkGeo.UI.Maui.EditInteractiveOverlay.TransformCore(RectangleShape extent, IMapView mapView) at ThinkGeo.UI.Maui.Overlay.Transform(RectangleShape extent, IMapView mapView) at ThinkGeo.UI.Maui.MapView.QEc=.R0c=(Double progress) at Microsoft.Maui.Controls.Animation.<>c__DisplayClass2_0.<.ctor>b__0(Double f) at Microsoft.Maui.Controls.Animation.<GetCallback>b__5_0(Double f) at Microsoft.Maui.Controls.Animation.<GetCallback>b__5_0(Double f) at Microsoft.Maui.Controls.AnimationExtensions.<>c__DisplayClass21_0
1[[System.Double, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].b__0(Double f)
at Microsoft.Maui.Controls.AnimationExtensions.HandleTweenerUpdated(Object o, EventArgs args)
at Microsoft.Maui.Controls.Tweener.Step(Int64 step)
at Microsoft.Maui.Controls.TweenerAnimation.OnTick(Double millisecondsSinceLastUpdate)
at Microsoft.Maui.Animations.Animation.Tick(Double milliseconds)
at Microsoft.Maui.Animations.AnimationManager.<>c__DisplayClass20_0.g__OnAnimationTick|0(Animation animation)
at System.Collections.Generic.List1[[Microsoft.Maui.Animations.Animation, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].ForEach(Action
1 action)
at Microsoft.Maui.Animations.AnimationManager.OnFire()
at Microsoft.Maui.Animations.PlatformTicker.b__3_0()
at Foundation.NSActionDispatcher.Apply() in /Users/builder/azdo/_work/7/s/macios/src/Foundation/NSAction.cs:line 64
— End of stack trace from previous location —
at ObjCRuntime.Runtime.ThrowException(IntPtr gchandle) in /Users/builder/azdo/_work/7/s/macios/src/ObjCRuntime/Runtime.cs:line 2831
at UIKit.UIApplication.UIApplicationMain(Int32 argc, String[] argv, IntPtr principalClassName, IntPtr delegateClassName) in /Users/builder/azdo/_work/7/s/macios/src/UIKit/UIApplication.cs:line 75
at UIKit.UIApplication.Main(String[] args, Type principalClass, Type delegateClass) in /Users/builder/azdo/_work/7/s/macios/src/UIKit/UIApplication.cs:line 107
at myapp.Program.Main(String[] args) in C:\Users\Jimmy Pun\Desktop\Projects\myapp-MAUI\myapp\Platforms\iOS\Program.cs:line 13
=================================================================
Native Crash Reporting
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Native stacktrace:
0x105dd291c - /Users/jimmypun/Library/Developer/CoreSimulator/Devices/879C5EF5-2BE4-4A9B-AC50-D9EFDADA0CBC/data/Containers/Bundle/Application/B2F371AA-F447-417C-98EA-6DC40EA69E67/myapp.app/libmonosgen-2.0.dylib : mono_dump_native_crash_info
0x105d7f6d8 - /Users/jimmypun/Library/Developer/CoreSimulator/Devices/879C5EF5-2BE4-4A9B-AC50-D9EFDADA0CBC/data/Containers/Bundle/Application/B2F371AA-F447-417C-98EA-6DC40EA69E67/myapp.app/libmonosgen-2.0.dylib : mono_handle_native_crash
0x105f4b350 - /Users/jimmypun/Library/Developer/CoreSimulator/Devices/879C5EF5-2BE4-4A9B-AC50-D9EFDADA0CBC/data/Containers/Bundle/Application/B2F371AA-F447-417C-98EA-6DC40EA69E67/myapp.app/libmonosgen-2.0.dylib : sigabrt_signal_handler.cold.1
0x105dd2200 - /Users/jimmypun/Library/Developer/CoreSimulator/Devices/879C5EF5-2BE4-4A9B-AC50-D9EFDADA0CBC/data/Containers/Bundle/Application/B2F371AA-F447-417C-98EA-6DC40EA69E67/myapp.app/libmonosgen-2.0.dylib : mono_runtime_setup_stat_profiler
0x104b03640 - /usr/lib/system/libsystem_platform.dylib : _sigtramp
0x104f7a2ec - /usr/lib/system/libsystem_pthread.dylib : pthread_kill
0x1801704ec - /Library/Developer/CoreSimulator/Volumes/iOS_22D8075/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_c.dylib : abort
0x105a77558 - /Users/jimmypun/Library/Developer/CoreSimulator/Devices/879C5EF5-2BE4-4A9B-AC50-D9EFDADA0CBC/data/Containers/Bundle/Application/B2F371AA-F447-417C-98EA-6DC40EA69E67/myapp.app/libxamarin-dotnet-debug.dylib : xamarin_find_protocol_wrapper_type
0x105e63724 - /Users/jimmypun/Library/Developer/CoreSimulator/Devices/879C5EF5-2BE4-4A9B-AC50-D9EFDADA0CBC/data/Containers/Bundle/Application/B2F371AA-F447-417C-98EA-6DC40EA69E67/myapp.app/libmonosgen-2.0.dylib : mono_invoke_unhandled_exception_hook
0x105d42a68 - /Users/jimmypun/Library/Developer/CoreSimulator/Devices/879C5EF5-2BE4-4A9B-AC50-D9EFDADA0CBC/data/Containers/Bundle/Application/B2F371AA-F447-417C-98EA-6DC40EA69E67/myapp.app/libmonosgen-2.0.dylib : mono_jit_exec
0x105a8ba6c - /Users/jimmypun/Library/Developer/CoreSimulator/Devices/879C5EF5-2BE4-4A9B-AC50-D9EFDADA0CBC/data/Containers/Bundle/Application/B2F371AA-F447-417C-98EA-6DC40EA69E67/myapp.app/libxamarin-dotnet-debug.dylib : xamarin_main
0x1043b4518 - /Users/jimmypun/Library/Developer/CoreSimulator/Devices/879C5EF5-2BE4-4A9B-AC50-D9EFDADA0CBC/data/Containers/Bundle/Application/B2F371AA-F447-417C-98EA-6DC40EA69E67/myapp.app/myapp : main
0x104b31410 - Unknown
0x10486ab4c - Unknown
=================================================================
Basic Fault Address Reporting
Memory around native instruction pointer (0x1058b8874):0x1058b8864 c0 03 5f d6 c0 03 5f d6 10 29 80 d2 01 10 00 d4 ………)…
0x1058b8874 e3 00 00 54 fd 7b bf a9 fd 03 00 91 16 e3 ff 97 …T.{…
0x1058b8884 bf 03 00 91 fd 7b c1 a8 c0 03 5f d6 c0 03 5f d6 …{…….
0x1058b8894 70 0a 80 d2 01 10 00 d4 e3 00 00 54 fd 7b bf a9 p…T.{…
=================================================================
Managed Stacktrace:
=================================================================