2024-05-22 04:33 AM
Dear GFX Team,
When trying to move(drag and drop) an item within a group
... This error message appears:
Error log:
2024-05-22 12:27:27,316 [1] ERROR TouchGFXDesigner.App: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at TouchGFXDomainModel.Texts.TextDatabase.MoveTextToGroupBefore(Text textToMove, Text beforeText, TextGroup textGroupTo)
at TouchGFXDesigner.Main.Project.Texts.TextTab.TextGrid.TextGridViewModel.MoveText(Text sourceText, Text targetText, TextGroup targetGroup, RelativeInsertPosition relativeInsertPosition)
at TouchGFXDesigner.Main.Project.Texts.TextTab.TextGrid.TextGridViewModel.Drop(IDropInfo dropInfo)
at GongSolutions.Wpf.DragDrop.DragDrop.DropTargetOnDrop(Object sender, DragEventArgs e, EventType eventType)
at GongSolutions.Wpf.DragDrop.DragDrop.DropTargetOnDrop(Object sender, DragEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.OleDropTarget.RaiseDragEvent(RoutedEvent dragEvent, Int32 dragDropKeyStates, Int32& effects, DependencyObject target, Point targetPoint)
at System.Windows.OleDropTarget.MS.Win32.UnsafeNativeMethods.IOleDropTarget.OleDrop(Object data, Int32 dragDropKeyStates, Int64 point, Int32& effects)
at MS.Win32.UnsafeNativeMethods.DoDragDrop(IDataObject dataObject, IOleDropSource dropSource, Int32 allowedEffects, Int32[] finalEffect)
at System.Windows.OleServicesContext.OleDoDragDrop(IDataObject dataObject, IOleDropSource dropSource, Int32 allowedEffects, Int32[] finalEffect)
at System.Windows.DragDrop.OleDoDragDrop(DependencyObject dragSource, DataObject dataObject, DragDropEffects allowedEffects)
at System.Windows.DragDrop.DoDragDrop(DependencyObject dragSource, Object data, DragDropEffects allowedEffects)
at GongSolutions.Wpf.DragDrop.DragDrop.DoDragSourceMove(Object sender, Func`2 getPosition)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Best regards
Ferro
Solved! Go to Solution.
2024-05-31 12:52 AM
Hi @LouisB
"Do you know how to reproduce this bug ?"
Hm, no I dont. It happened few times even after closing the Designer (I think it caused Designer to crash actually, dont remember) and now it works Okay. Will let you know if I find the pattern.
Best
2024-05-28 08:19 AM - edited 2024-05-28 08:20 AM
Hello @ferro.
Thank you for reporting this, I will bring up this issue to the team.
Regards.
2024-05-30 03:23 AM
Hello @ferro ,
Do you know how to reproduce this bug ? Or maybe you can send me your project in private message.
Regards,
2024-05-31 12:52 AM
Hi @LouisB
"Do you know how to reproduce this bug ?"
Hm, no I dont. It happened few times even after closing the Designer (I think it caused Designer to crash actually, dont remember) and now it works Okay. Will let you know if I find the pattern.
Best