[GH-ISSUE #199] An object reference was not set to an instance of an object #2090

Closed
opened 2026-03-01 17:17:35 +03:00 by kerem · 1 comment
Owner

Originally created by @shijunzhang on GitHub (Feb 12, 2022).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/199

Originally assigned to: @VShawn on GitHub.

Environment

Component Version
PRemoteM 0.6.1.1(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.View.TabWindow.TabWindowBase.AddItem(TabItemViewModel newItem) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\View\TabWindow\TabWindowBase.cs:行号 238
   在 PRM.Model.RemoteWindowPool.ConnectWithTab(ProtocolServerBase protocolServer, Runner runner, String assignTabToken) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Model\RemoteWindowPool.cs:行号 265
   在 PRM.Model.RemoteWindowPool.ShowRemoteHost(Int64 serverId, String assignTabToken, String assignRunnerName) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Model\RemoteWindowPool.cs:行号 350
   在 PRM.Core.Protocol.VmProtocolServer.<get_CmdConnServer>b__33_0(Object o) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Protocol\VmProtocolServer.cs:行号 93
   在 Shawn.Utils.RelayCommand.Execute(Object parameter) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Utils\RelayCommand.cs:行号 48
   在 System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
   在 System.Windows.UIElement.OnMouseDownThunk(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

2022-02-12T20:39:32.2975265+08:00[ThreadId:0000000006]		Warning		System.Net.WebException: 未能解析此远程名称: 'github.com'
   在 System.Net.HttpWebRequest.GetResponse()
   在 Shawn.Utils.HttpHelper.Get(String url, Encoding encoding) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Utils\HttpHelper.cs:行号 106
   在 Shawn.Utils.UpdateChecker.CheckUpdate(String url, String ignoreVersion) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Utils\UpdateChecker.cs:行号 136
   在 System.Net.HttpWebRequest.GetResponse()
   在 Shawn.Utils.HttpHelper.Get(String url, Encoding encoding) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Utils\HttpHelper.cs:行号 106
   在 Shawn.Utils.UpdateChecker.CheckUpdate(String url, String ignoreVersion) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Utils\UpdateChecker.cs:行号 136
2022-02-12T20:39:32.3756267+08:00[ThreadId:0000000001]		Error		we don't have a protocol named: RDP!
2022-02-12T20:39:32.4509609+08:00[ThreadId:0000000001]		Debug		Tab size change to:W = 1364.66666666667, H = 814.666666666667, Child , 
2022-02-12T20:39:32.6964378+08:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Initializing
2022-02-12T20:39:32.7019109+08:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2022-02-12T20:39:32.7217366+08:00[ThreadId:0000000001]		Debug		RDP Host: init new AxMsRdpClient9NotSafeForScriptingEx()
2022-02-12T20:39:32.7374933+08:00[ThreadId:0000000001]		Debug		RDP Host: init CreateControl();
2022-02-12T20:39:33.0428453+08:00[ThreadId:0000000001]		Debug		RDP Host: init Static
2022-02-12T20:39:33.0506823+08:00[ThreadId:0000000001]		Debug		RDP Host: init conn bar
2022-02-12T20:39:33.0553093+08:00[ThreadId:0000000001]		Debug		RDP Host: init Redirect
2022-02-12T20:39:33.0608996+08:00[ThreadId:0000000001]		Debug		RDP Host: init Display with ScaleFactor = 150, W = 1362.66666666667, H = 775.666666666667
2022-02-12T20:39:33.0673522+08:00[ThreadId:0000000001]		Debug		RDP Host: Display init as RDP.DesktopWidth = 2043, RDP.DesktopWidth = 2043,
2022-02-12T20:39:33.0706409+08:00[ThreadId:0000000001]		Debug		RDP Host: init Performance
2022-02-12T20:39:33.0725883+08:00[ThreadId:0000000001]		Debug		RdpInit: DisplayPerformance = Auto, flag = 0
2022-02-12T20:39:33.0755839+08:00[ThreadId:0000000001]		Debug		RDP Host: init Gateway
2022-02-12T20:39:33.0770565+08:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Initialized
2022-02-12T20:39:33.0989419+08:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Connecting
2022-02-12T20:39:35.5627045+08:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1
2022-02-12T20:39:36.9094605+08:00[ThreadId:0000000001]		Debug		RDP Host:  RdpOnOnConnected
2022-02-12T20:39:36.9162919+08:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Connected
2022-02-12T20:39:38.6620423+08:00[ThreadId:0000000001]		Debug		RDP Host:  RdpOnOnLoginComplete
2022-02-12T20:39:39.7146284+08:00[ThreadId:0000000008]		Debug		RDP resize to: W = 2043, H = 1163, ScaleFactor = 150
2022-02-12T20:39:42.2934053+08:00[ThreadId:0000000001]		Debug		Tab size change to:W = 1721.33333333333, H = 1033.33333333333, Child NaN, NaN
2022-02-12T20:39:42.5810129+08:00[ThreadId:0000000001]		Debug		Tab size change to:W = 1721.33333333333, H = 1033.33333333333, Child NaN, NaN
2022-02-12T20:39:43.5443512+08:00[ThreadId:0000000008]		Debug		RDP resize to: W = 2558, H = 1473, ScaleFactor = 150
2022-02-12T20:49:52.3787668+08:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2022-02-12T20:49:52.3874178+08:00[ThreadId:0000000001]		Debug		DelTabWindow tab(47953287)
2022-02-12T20:49:52.3894120+08:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1
2022-02-12T20:49:52.3934018+08:00[ThreadId:0000000001]		Debug		DelProtocolHost host(65665194)
2022-02-12T20:49:52.3943992+08:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1
2022-02-12T20:49:52.3954594+08:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2022-02-12T20:49:52.3983887+08:00[ThreadId:0000000001]		Debug		Close tab(47953287)
2022-02-12T20:49:52.3993863+08:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1
2022-02-12T20:49:52.4013804+08:00[ThreadId:0000000001]		Debug		Close tab(47953287)
2022-02-12T20:49:52.4023785+08:00[ThreadId:0000000001]		Debug		ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1
2022-02-12T21:17:49.2038758+08:00[ThreadId:0000000001]		Error		we don't have a protocol named: RDP!
2022-02-12T21:17:49.2240894+08:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Initializing
2022-02-12T21:17:49.2240894+08:00[ThreadId:0000000001]		Debug		RDP Host: _rdp.Dispose()
2022-02-12T21:17:49.2274399+08:00[ThreadId:0000000001]		Debug		RDP Host: init new AxMsRdpClient9NotSafeForScriptingEx()
2022-02-12T21:17:49.2294360+08:00[ThreadId:0000000001]		Debug		RDP Host: init CreateControl();
2022-02-12T21:17:49.2369917+08:00[ThreadId:0000000001]		Debug		RDP Host: init Static
2022-02-12T21:17:49.2387983+08:00[ThreadId:0000000001]		Debug		RDP Host: init conn bar
2022-02-12T21:17:49.2397745+08:00[ThreadId:0000000001]		Debug		RDP Host: init Redirect
2022-02-12T21:17:49.2397745+08:00[ThreadId:0000000001]		Debug		RDP Host: init Display with ScaleFactor = 150, W = 1705.33333333333, H = 982.333333333333
2022-02-12T21:17:49.2407725+08:00[ThreadId:0000000001]		Debug		RDP Host: Display init as RDP.DesktopWidth = 2558, RDP.DesktopWidth = 2558,
2022-02-12T21:17:49.2417697+08:00[ThreadId:0000000001]		Debug		RDP Host: init Performance
2022-02-12T21:17:49.2417697+08:00[ThreadId:0000000001]		Debug		RdpInit: DisplayPerformance = Auto, flag = 0
2022-02-12T21:17:49.2427656+08:00[ThreadId:0000000001]		Debug		RDP Host: init Gateway
2022-02-12T21:17:49.2427656+08:00[ThreadId:0000000001]		Debug		AxMsRdpClient09Host: Status => Initialized
2022-02-12T21:17:49.2447609+08:00[ThreadId:0000000001]		Fatal		System.NullReferenceException: 未将对象引用设置到对象的实例。
   在 PRM.View.TabWindow.TabWindowBase.AddItem(TabItemViewModel newItem) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\View\TabWindow\TabWindowBase.cs:行号 238
   在 PRM.Model.RemoteWindowPool.ConnectWithTab(ProtocolServerBase protocolServer, Runner runner, String assignTabToken) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Model\RemoteWindowPool.cs:行号 265
   在 PRM.Model.RemoteWindowPool.ShowRemoteHost(Int64 serverId, String assignTabToken, String assignRunnerName) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Model\RemoteWindowPool.cs:行号 350
   在 PRM.Core.Protocol.VmProtocolServer.<get_CmdConnServer>b__33_0(Object o) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Protocol\VmProtocolServer.cs:行号 93
   在 Shawn.Utils.RelayCommand.Execute(Object parameter) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Utils\RelayCommand.cs:行号 48
   在 System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
   在 System.Windows.UIElement.OnMouseDownThunk(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.View.TabWindow.TabWindowBase.AddItem(TabItemViewModel newItem) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\View\TabWindow\TabWindowBase.cs:行号 238
   在 PRM.Model.RemoteWindowPool.ConnectWithTab(ProtocolServerBase protocolServer, Runner runner, String assignTabToken) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Model\RemoteWindowPool.cs:行号 265
   在 PRM.Model.RemoteWindowPool.ShowRemoteHost(Int64 serverId, String assignTabToken, String assignRunnerName) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Model\RemoteWindowPool.cs:行号 350
   在 PRM.Core.Protocol.VmProtocolServer.<get_CmdConnServer>b__33_0(Object o) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Protocol\VmProtocolServer.cs:行号 93
   在 Shawn.Utils.RelayCommand.Execute(Object parameter) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Utils\RelayCommand.cs:行号 48
   在 System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
   在 System.Windows.UIElement.OnMouseDownThunk(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 @shijunzhang on GitHub (Feb 12, 2022). Original GitHub issue: https://github.com/1Remote/1Remote/issues/199 Originally assigned to: @VShawn on GitHub. <details> ## Environment | Component | Version | |:------------------|:--------------------------------------| |PRemoteM | `0.6.1.1`(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.View.TabWindow.TabWindowBase.AddItem(TabItemViewModel newItem) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\View\TabWindow\TabWindowBase.cs:行号 238 在 PRM.Model.RemoteWindowPool.ConnectWithTab(ProtocolServerBase protocolServer, Runner runner, String assignTabToken) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Model\RemoteWindowPool.cs:行号 265 在 PRM.Model.RemoteWindowPool.ShowRemoteHost(Int64 serverId, String assignTabToken, String assignRunnerName) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Model\RemoteWindowPool.cs:行号 350 在 PRM.Core.Protocol.VmProtocolServer.<get_CmdConnServer>b__33_0(Object o) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Protocol\VmProtocolServer.cs:行号 93 在 Shawn.Utils.RelayCommand.Execute(Object parameter) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Utils\RelayCommand.cs:行号 48 在 System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs) 在 System.Windows.UIElement.OnMouseDownThunk(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 ``` 2022-02-12T20:39:32.2975265+08:00[ThreadId:0000000006] Warning System.Net.WebException: 未能解析此远程名称: 'github.com' 在 System.Net.HttpWebRequest.GetResponse() 在 Shawn.Utils.HttpHelper.Get(String url, Encoding encoding) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Utils\HttpHelper.cs:行号 106 在 Shawn.Utils.UpdateChecker.CheckUpdate(String url, String ignoreVersion) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Utils\UpdateChecker.cs:行号 136 在 System.Net.HttpWebRequest.GetResponse() 在 Shawn.Utils.HttpHelper.Get(String url, Encoding encoding) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Utils\HttpHelper.cs:行号 106 在 Shawn.Utils.UpdateChecker.CheckUpdate(String url, String ignoreVersion) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Utils\UpdateChecker.cs:行号 136 2022-02-12T20:39:32.3756267+08:00[ThreadId:0000000001] Error we don't have a protocol named: RDP! 2022-02-12T20:39:32.4509609+08:00[ThreadId:0000000001] Debug Tab size change to:W = 1364.66666666667, H = 814.666666666667, Child , 2022-02-12T20:39:32.6964378+08:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Initializing 2022-02-12T20:39:32.7019109+08:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2022-02-12T20:39:32.7217366+08:00[ThreadId:0000000001] Debug RDP Host: init new AxMsRdpClient9NotSafeForScriptingEx() 2022-02-12T20:39:32.7374933+08:00[ThreadId:0000000001] Debug RDP Host: init CreateControl(); 2022-02-12T20:39:33.0428453+08:00[ThreadId:0000000001] Debug RDP Host: init Static 2022-02-12T20:39:33.0506823+08:00[ThreadId:0000000001] Debug RDP Host: init conn bar 2022-02-12T20:39:33.0553093+08:00[ThreadId:0000000001] Debug RDP Host: init Redirect 2022-02-12T20:39:33.0608996+08:00[ThreadId:0000000001] Debug RDP Host: init Display with ScaleFactor = 150, W = 1362.66666666667, H = 775.666666666667 2022-02-12T20:39:33.0673522+08:00[ThreadId:0000000001] Debug RDP Host: Display init as RDP.DesktopWidth = 2043, RDP.DesktopWidth = 2043, 2022-02-12T20:39:33.0706409+08:00[ThreadId:0000000001] Debug RDP Host: init Performance 2022-02-12T20:39:33.0725883+08:00[ThreadId:0000000001] Debug RdpInit: DisplayPerformance = Auto, flag = 0 2022-02-12T20:39:33.0755839+08:00[ThreadId:0000000001] Debug RDP Host: init Gateway 2022-02-12T20:39:33.0770565+08:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Initialized 2022-02-12T20:39:33.0989419+08:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Connecting 2022-02-12T20:39:35.5627045+08:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1 2022-02-12T20:39:36.9094605+08:00[ThreadId:0000000001] Debug RDP Host: RdpOnOnConnected 2022-02-12T20:39:36.9162919+08:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Connected 2022-02-12T20:39:38.6620423+08:00[ThreadId:0000000001] Debug RDP Host: RdpOnOnLoginComplete 2022-02-12T20:39:39.7146284+08:00[ThreadId:0000000008] Debug RDP resize to: W = 2043, H = 1163, ScaleFactor = 150 2022-02-12T20:39:42.2934053+08:00[ThreadId:0000000001] Debug Tab size change to:W = 1721.33333333333, H = 1033.33333333333, Child NaN, NaN 2022-02-12T20:39:42.5810129+08:00[ThreadId:0000000001] Debug Tab size change to:W = 1721.33333333333, H = 1033.33333333333, Child NaN, NaN 2022-02-12T20:39:43.5443512+08:00[ThreadId:0000000008] Debug RDP resize to: W = 2558, H = 1473, ScaleFactor = 150 2022-02-12T20:49:52.3787668+08:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2022-02-12T20:49:52.3874178+08:00[ThreadId:0000000001] Debug DelTabWindow tab(47953287) 2022-02-12T20:49:52.3894120+08:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 1, FullWin.Count = 0, _tabWindows.Count = 1 2022-02-12T20:49:52.3934018+08:00[ThreadId:0000000001] Debug DelProtocolHost host(65665194) 2022-02-12T20:49:52.3943992+08:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1 2022-02-12T20:49:52.3954594+08:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2022-02-12T20:49:52.3983887+08:00[ThreadId:0000000001] Debug Close tab(47953287) 2022-02-12T20:49:52.3993863+08:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1 2022-02-12T20:49:52.4013804+08:00[ThreadId:0000000001] Debug Close tab(47953287) 2022-02-12T20:49:52.4023785+08:00[ThreadId:0000000001] Debug ProtocolHosts.Count = 0, FullWin.Count = 0, _tabWindows.Count = 1 2022-02-12T21:17:49.2038758+08:00[ThreadId:0000000001] Error we don't have a protocol named: RDP! 2022-02-12T21:17:49.2240894+08:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Initializing 2022-02-12T21:17:49.2240894+08:00[ThreadId:0000000001] Debug RDP Host: _rdp.Dispose() 2022-02-12T21:17:49.2274399+08:00[ThreadId:0000000001] Debug RDP Host: init new AxMsRdpClient9NotSafeForScriptingEx() 2022-02-12T21:17:49.2294360+08:00[ThreadId:0000000001] Debug RDP Host: init CreateControl(); 2022-02-12T21:17:49.2369917+08:00[ThreadId:0000000001] Debug RDP Host: init Static 2022-02-12T21:17:49.2387983+08:00[ThreadId:0000000001] Debug RDP Host: init conn bar 2022-02-12T21:17:49.2397745+08:00[ThreadId:0000000001] Debug RDP Host: init Redirect 2022-02-12T21:17:49.2397745+08:00[ThreadId:0000000001] Debug RDP Host: init Display with ScaleFactor = 150, W = 1705.33333333333, H = 982.333333333333 2022-02-12T21:17:49.2407725+08:00[ThreadId:0000000001] Debug RDP Host: Display init as RDP.DesktopWidth = 2558, RDP.DesktopWidth = 2558, 2022-02-12T21:17:49.2417697+08:00[ThreadId:0000000001] Debug RDP Host: init Performance 2022-02-12T21:17:49.2417697+08:00[ThreadId:0000000001] Debug RdpInit: DisplayPerformance = Auto, flag = 0 2022-02-12T21:17:49.2427656+08:00[ThreadId:0000000001] Debug RDP Host: init Gateway 2022-02-12T21:17:49.2427656+08:00[ThreadId:0000000001] Debug AxMsRdpClient09Host: Status => Initialized 2022-02-12T21:17:49.2447609+08:00[ThreadId:0000000001] Fatal System.NullReferenceException: 未将对象引用设置到对象的实例。 在 PRM.View.TabWindow.TabWindowBase.AddItem(TabItemViewModel newItem) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\View\TabWindow\TabWindowBase.cs:行号 238 在 PRM.Model.RemoteWindowPool.ConnectWithTab(ProtocolServerBase protocolServer, Runner runner, String assignTabToken) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Model\RemoteWindowPool.cs:行号 265 在 PRM.Model.RemoteWindowPool.ShowRemoteHost(Int64 serverId, String assignTabToken, String assignRunnerName) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Model\RemoteWindowPool.cs:行号 350 在 PRM.Core.Protocol.VmProtocolServer.<get_CmdConnServer>b__33_0(Object o) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Protocol\VmProtocolServer.cs:行号 93 在 Shawn.Utils.RelayCommand.Execute(Object parameter) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Utils\RelayCommand.cs:行号 48 在 System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs) 在 System.Windows.UIElement.OnMouseDownThunk(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.View.TabWindow.TabWindowBase.AddItem(TabItemViewModel newItem) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\View\TabWindow\TabWindowBase.cs:行号 238 在 PRM.Model.RemoteWindowPool.ConnectWithTab(ProtocolServerBase protocolServer, Runner runner, String assignTabToken) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Model\RemoteWindowPool.cs:行号 265 在 PRM.Model.RemoteWindowPool.ShowRemoteHost(Int64 serverId, String assignTabToken, String assignRunnerName) 位置 C:\projects\premotem-release-by-tag-automatically\PRemoteM\Model\RemoteWindowPool.cs:行号 350 在 PRM.Core.Protocol.VmProtocolServer.<get_CmdConnServer>b__33_0(Object o) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Protocol\VmProtocolServer.cs:行号 93 在 Shawn.Utils.RelayCommand.Execute(Object parameter) 位置 C:\projects\premotem-release-by-tag-automatically\PRM.Core\Utils\RelayCommand.cs:行号 48 在 System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs) 在 System.Windows.UIElement.OnMouseDownThunk(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:35 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@VShawn commented on GitHub (Feb 17, 2022):

thx for the reporting, this BUG is fixed.

<!-- gh-comment-id:1042873440 --> @VShawn commented on GitHub (Feb 17, 2022): thx for the reporting, this BUG is fixed.
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#2090
No description provided.