flygoodkiller 发表于 2023-3-9 11:31:20

[F-14706] 9.0预览版1 查找时点击查找下一个按钮报错

本帖最后由 David.Zhong 于 2023-3-9 17:38 编辑


问题不是100%显现,出现报错后则100%出现。

报告如下:
## Overview
- Version: 9.0.0.0
- Exception: `System.NullReferenceException`
- DateTime: 2023/3/9 11:26:58
- Email: 《======》
- Tags: #CN

## Exception
```json
{
"ClassName": "System.NullReferenceException",
"Message": "Object reference not set to an instance of an object.",
"Data": {
    "$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
    "System.Object": null
},
"InnerException": null,
"HelpURL": null,
"StackTraceString": "   at Forguncy.HelpForm.FindReplaceDialogViewModel.a(FindResultItemViewModel A_0)
   at System.Collections.Generic.List`1.FindLastIndex(Int32 startIndex, Int32 count, Predicate`1 match)
   at Forguncy.HelpForm.FindReplaceDialogViewModel.FindNextMatchItem()
   at Forguncy.HelpForm.FindReplaceDialog.FindNextButton_Click(Object sender, RoutedEventArgs e)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   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)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2147467261,
"Source": "Forguncy",
"WatsonBuckets": null
}
```

## EventLog
- 11:26:58 `MouseL`:Window:查找和替换->Button:查找下一个->查找下一个
- 11:26:56 `TextInput`:转角
- 11:26:54 `KeyDown`:Control+F
- 11:26:53 `MouseL`:Doucument.fgcc - 活字格->Spread:R23,C2 ,Table=测试目标

## ActionList

David.Zhong 发表于 2023-3-9 14:47:33

本帖最后由 David.Zhong 于 2023-3-9 17:39 编辑

感谢大佬的信息,我也找到复现的步骤了,正在帮大佬和开发反馈哈~:lol

已确认是活字格的一个问题,问题编号:F-14706

David.Zhong 发表于 2023-3-9 11:58:03

我这边用9.0做了一个demo测试,复现率0%。。。难受鸭~
大佬看看新建一个工程或者其他功能能复现不?还是说只是大佬那个工程能有概率复现?
如果是工程的问题,大佬能否上传一下工程文件吗?
或者再总结总结出现问题的规律?:dizzy:

flygoodkiller 发表于 2023-3-9 13:12:00

David.Zhong 发表于 2023-3-9 11:58
我这边用9.0做了一个demo测试,复现率0%。。。难受鸭~
大佬看看新建一个工程或者其他功能能复现不?还是说 ...




又新建了一个文件测试了一下,按此操作应该是100%出现

使用8.0.105版本新建的文件,随机新建一张表,然后使用9.0.0打开,在表里面查找,第一次肯定成功,下面再开始就100%报错了。

Patrick.Zhu 发表于 2023-5-6 10:15:49

大佬,这个问题在新的9.0.3.0版本已经修复了,欢迎下载新版本测试
页: [1]
查看完整版本: [F-14706] 9.0预览版1 查找时点击查找下一个按钮报错