【异常报告】(1.35.42) 引发“路径中具有非法字符”的异常

异常报告 · 1424 次浏览
用户NFqILnXHAgA 创建于 2022-10-19 10:49

使用快捷键(Alt+Caps)启动Cea制作的剪切板(https://getquicker.net/Sharedaction?code=9ec53d43-5539-4571-6886-08d8c752bfcb)会导致异常,在本机上稳定复现...

之前完全删除动作后重装解决,目前再次稳定复现了...

 

 

 

 

调试信息:

amlParseException
   在 System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   在 System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter)
   在 System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlObjectWriter objectWriter)
   在 System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(DependencyObject container, IComponentConnector componentConnector, IStyleConnector styleConnector, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)
   在 System.Windows.FrameworkTemplate.LoadContent(DependencyObject container, List`1 affectedChildren)
   在 System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)
   在 System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container)
   在 System.Windows.FrameworkElement.ApplyTemplate()
   在 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   在 System.Windows.UIElement.Measure(Size availableSize)
   在 MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   在 System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   在 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   在 System.Windows.UIElement.Measure(Size availableSize)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.StackPanel.StackArrangeHelper(IStackMeasure arrangeElement, IStackMeasureScrollData scrollData, Size arrangeSize)
   在 System.Windows.Controls.StackPanel.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   在 System.Windows.Controls.ItemsPresenter.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Border.ArrangeOverride(Size finalSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   在 System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.DockPanel.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Border.ArrangeOverride(Size finalSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Border.ArrangeOverride(Size finalSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.VirtualizingStackPanel.ArrangeOtherItemsInExtendedViewport(Boolean isHorizontal, UIElement child, Size childDesiredSize, Double arrangeLength, Int32 index, Rect& rcChild, Size& previousChildSize, Point& previousChildOffset, Int32& previousChildItemIndex)
   在 System.Windows.Controls.VirtualizingStackPanel.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   在 System.Windows.Controls.ItemsPresenter.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.ScrollContentPresenter.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   在 System.Windows.Controls.ScrollViewer.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   在 System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 HandyControl.Controls.SimplePanel.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Border.ArrangeOverride(Size finalSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Border.ArrangeOverride(Size finalSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   在 System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Border.ArrangeOverride(Size finalSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   在 System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Border.ArrangeOverride(Size finalSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   在 System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Decorator.ArrangeOverride(Size arrangeSize)
   在 System.Windows.Documents.AdornerDecorator.ArrangeOverride(Size finalSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Controls.Border.ArrangeOverride(Size finalSize)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 System.Windows.Window.ArrangeOverride(Size arrangeBounds)
   在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   在 System.Windows.UIElement.Arrange(Rect finalRect)
   在 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)

ArgumentException
路径中具有非法字符。
   在 System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
   在 System.IO.Path.GetFileName(String path)
   在 IntelliTools.Utilities.UI.PathToFileNameConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
   在 System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
   在 System.Windows.Data.BindingExpression.Activate(Object item)
   在 System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
   在 System.Windows.Data.BindingExpression.AttachOverride(DependencyObject target, DependencyProperty dp)
   在 System.Windows.Data.BindingExpressionBase.Attach(DependencyObject target, DependencyProperty dp)
   在 System.Windows.StyleHelper.GetInstanceValue(UncommonField`1 dataField, DependencyObject container, FrameworkElement feChild, FrameworkContentElement fceChild, Int32 childIndex, DependencyProperty dp, Int32 i, EffectiveValueEntry& entry)
   在 System.Windows.FrameworkTemplate.ReceivePropertySet(Object targetObject, XamlMember member, Object value, DependencyObject templatedParent)
   在 System.Windows.FrameworkTemplate.<>c__DisplayClass45_0.<LoadOptimizedTemplateContent>b__3(Object sender, XamlSetValueEventArgs setArgs)
   在 System.Xaml.XamlObjectWriter.OnSetValue(Object eventSender, XamlMember member, Object value)
   在 System.Xaml.XamlObjectWriter.SetValue(Object inst, XamlMember property, Object value)
   在 System.Xaml.XamlObjectWriter.Logic_ApplyPropertyValue(ObjectWriterContext ctx, XamlMember prop, Object value, Boolean onParent)
   在 System.Xaml.XamlObjectWriter.Logic_DoAssignmentToParentProperty(ObjectWriterContext ctx)
   在 System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue(ObjectWriterContext ctx)
   在 System.Xaml.XamlObjectWriter.WriteEndObject()
   在 System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter)


回复内容
CL 2022-10-19 11:07
#1

感谢反馈。 这个是动作中的代码遇到了异常情况。

可以尝试更新一下剪贴板动作到最新版。如果还不行,只能等@Cea大佬有时间修复下了。

回复主贴