Exception:Set property 'FontAwesome5.WPF.SvgAwesome.Icon' threw an exception.Unexpected token 'M4.465 263.536l7.07 7.071c4.686 4.686 12,284 4.686 16.971 0L207 92.113V448c0 6.627 5.373 12 12 10h10c6.627 0 12-5.373 12-12V92.113l178.494 178.493c4.686 4.686 12.284 4.686 16.951 0l7.07-7.071c4.686-4.686 4.684-12.284 0-16.97l-211.05-211.05c-4.686-4.686-12.284-4.686-16.971 0L4.465 246.566c-4.687 4.686-4.687 12.284 0 16.97z' encountered at position '58'.

报错信息

XamlParseException: Set property 'FontAwesome5.WPF.SvgAwesome.Icon' threw an exception.
--LineNumber: 0
--LinePosition: 0
--BaseUri: pack://application:,,,/Quicker;component/view/main/popupwindow.xaml
StackTrace:
   at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at Quicker.View.PopupWindow.InitializeComponent()
   at Quicker.View.PopupWindow..ctor(IKernel container, DataService dataService, ITinyMessengerHub hub, PanelState panelState, AppServer appServer, ActiveWindowHook activeWindowWatcher, ProfileManager profileManager, UsageCounter usageCounter, PopupState popupState, IconManager iconManager, ActionEditMgr actionEditMgr, RunningActionMgr runningActionMgr, SQLDataMgr sqlDataMgr, ProfileSwitcher profileSwitcher, AutoRunService autoRunService, FloatButtonAndPanelManager floatButtonAndPanelManager, TextFloatPanelMgr textFloatPanelMgr, PushClient pushClient)
   at DynamicInjectord77fec66a5b84b0fb606baf9bf6c1629(Object[] )
   at Ninject.Activation.Context.ResolveInternal(Object scope)
   at Ninject.Activation.Context.Resolve()
   at Ninject.KernelBase.Resolve(IRequest request, Boolean handleMissingBindings, Boolean filterImplicitBindings)
   at Quicker.App.uh8iAmYgxM()
   at Quicker.App.<StartupApplicationAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Quicker.App.<ApplicationStart>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

FormatException: Unexpected token 'M4.465 263.536l7.07 7.071c4.686 4.686 12,284 4.686 16.971 0L207 92.113V448c0 6.627 5.373 12 12 10h10c6.627 0 12-5.373 12-12V92.113l178.494 178.493c4.686 4.686 12.284 4.686 16.951 0l7.07-7.071c4.686-4.686 4.684-12.284 0-16.97l-211.05-211.05c-4.686-4.686-12.284-4.686-16.971 0L4.465 246.566c-4.687 4.686-4.687 12.284 0 16.97z' encountered at position '58'.
StackTrace:
   at MS.Internal.AbbreviatedGeometryParser.ThrowBadToken()
   at MS.Internal.AbbreviatedGeometryParser.ReadNumber(Boolean allowComma)
   at MS.Internal.AbbreviatedGeometryParser.ReadPoint(Char cmd, Boolean allowcomma)
   at MS.Internal.AbbreviatedGeometryParser.ParseToGeometryContext(StreamGeometryContext context, String pathString, Int32 startIndex)
   at MS.Internal.Parsers.ParseStringToStreamGeometryContext(StreamGeometryContext context, String pathString, IFormatProvider formatProvider, FillRule& fillRule)
   at MS.Internal.Parsers.ParseGeometry(String pathString, IFormatProvider formatProvider)
   at FontAwesome5.WPF.SvgAwesome.CreatePath(EFontAwesomeIcon icon, Brush foregroundBrush, Double emSize)
   at FontAwesome5.WPF.SvgAwesome.OnIconPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.Baml2006.WpfMemberInvoker.SetValue(Object instance, Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)

 

解决方法

暂无解决方案。

相关信息
0 查看
2025-12-11 21:52
Quicker版本
版本 反馈次数