[GH-ISSUE #143] There was an error adding the tag #2040

Closed
opened 2026-03-01 17:17:07 +03:00 by kerem · 2 comments
Owner

Originally created by @panfeng88168 on GitHub (Jul 10, 2021).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/143

Originally assigned to: @VShawn on GitHub.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Add'
  2. Click on 'Add'
  3. Click on Tags 'Add'
  4. See error

Environment

Component Version
PRemoteM 0.5.11(EXE Release)
.NET Framework .NET Framework 4.8
CLR 4.0.30319.42000
OS Windows 10 Enterprise 64-bits 6.2.9200.0 (2009)

Error Info

未将对象引用设置到对象的实例。

Stack Trace

   在 PRM.Controls.TagsEditor.AddNewTag() 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Controls\TagsEditor.xaml.cs:行号 69
   在 PRM.Controls.TagsEditor.Button_OnClick(Object sender, RoutedEventArgs e) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Controls\TagsEditor.xaml.cs:行号 90
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   在 System.Windows.Controls.Primitives.ButtonBase.OnClick()
   在 System.Windows.Controls.Button.OnClick()
   在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   在 System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log

2021-07-10T14:21:29.8670494+08:00[ThreadId:0000000001]		Debug		RDP Host: init conn bar
2021-07-10T14:21:29.8680543+08:00[ThreadId:0000000001]		Debug		RDP Host: init Redirect
2021-07-10T14:21:29.8690532+08:00[ThreadId:0000000001]		Debug		RDP Host: init Display with ScaleFactor = 100, W = 794, H = 559
2021-07-10T14:21:29.8700714+08:00[ThreadId:0000000001]		Debug		RDP Host: Display init as RDP.DesktopWidth = 794, RDP.DesktopWidth = 794,
2021-07-10T14:21:29.8710558+08:00[ThreadId:0000000001]		Debug		RDP Host: init Performance
2021-07-10T14:21:29.8720519+08:00[ThreadId:0000000001]		Debug		RdpInit: DisplayPerformance = Auto, flag = 0
2021-07-10T14:21:29.8732425+08:00[ThreadId:0000000001]		Debug		RDP Host: init Gateway
2021-07-10T14:21:29.8740515+08:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Initialized
2021-07-10T14:21:29.8790526+08:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Connecting
2021-07-10T14:21:29.9443504+08:00[ThreadId:0000000001]		Debug		Start Conn: test(49222835) by host(40774967) with Tab(19534911)
2021-07-10T14:21:29.9443775+08:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1
2021-07-10T14:21:30.6206062+08:00[ThreadId:0000000001]		Debug		RDP Host:  RdpOnOnConnected
2021-07-10T14:21:30.6226592+08:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Connected
2021-07-10T14:21:30.7405975+08:00[ThreadId:0000000002]		Debug		RDP Host: _rdp.Dispose()
2021-07-10T14:21:32.5077722+08:00[ThreadId:0000000001]		Debug		RDP Host:  RdpOnOnLoginComplete
2021-07-10T14:21:32.5117729+08:00[ThreadId:0000000001]		Debug		RDP resize to: W = 794, H = 559, ScaleFactor = 100
2021-07-10T14:21:49.7918108+08:00[ThreadId:0000000001]		Debug		Tab size change to:W = 1936, H = 1056, Child NaN, NaN
2021-07-10T14:21:49.8958081+08:00[ThreadId:0000000001]		Debug		Tab size change to:W = 1936, H = 1056, Child NaN, NaN
2021-07-10T14:21:50.5632067+08:00[ThreadId:0000000006]		Debug		RDP resize to: W = 1916, H = 1003, ScaleFactor = 100
2021-07-10T14:21:50.9480209+08:00[ThreadId:0000000008]		Debug		RDP resize to: W = 1916, H = 1003, ScaleFactor = 100
2021-07-10T14:21:57.0260777+08:00[ThreadId:0000000001]		Debug		Tab size change to:W = 800, H = 600, Child NaN, NaN
2021-07-10T14:21:57.1940736+08:00[ThreadId:0000000001]		Debug		Tab size change to:W = 800, H = 600, Child NaN, NaN
2021-07-10T14:21:57.8249900+08:00[ThreadId:0000000009]		Debug		RDP resize to: W = 794, H = 559, ScaleFactor = 100
2021-07-10T14:21:59.1414352+08:00[ThreadId:0000000001]		Debug		Tab size change to:W = 1936, H = 1056, Child NaN, NaN
2021-07-10T14:21:59.2330317+08:00[ThreadId:0000000001]		Debug		Tab size change to:W = 1936, H = 1056, Child NaN, NaN
2021-07-10T14:22:00.1255585+08:00[ThreadId:0000000006]		Debug		RDP resize to: W = 1916, H = 1003, ScaleFactor = 100
2021-07-10T14:22:30.2955711+08:00[ThreadId:0000000001]		Debug		Remove connectionId = 1 from tab(19534911)
2021-07-10T14:22:30.5719298+08:00[ThreadId:0000000001]		Debug		RDP to FullScreen resize ParentWindow to : W = 1920, H = 1080, while screen size is 1920 × 1080, ScaleFactor = 100
2021-07-10T14:22:30.5729281+08:00[ThreadId:0000000001]		Debug		RDP resize to: W = 1920, H = 1080, ScaleFactor = 100
2021-07-10T14:22:30.7013260+08:00[ThreadId:0000000001]		Debug		Move host(40774967) to full(61073976)
2021-07-10T14:22:30.7023282+08:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 1, FullWin.Count = 1, _tabWindows.Count = 1
2021-07-10T14:22:30.7043268+08:00[ThreadId:0000000001]		Debug		Close tab(19534911)
2021-07-10T14:22:30.7085431+08:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 1, FullWin.Count = 1, _tabWindows.Count = 0
2021-07-10T14:22:40.8088077+08:00[ThreadId:0000000001]		Debug		Hide full(61073976)
2021-07-10T14:22:40.8508071+08:00[ThreadId:0000000001]		Debug		Tab size change to:W = 1936, H = 1056, Child , 
2021-07-10T14:22:41.0238255+08:00[ThreadId:0000000001]		Debug		Tab size change to:W = 1936, H = 1056, Child NaN, NaN
2021-07-10T14:22:41.2458244+08:00[ThreadId:0000000001]		Debug		Move host(40774967) to tab(50900362)
2021-07-10T14:22:41.2468230+08:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 1, FullWin.Count = 1, _tabWindows.Count = 1
2021-07-10T14:22:41.5537661+08:00[ThreadId:0000000008]		Debug		RDP resize to: W = 1916, H = 1003, ScaleFactor = 100
2021-07-10T14:23:16.9520236+08:00[ThreadId:0000000001]		Debug		Close full(61073976)
2021-07-10T14:23:16.9670856+08:00[ThreadId:0000000001]		Debug		Remove connectionId = 1 from tab(50900362)
2021-07-10T14:23:16.9681298+08:00[ThreadId:0000000001]		Debug		DelProtocolHost host(40774967)
2021-07-10T14:23:16.9696652+08:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1
2021-07-10T14:23:16.9705857+08:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-07-10T14:23:16.9735877+08:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2021-07-10T14:23:16.9775898+08:00[ThreadId:0000000001]		Debug		Close tab(50900362)
2021-07-10T14:23:17.0005808+08:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 0
2021-07-10T14:23:17.0295509+08:00[ThreadId:0000000001]		Debug		RDP Host: RdpOnDisconnected
2021-07-10T14:23:26.4256764+08:00[ThreadId:0000000002]		Debug		RDP Host: _rdp.Dispose()
2021-07-10T14:23:30.2456354+08:00[ThreadId:0000000001]		Fatal		System.NullReferenceException: 未将对象引用设置到对象的实例。
   在 PRM.Controls.TagsEditor.AddNewTag() 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Controls\TagsEditor.xaml.cs:行号 69
   在 PRM.Controls.TagsEditor.Button_OnClick(Object sender, RoutedEventArgs e) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Controls\TagsEditor.xaml.cs:行号 90
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   在 System.Windows.Controls.Primitives.ButtonBase.OnClick()
   在 System.Windows.Controls.Button.OnClick()
   在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   在 System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   在 PRM.Controls.TagsEditor.AddNewTag() 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Controls\TagsEditor.xaml.cs:行号 69
   在 PRM.Controls.TagsEditor.Button_OnClick(Object sender, RoutedEventArgs e) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Controls\TagsEditor.xaml.cs:行号 90
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   在 System.Windows.Controls.Primitives.ButtonBase.OnClick()
   在 System.Windows.Controls.Button.OnClick()
   在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   在 System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Originally created by @panfeng88168 on GitHub (Jul 10, 2021). Original GitHub issue: https://github.com/1Remote/1Remote/issues/143 Originally assigned to: @VShawn on GitHub. **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to 'Add' 2. Click on 'Add' 3. Click on Tags 'Add' 4. See error <details> ## Environment | Component | Version | |:------------------|:--------------------------------------| |PRemoteM | `0.5.11`(EXE Release)| |.NET Framework | `.NET Framework 4.8` | |CLR | `4.0.30319.42000` | |OS | `Windows 10 Enterprise 64-bits 6.2.9200.0 (2009)` | ## Error Info 未将对象引用设置到对象的实例。 ## Stack Trace ``` 在 PRM.Controls.TagsEditor.AddNewTag() 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Controls\TagsEditor.xaml.cs:行号 69 在 PRM.Controls.TagsEditor.Button_OnClick(Object sender, RoutedEventArgs e) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Controls\TagsEditor.xaml.cs:行号 90 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) 在 System.Windows.Controls.Primitives.ButtonBase.OnClick() 在 System.Windows.Controls.Button.OnClick() 在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) 在 System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) 在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) 在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) 在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) 在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) 在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) 在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ``` ## Recent Log ``` 2021-07-10T14:21:29.8670494+08:00[ThreadId:0000000001] Debug RDP Host: init conn bar 2021-07-10T14:21:29.8680543+08:00[ThreadId:0000000001] Debug RDP Host: init Redirect 2021-07-10T14:21:29.8690532+08:00[ThreadId:0000000001] Debug RDP Host: init Display with ScaleFactor = 100, W = 794, H = 559 2021-07-10T14:21:29.8700714+08:00[ThreadId:0000000001] Debug RDP Host: Display init as RDP.DesktopWidth = 794, RDP.DesktopWidth = 794, 2021-07-10T14:21:29.8710558+08:00[ThreadId:0000000001] Debug RDP Host: init Performance 2021-07-10T14:21:29.8720519+08:00[ThreadId:0000000001] Debug RdpInit: DisplayPerformance = Auto, flag = 0 2021-07-10T14:21:29.8732425+08:00[ThreadId:0000000001] Debug RDP Host: init Gateway 2021-07-10T14:21:29.8740515+08:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Initialized 2021-07-10T14:21:29.8790526+08:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Connecting 2021-07-10T14:21:29.9443504+08:00[ThreadId:0000000001] Debug Start Conn: test(49222835) by host(40774967) with Tab(19534911) 2021-07-10T14:21:29.9443775+08:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1 2021-07-10T14:21:30.6206062+08:00[ThreadId:0000000001] Debug RDP Host: RdpOnOnConnected 2021-07-10T14:21:30.6226592+08:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Connected 2021-07-10T14:21:30.7405975+08:00[ThreadId:0000000002] Debug RDP Host: _rdp.Dispose() 2021-07-10T14:21:32.5077722+08:00[ThreadId:0000000001] Debug RDP Host: RdpOnOnLoginComplete 2021-07-10T14:21:32.5117729+08:00[ThreadId:0000000001] Debug RDP resize to: W = 794, H = 559, ScaleFactor = 100 2021-07-10T14:21:49.7918108+08:00[ThreadId:0000000001] Debug Tab size change to:W = 1936, H = 1056, Child NaN, NaN 2021-07-10T14:21:49.8958081+08:00[ThreadId:0000000001] Debug Tab size change to:W = 1936, H = 1056, Child NaN, NaN 2021-07-10T14:21:50.5632067+08:00[ThreadId:0000000006] Debug RDP resize to: W = 1916, H = 1003, ScaleFactor = 100 2021-07-10T14:21:50.9480209+08:00[ThreadId:0000000008] Debug RDP resize to: W = 1916, H = 1003, ScaleFactor = 100 2021-07-10T14:21:57.0260777+08:00[ThreadId:0000000001] Debug Tab size change to:W = 800, H = 600, Child NaN, NaN 2021-07-10T14:21:57.1940736+08:00[ThreadId:0000000001] Debug Tab size change to:W = 800, H = 600, Child NaN, NaN 2021-07-10T14:21:57.8249900+08:00[ThreadId:0000000009] Debug RDP resize to: W = 794, H = 559, ScaleFactor = 100 2021-07-10T14:21:59.1414352+08:00[ThreadId:0000000001] Debug Tab size change to:W = 1936, H = 1056, Child NaN, NaN 2021-07-10T14:21:59.2330317+08:00[ThreadId:0000000001] Debug Tab size change to:W = 1936, H = 1056, Child NaN, NaN 2021-07-10T14:22:00.1255585+08:00[ThreadId:0000000006] Debug RDP resize to: W = 1916, H = 1003, ScaleFactor = 100 2021-07-10T14:22:30.2955711+08:00[ThreadId:0000000001] Debug Remove connectionId = 1 from tab(19534911) 2021-07-10T14:22:30.5719298+08:00[ThreadId:0000000001] Debug RDP to FullScreen resize ParentWindow to : W = 1920, H = 1080, while screen size is 1920 × 1080, ScaleFactor = 100 2021-07-10T14:22:30.5729281+08:00[ThreadId:0000000001] Debug RDP resize to: W = 1920, H = 1080, ScaleFactor = 100 2021-07-10T14:22:30.7013260+08:00[ThreadId:0000000001] Debug Move host(40774967) to full(61073976) 2021-07-10T14:22:30.7023282+08:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 1, FullWin.Count = 1, _tabWindows.Count = 1 2021-07-10T14:22:30.7043268+08:00[ThreadId:0000000001] Debug Close tab(19534911) 2021-07-10T14:22:30.7085431+08:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 1, FullWin.Count = 1, _tabWindows.Count = 0 2021-07-10T14:22:40.8088077+08:00[ThreadId:0000000001] Debug Hide full(61073976) 2021-07-10T14:22:40.8508071+08:00[ThreadId:0000000001] Debug Tab size change to:W = 1936, H = 1056, Child , 2021-07-10T14:22:41.0238255+08:00[ThreadId:0000000001] Debug Tab size change to:W = 1936, H = 1056, Child NaN, NaN 2021-07-10T14:22:41.2458244+08:00[ThreadId:0000000001] Debug Move host(40774967) to tab(50900362) 2021-07-10T14:22:41.2468230+08:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 1, FullWin.Count = 1, _tabWindows.Count = 1 2021-07-10T14:22:41.5537661+08:00[ThreadId:0000000008] Debug RDP resize to: W = 1916, H = 1003, ScaleFactor = 100 2021-07-10T14:23:16.9520236+08:00[ThreadId:0000000001] Debug Close full(61073976) 2021-07-10T14:23:16.9670856+08:00[ThreadId:0000000001] Debug Remove connectionId = 1 from tab(50900362) 2021-07-10T14:23:16.9681298+08:00[ThreadId:0000000001] Debug DelProtocolHost host(40774967) 2021-07-10T14:23:16.9696652+08:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1 2021-07-10T14:23:16.9705857+08:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-07-10T14:23:16.9735877+08:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2021-07-10T14:23:16.9775898+08:00[ThreadId:0000000001] Debug Close tab(50900362) 2021-07-10T14:23:17.0005808+08:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 0 2021-07-10T14:23:17.0295509+08:00[ThreadId:0000000001] Debug RDP Host: RdpOnDisconnected 2021-07-10T14:23:26.4256764+08:00[ThreadId:0000000002] Debug RDP Host: _rdp.Dispose() 2021-07-10T14:23:30.2456354+08:00[ThreadId:0000000001] Fatal System.NullReferenceException: 未将对象引用设置到对象的实例。 在 PRM.Controls.TagsEditor.AddNewTag() 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Controls\TagsEditor.xaml.cs:行号 69 在 PRM.Controls.TagsEditor.Button_OnClick(Object sender, RoutedEventArgs e) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Controls\TagsEditor.xaml.cs:行号 90 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) 在 System.Windows.Controls.Primitives.ButtonBase.OnClick() 在 System.Windows.Controls.Button.OnClick() 在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) 在 System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) 在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) 在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) 在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) 在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) 在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) 在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 在 PRM.Controls.TagsEditor.AddNewTag() 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Controls\TagsEditor.xaml.cs:行号 69 在 PRM.Controls.TagsEditor.Button_OnClick(Object sender, RoutedEventArgs e) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Controls\TagsEditor.xaml.cs:行号 90 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) 在 System.Windows.Controls.Primitives.ButtonBase.OnClick() 在 System.Windows.Controls.Button.OnClick() 在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) 在 System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) 在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) 在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) 在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) 在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) 在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) 在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ``` </details>
kerem 2026-03-01 17:17:07 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@VShawn commented on GitHub (Jul 10, 2021):

收到,马上修复

<!-- gh-comment-id:877581038 --> @VShawn commented on GitHub (Jul 10, 2021): 收到,马上修复
Author
Owner

@VShawn commented on GitHub (Jul 10, 2021):

@panfeng88168 已完成bug修复,版本更新到 0.5.11.1,感谢您的反馈 👍

<!-- gh-comment-id:877582039 --> @VShawn commented on GitHub (Jul 10, 2021): @panfeng88168 已完成bug修复,版本更新到 0.5.11.1,感谢您的反馈 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#2040
No description provided.