Skip to content

未知错误 #1024

@pennyzju

Description

@pennyzju
Details

Environment

Component Version
1Remote(Store) 1.1.2(Built at: 2025-03-22T09:09:47.586+08:00)(Microsoft store)
.NET Framework .NET Framework 4.8
CLR 4.0.30319.42000
OS Windows 10 Pro 64-bits 10.0.26100.0 (2009) build 26100

Error Info

无法访问已释放的对象。
对象名:“Timer”。

Stack Trace

   在 System.Timers.Timer.set_Enabled(Boolean value)
   在 _1RM.View.Host.ProtocolHosts.AxMsRdpClient09Host.WindowSizeChanged(Object sender, SizeChangedEventArgs e) 位置 D:\DemoProject\1Remote\Ui\View\Host\ProtocolHosts\AxMsRdpClient09Host.xaml.cs:行号 857
   在 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.FrameworkElement.OnRenderSizeChanged(SizeChangedInfo sizeInfo)
   在 System.Windows.ContextLayoutManager.fireSizeChangedEvents()
   在 System.Windows.ContextLayoutManager.UpdateLayout()
   在 System.Windows.Interop.HwndSource.Process_WM_SIZE(UIElement rootUIElement, IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam)
   在 System.Windows.Interop.HwndSource.LayoutFilterMessage(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

[T:005][11:43:59.210]	`Warning`		[(CheckUpdate:0)]	
> System.Net.WebException: 无法连接到远程服务器 ---> System.Net.Sockets.SocketException: 由于目标计算机积极拒绝,无法连接。 127.0.0.1:7890
   在 System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   在 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- 内部异常堆栈跟踪的结尾 ---
   在 System.Net.HttpWebRequest.GetResponse()
   在 Shawn.Utils.HttpHelper.Get(String url, Encoding encoding)
   在 Shawn.Utils.VersionHelper.CheckUpdateFromUrl(String checkUrl, String publishUrl)
> StackTrace:    在 System.Net.HttpWebRequest.GetResponse()
   在 Shawn.Utils.HttpHelper.Get(String url, Encoding encoding)
   在 Shawn.Utils.VersionHelper.CheckUpdateFromUrl(String checkUrl, String publishUrl)
> InnerException: 由于目标计算机积极拒绝,无法连接。 127.0.0.1:7890
> Inner StackTrace:    在 System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   在 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
[T:005][11:44:01.255]	`Warning`		[(CheckUpdate:0)]	
> System.Net.WebException: 无法连接到远程服务器 ---> System.Net.Sockets.SocketException: 由于目标计算机积极拒绝,无法连接。 127.0.0.1:7890
   在 System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   在 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- 内部异常堆栈跟踪的结尾 ---
   在 System.Net.HttpWebRequest.GetResponse()
   在 Shawn.Utils.HttpHelper.Get(String url, Encoding encoding)
   在 Shawn.Utils.VersionHelper.CheckUpdateFromUrl(String checkUrl, String publishUrl)
> StackTrace:    在 System.Net.HttpWebRequest.GetResponse()
   在 Shawn.Utils.HttpHelper.Get(String url, Encoding encoding)
   在 Shawn.Utils.VersionHelper.CheckUpdateFromUrl(String checkUrl, String publishUrl)
> InnerException: 由于目标计算机积极拒绝,无法连接。 127.0.0.1:7890
> Inner StackTrace:    在 System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   在 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
[T:001][11:45:11.995]	`Warning`		[(InvokeMethod:0)]	RDP(公司个人) exit with error code 3(你已断开连接,因为已与远程计算机建立了另一个连接。)
[T:001][11:46:53.193]	`Fatal`		[(TryCatchWhen:0)]	
> System.ObjectDisposedException: 无法访问已释放的对象。
对象名:“Timer”。
   在 System.Timers.Timer.set_Enabled(Boolean value)
   在 _1RM.View.Host.ProtocolHosts.AxMsRdpClient09Host.WindowSizeChanged(Object sender, SizeChangedEventArgs e) 位置 D:\DemoProject\1Remote\Ui\View\Host\ProtocolHosts\AxMsRdpClient09Host.xaml.cs:行号 857
   在 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.FrameworkElement.OnRenderSizeChanged(SizeChangedInfo sizeInfo)
   在 System.Windows.ContextLayoutManager.fireSizeChangedEvents()
   在 System.Windows.ContextLayoutManager.UpdateLayout()
   在 System.Windows.Interop.HwndSource.Process_WM_SIZE(UIElement rootUIElement, IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam)
   在 System.Windows.Interop.HwndSource.LayoutFilterMessage(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)
> StackTrace:    在 System.Timers.Timer.set_Enabled(Boolean value)
   在 _1RM.View.Host.ProtocolHosts.AxMsRdpClient09Host.WindowSizeChanged(Object sender, SizeChangedEventArgs e) 位置 D:\DemoProject\1Remote\Ui\View\Host\ProtocolHosts\AxMsRdpClient09Host.xaml.cs:行号 857
   在 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.FrameworkElement.OnRenderSizeChanged(SizeChangedInfo sizeInfo)
   在 System.Windows.ContextLayoutManager.fireSizeChangedEvents()
   在 System.Windows.ContextLayoutManager.UpdateLayout()
   在 System.Windows.Interop.HwndSource.Process_WM_SIZE(UIElement rootUIElement, IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam)
   在 System.Windows.Interop.HwndSource.LayoutFilterMessage(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)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions