Exception:Failed to open clipboard for set operation.所请求的剪贴板操作失败。

报错信息

InvalidOperationException: Failed to open clipboard for set operation.
StackTrace:
   在 BetterClip.Helpers.ClipboardHelper.SetDataObject(IDataObject data, Boolean copy, Int32 maxAttempts, Int32 delayMs)
   在 BetterClip.Core.XAction.Steps.ClipboardActionStep.Execute(IExecuteContext context)
   在 BetterClip.Core.XAction.ActionExecuteExtensions.Execute(IExecutable executable)
   在 IntelliTools.Domain.MyClipboard.TextClipItem.Execute()
   在 IntelliTools.Domain.Favorite.FavorItem.Execute(IntPtr owner)
   在 IntelliTools.View.Favorite.FavorItemListControl2.ExecuteSelectedItem()
   在 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.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.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)

ExternalException: 所请求的剪贴板操作失败。
--ErrorCode: -2147221040
StackTrace:
   在 System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
   在 System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
   在 BetterClip.Helpers.ClipboardHelper.SetDataObject(IDataObject data, Boolean copy, Int32 maxAttempts, Int32 delayMs)

 

解决方法

暂无解决方案。

相关信息
8 查看
4天22小时前
Quicker版本
版本 反馈次数
1.45.5 6
1.44.31 1
1.44.22 1