- Status: Fixed
- Priority: Critical
- Resolution: Fixed
- Platform: iOS
- Affects version: 1.18.0.1
An exception occurs when closing the app on the IOS Simulator:
EgfAssertError 'The not nil value is required. IconImageView'
This is the call stack:
System._DbgExcNotify(int, void*, System.SmallString<(unsigned char)255>*, void*, void*) System.NotifyReRaise(System.TObject*, void*)(0x600000339f90,0x102dff788) System._RaiseAtExcept(System.TObject*, void*)(0x600000339f90,0x102dff788) Fgx.Asserts.TfgAssert.IsNotNil(System.DelphiInterface<System.IInterface>, System.UnicodeString)(0x103862f08,nil,'IconImageView') Fgx.Edit.Ios.TfgiOSEdit.textRectForBounds(Ios.Api.Coregraphics.CGRect)(??,{origin = {x = 0, y = 0}, size = {width = 0, height = 40}}) Fgx.Edit.Ios.TfgiOSEdit.editingRectForBounds(Ios.Api.Coregraphics.CGRect)($0000600001551a40,{origin = {x = 0, y = 0}, size = {width = 0, height = 40}}) :000000010332AC40 DispatchToDelphi :000000011F4D0598 -[UITextField _selectionClipRect] :000000011ECCE414 -[UITextSelectionDisplayInteraction _selectionClipRectAt:] :000000011ECCE850 -[UITextSelectionDisplayInteraction _updateSelectionIfNeeded] :0000000107881878 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ :000000010788179C ___CFXRegistrationPost_block_invoke :0000000107880C8C _CFXRegistrationPost :0000000107880668 _CFXNotificationPost :000000010D815CB4 -[NSNotificationCenter postNotificationName:object:userInfo:] :000000011F1AE3B4 __47-[UIApplication _applicationDidEnterBackground]_block_invoke :000000011EA85E6C +[UIViewController _performWithoutDeferringTransitionsAllowingAnimation:actions:] :000000011F1AE28C -[UIApplication _applicationDidEnterBackground] :000000011E8563C8 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke_2 :000000011ED6D5EC _UIScenePerformActionsWithLifecycleActionMask :000000011E8560F4 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke :000000011E855C68 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] :000000011E855F4C -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] :000000011E855950 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] :000000011E85FC24 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke :000000011EC6E57C +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] :000000011ED837A0 _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion :000000011E85F930 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] :000000011E6BD338 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.198 :000000011E6BC0E8 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] :000000011E6BCFBC -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] :000000011EC95FFC -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] :000000011379955C -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:] :00000001137C2D4C __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2 :00000001137A4D6C -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] :00000001137C2C98 __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke :0000000107713D3C _dispatch_client_callout :0000000107717C4C _dispatch_block_invoke_direct :00000001137E4B24 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ :00000001137E4A00 -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] :00000001137E4B58 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] :00000001078B1F18 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ :00000001078B1E60 __CFRunLoopDoSource0 :00000001078B15D0 __CFRunLoopDoSources0 :00000001078ABCB8 __CFRunLoopRun :00000001078AB5A4 CFRunLoopRunSpecific :0000000113C77AE4 GSEventRunModal :000000011F1A52E4 -[UIApplication _run] :000000011F1A8F5C UIApplicationMain Fgx.Application.Ios.TfgiOSApplication.Run()($0000600003502500) ...
Exception class 6.
The simulator show this report:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x1085809ec __pthread_kill + 8 1 libsystem_pthread.dylib 0x108e871d0 pthread_kill + 256 2 libsystem_c.dylib 0x1081bb5cc abort + 104 3 libc++abi.dylib 0x105823c78 abort_message + 128 4 libc++abi.dylib 0x1058150ec demangling_terminate_handler() + 128 5 libc++abi.dylib 0x105823150 std::__terminate(void (*)()) + 12 6 libc++abi.dylib 0x1058230ec std::terminate() + 32 7 libdispatch.dylib 0x107713d50 _dispatch_client_callout + 36 8 libdispatch.dylib 0x107717c4c _dispatch_block_invoke_direct + 376 9 FrontBoardServices 0x1137e4b24 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 44 10 FrontBoardServices 0x1137e4a00 -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 196 11 FrontBoardServices 0x1137e4b58 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 24 12 CoreFoundation 0x1078b1f18 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 13 CoreFoundation 0x1078b1e60 __CFRunLoopDoSource0 + 172 14 CoreFoundation 0x1078b15d0 __CFRunLoopDoSources0 + 232 15 CoreFoundation 0x1078abcb8 __CFRunLoopRun + 768 16 CoreFoundation 0x1078ab5a4 CFRunLoopRunSpecific + 572 17 GraphicsServices 0x113c77ae4 GSEventRunModal + 160 18 UIKitCore 0x11f1a52e4 -[UIApplication _run] + 868 19 UIKitCore 0x11f1a8f5c UIApplicationMain + 124 ...
any idea what's wrong?
Fix version: 1.18.1.0
Recommended Comments
Create an account or sign in to comment