[GH-ISSUE #624] 删除大文件时卡死报错 #2426

Closed
opened 2026-03-01 17:20:27 +03:00 by kerem · 3 comments
Owner

Originally created by @NetVN on GitHub (Mar 11, 2024).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/624

Originally assigned to: @VShawn on GitHub.

Environment

Component Version
1Remote(Store) 1.0.0-beta.07(Built at: 2024-02-08T08:17:11.035+08:00)(Microsoft store)
.NET Framework .NET Framework 4.8
CLR 4.0.30319.42000
OS Windows 10 Pro 64-bits 10.0.22631.0 (2009) build 22631

Error Info

无法访问已释放的对象。
对象名:“Renci.SshNet.SftpClient”。

Stack Trace

   在 Renci.SshNet.BaseClient.CheckDisposed()
   在 _1RM.Model.Protocol.FileTransmit.Transmitters.TransmitterSFtp.IsConnected() 位置 C:\DemoProject\1Remote\Ui\Model\Protocol\FileTransmit\Transmitters\TransmitterSFtp.cs:行号 63
   在 _1RM.View.Host.ProtocolHosts.VmFileTransmitHost.<get_CmdEndRenaming>b__22_0(Object o) 位置 C:\DemoProject\1Remote\Ui\View\Host\ProtocolHosts\VmFileTransmitHost.cs:行号 473
   在 Shawn.Utils.Wpf.RelayCommand.Execute(Object parameter)
   在 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.Controls.ListBox.OnSelectionChanged(SelectionChangedEventArgs e)
   在 System.Windows.Controls.Primitives.Selector.SelectionChanger.End()
   在 System.Windows.Controls.Primitives.Selector.OnItemsChanged(NotifyCollectionChangedEventArgs e)
   在 System.Windows.Controls.ListView.OnItemsChanged(NotifyCollectionChangedEventArgs e)
   在 System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   在 System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
   在 System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
   在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   在 System.Windows.Data.ListCollectionView.RefreshOverride()
   在 System.Windows.Data.CollectionView.RefreshInternal()
   在 System.Windows.Data.CollectionView.EndDefer()
   在 System.Windows.Data.CollectionView.DeferHelper.Dispose()
   在 System.Windows.Controls.ItemCollection.SetCollectionView(CollectionView view)
   在 System.Windows.Controls.ItemsControl.OnItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   在 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   在 System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
   在 System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
   在 System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
   在 MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
   在 MS.Internal.Data.PropertyPathWorker.RefreshValue()
   在 MS.Internal.Data.ClrBindingWorker.ScheduleTransferOperation(Object arg)
   在 MS.Internal.Data.DataBindEngine.ProcessCrossThreadRequests()
   在 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:007][03:05:21.169]	`Warning`		[(MyTimerCallback:0)]	
> System.InvalidOperationException: 没有与此对象关联的进程。
   在 System.Diagnostics.Process.EnsureState(State state)
   在 System.Diagnostics.Process.EnsureState(State state)
   在 System.Diagnostics.Process.get_MainWindowHandle()
   在 _1RM.View.Host.TabWindowView.Timer4CheckForegroundWindowOnElapsed(Object sender, ElapsedEventArgs e) 位置 C:\DemoProject\1Remote\Ui\View\Host\TabWindowView.xaml_timer.cs:行号 46
> StackTrace:    在 System.Diagnostics.Process.EnsureState(State state)
   在 System.Diagnostics.Process.EnsureState(State state)
   在 System.Diagnostics.Process.get_MainWindowHandle()
   在 _1RM.View.Host.TabWindowView.Timer4CheckForegroundWindowOnElapsed(Object sender, ElapsedEventArgs e) 位置 C:\DemoProject\1Remote\Ui\View\Host\TabWindowView.xaml_timer.cs:行号 46
[T:007][03:05:21.288]	`Warning`		[(MyTimerCallback:0)]	
> System.InvalidOperationException: 没有与此对象关联的进程。
   在 System.Diagnostics.Process.EnsureState(State state)
   在 System.Diagnostics.Process.EnsureState(State state)
   在 System.Diagnostics.Process.get_MainWindowHandle()
   在 _1RM.View.Host.TabWindowView.Timer4CheckForegroundWindowOnElapsed(Object sender, ElapsedEventArgs e) 位置 C:\DemoProject\1Remote\Ui\View\Host\TabWindowView.xaml_timer.cs:行号 46
> StackTrace:    在 System.Diagnostics.Process.EnsureState(State state)
   在 System.Diagnostics.Process.EnsureState(State state)
   在 System.Diagnostics.Process.get_MainWindowHandle()
   在 _1RM.View.Host.TabWindowView.Timer4CheckForegroundWindowOnElapsed(Object sender, ElapsedEventArgs e) 位置 C:\DemoProject\1Remote\Ui\View\Host\TabWindowView.xaml_timer.cs:行号 46
[T:001][03:50:59.207]	`Fatal`		[(TryCatchWhen:0)]	
> System.ObjectDisposedException: 无法访问已释放的对象。
对象名:“Renci.SshNet.SftpClient”。
   在 Renci.SshNet.BaseClient.CheckDisposed()
   在 _1RM.Model.Protocol.FileTransmit.Transmitters.TransmitterSFtp.IsConnected() 位置 C:\DemoProject\1Remote\Ui\Model\Protocol\FileTransmit\Transmitters\TransmitterSFtp.cs:行号 63
   在 _1RM.View.Host.ProtocolHosts.VmFileTransmitHost.<get_CmdEndRenaming>b__22_0(Object o) 位置 C:\DemoProject\1Remote\Ui\View\Host\ProtocolHosts\VmFileTransmitHost.cs:行号 473
   在 Shawn.Utils.Wpf.RelayCommand.Execute(Object parameter)
   在 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.Controls.ListBox.OnSelectionChanged(SelectionChangedEventArgs e)
   在 System.Windows.Controls.Primitives.Selector.SelectionChanger.End()
   在 System.Windows.Controls.Primitives.Selector.OnItemsChanged(NotifyCollectionChangedEventArgs e)
   在 System.Windows.Controls.ListView.OnItemsChanged(NotifyCollectionChangedEventArgs e)
   在 System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   在 System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
   在 System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
   在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   在 System.Windows.Data.ListCollectionView.RefreshOverride()
   在 System.Windows.Data.CollectionView.RefreshInternal()
   在 System.Windows.Data.CollectionView.EndDefer()
   在 System.Windows.Data.CollectionView.DeferHelper.Dispose()
   在 System.Windows.Controls.ItemCollection.SetCollectionView(CollectionView view)
   在 System.Windows.Controls.ItemsControl.OnItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   在 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   在 System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
   在 System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
   在 System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
   在 MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
   在 MS.Internal.Data.PropertyPathWorker.RefreshValue()
   在 MS.Internal.Data.ClrBindingWorker.ScheduleTransferOperation(Object arg)
   在 MS.Internal.Data.DataBindEngine.ProcessCrossThreadRequests()
   在 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:    在 Renci.SshNet.BaseClient.CheckDisposed()
   在 _1RM.Model.Protocol.FileTransmit.Transmitters.TransmitterSFtp.IsConnected() 位置 C:\DemoProject\1Remote\Ui\Model\Protocol\FileTransmit\Transmitters\TransmitterSFtp.cs:行号 63
   在 _1RM.View.Host.ProtocolHosts.VmFileTransmitHost.<get_CmdEndRenaming>b__22_0(Object o) 位置 C:\DemoProject\1Remote\Ui\View\Host\ProtocolHosts\VmFileTransmitHost.cs:行号 473
   在 Shawn.Utils.Wpf.RelayCommand.Execute(Object parameter)
   在 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.Controls.ListBox.OnSelectionChanged(SelectionChangedEventArgs e)
   在 System.Windows.Controls.Primitives.Selector.SelectionChanger.End()
   在 System.Windows.Controls.Primitives.Selector.OnItemsChanged(NotifyCollectionChangedEventArgs e)
   在 System.Windows.Controls.ListView.OnItemsChanged(NotifyCollectionChangedEventArgs e)
   在 System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   在 System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
   在 System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
   在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   在 System.Windows.Data.ListCollectionView.RefreshOverride()
   在 System.Windows.Data.CollectionView.RefreshInternal()
   在 System.Windows.Data.CollectionView.EndDefer()
   在 System.Windows.Data.CollectionView.DeferHelper.Dispose()
   在 System.Windows.Controls.ItemCollection.SetCollectionView(CollectionView view)
   在 System.Windows.Controls.ItemsControl.OnItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   在 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   在 System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
   在 System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
   在 System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
   在 MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
   在 MS.Internal.Data.PropertyPathWorker.RefreshValue()
   在 MS.Internal.Data.ClrBindingWorker.ScheduleTransferOperation(Object arg)
   在 MS.Internal.Data.DataBindEngine.ProcessCrossThreadRequests()
   在 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 @NetVN on GitHub (Mar 11, 2024). Original GitHub issue: https://github.com/1Remote/1Remote/issues/624 Originally assigned to: @VShawn on GitHub. <details> ## Environment | Component | Version | |:------------------|:--------------------------------------| |1Remote(Store) | `1.0.0-beta.07(Built at: 2024-02-08T08:17:11.035+08:00)`(Microsoft store)| |.NET Framework | `.NET Framework 4.8` | |CLR | `4.0.30319.42000` | |OS | `Windows 10 Pro 64-bits 10.0.22631.0 (2009) build 22631` | ## Error Info 无法访问已释放的对象。 对象名:“Renci.SshNet.SftpClient”。 ## Stack Trace ``` 在 Renci.SshNet.BaseClient.CheckDisposed() 在 _1RM.Model.Protocol.FileTransmit.Transmitters.TransmitterSFtp.IsConnected() 位置 C:\DemoProject\1Remote\Ui\Model\Protocol\FileTransmit\Transmitters\TransmitterSFtp.cs:行号 63 在 _1RM.View.Host.ProtocolHosts.VmFileTransmitHost.<get_CmdEndRenaming>b__22_0(Object o) 位置 C:\DemoProject\1Remote\Ui\View\Host\ProtocolHosts\VmFileTransmitHost.cs:行号 473 在 Shawn.Utils.Wpf.RelayCommand.Execute(Object parameter) 在 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.Controls.ListBox.OnSelectionChanged(SelectionChangedEventArgs e) 在 System.Windows.Controls.Primitives.Selector.SelectionChanger.End() 在 System.Windows.Controls.Primitives.Selector.OnItemsChanged(NotifyCollectionChangedEventArgs e) 在 System.Windows.Controls.ListView.OnItemsChanged(NotifyCollectionChangedEventArgs e) 在 System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e) 在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args) 在 System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType) 在 System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args) 在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args) 在 System.Windows.Data.ListCollectionView.RefreshOverride() 在 System.Windows.Data.CollectionView.RefreshInternal() 在 System.Windows.Data.CollectionView.EndDefer() 在 System.Windows.Data.CollectionView.DeferHelper.Dispose() 在 System.Windows.Controls.ItemCollection.SetCollectionView(CollectionView view) 在 System.Windows.Controls.ItemsControl.OnItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 在 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) 在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) 在 System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue) 在 System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange) 在 System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange) 在 MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange) 在 MS.Internal.Data.PropertyPathWorker.RefreshValue() 在 MS.Internal.Data.ClrBindingWorker.ScheduleTransferOperation(Object arg) 在 MS.Internal.Data.DataBindEngine.ProcessCrossThreadRequests() 在 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:007][03:05:21.169] `Warning` [(MyTimerCallback:0)] > System.InvalidOperationException: 没有与此对象关联的进程。 在 System.Diagnostics.Process.EnsureState(State state) 在 System.Diagnostics.Process.EnsureState(State state) 在 System.Diagnostics.Process.get_MainWindowHandle() 在 _1RM.View.Host.TabWindowView.Timer4CheckForegroundWindowOnElapsed(Object sender, ElapsedEventArgs e) 位置 C:\DemoProject\1Remote\Ui\View\Host\TabWindowView.xaml_timer.cs:行号 46 > StackTrace: 在 System.Diagnostics.Process.EnsureState(State state) 在 System.Diagnostics.Process.EnsureState(State state) 在 System.Diagnostics.Process.get_MainWindowHandle() 在 _1RM.View.Host.TabWindowView.Timer4CheckForegroundWindowOnElapsed(Object sender, ElapsedEventArgs e) 位置 C:\DemoProject\1Remote\Ui\View\Host\TabWindowView.xaml_timer.cs:行号 46 [T:007][03:05:21.288] `Warning` [(MyTimerCallback:0)] > System.InvalidOperationException: 没有与此对象关联的进程。 在 System.Diagnostics.Process.EnsureState(State state) 在 System.Diagnostics.Process.EnsureState(State state) 在 System.Diagnostics.Process.get_MainWindowHandle() 在 _1RM.View.Host.TabWindowView.Timer4CheckForegroundWindowOnElapsed(Object sender, ElapsedEventArgs e) 位置 C:\DemoProject\1Remote\Ui\View\Host\TabWindowView.xaml_timer.cs:行号 46 > StackTrace: 在 System.Diagnostics.Process.EnsureState(State state) 在 System.Diagnostics.Process.EnsureState(State state) 在 System.Diagnostics.Process.get_MainWindowHandle() 在 _1RM.View.Host.TabWindowView.Timer4CheckForegroundWindowOnElapsed(Object sender, ElapsedEventArgs e) 位置 C:\DemoProject\1Remote\Ui\View\Host\TabWindowView.xaml_timer.cs:行号 46 [T:001][03:50:59.207] `Fatal` [(TryCatchWhen:0)] > System.ObjectDisposedException: 无法访问已释放的对象。 对象名:“Renci.SshNet.SftpClient”。 在 Renci.SshNet.BaseClient.CheckDisposed() 在 _1RM.Model.Protocol.FileTransmit.Transmitters.TransmitterSFtp.IsConnected() 位置 C:\DemoProject\1Remote\Ui\Model\Protocol\FileTransmit\Transmitters\TransmitterSFtp.cs:行号 63 在 _1RM.View.Host.ProtocolHosts.VmFileTransmitHost.<get_CmdEndRenaming>b__22_0(Object o) 位置 C:\DemoProject\1Remote\Ui\View\Host\ProtocolHosts\VmFileTransmitHost.cs:行号 473 在 Shawn.Utils.Wpf.RelayCommand.Execute(Object parameter) 在 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.Controls.ListBox.OnSelectionChanged(SelectionChangedEventArgs e) 在 System.Windows.Controls.Primitives.Selector.SelectionChanger.End() 在 System.Windows.Controls.Primitives.Selector.OnItemsChanged(NotifyCollectionChangedEventArgs e) 在 System.Windows.Controls.ListView.OnItemsChanged(NotifyCollectionChangedEventArgs e) 在 System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e) 在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args) 在 System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType) 在 System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args) 在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args) 在 System.Windows.Data.ListCollectionView.RefreshOverride() 在 System.Windows.Data.CollectionView.RefreshInternal() 在 System.Windows.Data.CollectionView.EndDefer() 在 System.Windows.Data.CollectionView.DeferHelper.Dispose() 在 System.Windows.Controls.ItemCollection.SetCollectionView(CollectionView view) 在 System.Windows.Controls.ItemsControl.OnItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 在 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) 在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) 在 System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue) 在 System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange) 在 System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange) 在 MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange) 在 MS.Internal.Data.PropertyPathWorker.RefreshValue() 在 MS.Internal.Data.ClrBindingWorker.ScheduleTransferOperation(Object arg) 在 MS.Internal.Data.DataBindEngine.ProcessCrossThreadRequests() 在 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: 在 Renci.SshNet.BaseClient.CheckDisposed() 在 _1RM.Model.Protocol.FileTransmit.Transmitters.TransmitterSFtp.IsConnected() 位置 C:\DemoProject\1Remote\Ui\Model\Protocol\FileTransmit\Transmitters\TransmitterSFtp.cs:行号 63 在 _1RM.View.Host.ProtocolHosts.VmFileTransmitHost.<get_CmdEndRenaming>b__22_0(Object o) 位置 C:\DemoProject\1Remote\Ui\View\Host\ProtocolHosts\VmFileTransmitHost.cs:行号 473 在 Shawn.Utils.Wpf.RelayCommand.Execute(Object parameter) 在 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.Controls.ListBox.OnSelectionChanged(SelectionChangedEventArgs e) 在 System.Windows.Controls.Primitives.Selector.SelectionChanger.End() 在 System.Windows.Controls.Primitives.Selector.OnItemsChanged(NotifyCollectionChangedEventArgs e) 在 System.Windows.Controls.ListView.OnItemsChanged(NotifyCollectionChangedEventArgs e) 在 System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e) 在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args) 在 System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType) 在 System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args) 在 System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args) 在 System.Windows.Data.ListCollectionView.RefreshOverride() 在 System.Windows.Data.CollectionView.RefreshInternal() 在 System.Windows.Data.CollectionView.EndDefer() 在 System.Windows.Data.CollectionView.DeferHelper.Dispose() 在 System.Windows.Controls.ItemCollection.SetCollectionView(CollectionView view) 在 System.Windows.Controls.ItemsControl.OnItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 在 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) 在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) 在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) 在 System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue) 在 System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange) 在 System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange) 在 MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange) 在 MS.Internal.Data.PropertyPathWorker.RefreshValue() 在 MS.Internal.Data.ClrBindingWorker.ScheduleTransferOperation(Object arg) 在 MS.Internal.Data.DataBindEngine.ProcessCrossThreadRequests() 在 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:20:27 +03:00
  • closed this issue
  • added the
    bug
    stale
    labels
Author
Owner

@VShawn commented on GitHub (Mar 16, 2024):

请问是必现的错误吗?

顺便推荐你在1Remote中使用 winscp 来作为 SFTP 终端:https://1remote.org/usage/protocol/runner/#how-to-create-a-new-runnerexample-by-winscp

<!-- gh-comment-id:2001307478 --> @VShawn commented on GitHub (Mar 16, 2024): 请问是必现的错误吗? 顺便推荐你在1Remote中使用 winscp 来作为 SFTP 终端:https://1remote.org/usage/protocol/runner/#how-to-create-a-new-runnerexample-by-winscp
Author
Owner

@github-actions[bot] commented on GitHub (Apr 16, 2024):

This issue is stale because it has been open for 30 days with no activity.

<!-- gh-comment-id:2058086812 --> @github-actions[bot] commented on GitHub (Apr 16, 2024): This issue is stale because it has been open for 30 days with no activity.
Author
Owner

@github-actions[bot] commented on GitHub (Apr 30, 2024):

This issue was closed because it has been inactive for 14 days since being marked as stale.

<!-- gh-comment-id:2084119705 --> @github-actions[bot] commented on GitHub (Apr 30, 2024): This issue was closed because it has been inactive for 14 days since being marked as stale.
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#2426
No description provided.