XamlParseException: 向类型为“System.Windows.Documents.InlineCollection”的集合中添加值引发了异常。 --LineNumber: 0 --LinePosition: 0 --BaseUri: pack://application:,,,/Quicker;component/modules/versionupdate/updatenotifierwindow.xaml StackTrace: 在 System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) 在 System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) 在 System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) 在 System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) 在 Quicker.Modules.VersionUpdate.UpdateNotifierWindow.InitializeComponent() 在 Quicker.Modules.VersionUpdate.UpdateNotifierWindow..ctor(AppVersionInfo appVersionInfo, Boolean isManualCheckUpdate) 在 Quicker.Modules.VersionUpdate.SoftVersionHelper.<>c__DisplayClass1_0.DYMTFndcjNPCqs11Nh7.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 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) AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。 StackTrace: 在 System.Windows.Documents.TextPointer.RepositionForGravity(TextTreeNode& node, ElementEdge& edge, LogicalDirection gravity) 在 System.Windows.Documents.TextPointer.Initialize(TextContainer tree, TextTreeNode node, ElementEdge edge, LogicalDirection gravity, UInt32 generation, Boolean caretUnitBoundaryCache, Boolean isCaretUnitBoundaryCacheValid, UInt32 layoutGeneration) 在 System.Windows.Documents.TextContainer.get_End() 在 System.Windows.Documents.TextElementCollection`1.Add(TextElementType item) 在 System.Windows.Documents.TextElementCollection`1.OnAdd(Object value) 在 System.Windows.Documents.InlineCollection.OnAdd(Object value) 在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.Add(Object collection, XamlType collectionType, Object value, XamlType valueXamlType)