Exception:“System.Windows.Controls.ContentPresenter”的类型初始值设定项引发异常。“System.Windows.Controls.AccessText”的类型初始值设定项引发异常。引发类型为“System.OutOfMemoryException”的异常。

报错信息

TypeInitializationException: “System.Windows.Controls.ContentPresenter”的类型初始值设定项引发异常。
--TypeName: System.Windows.Controls.ContentPresenter
StackTrace:
   在 System.Windows.StyleHelper.ShouldGetValueFromTemplate(DependencyProperty dp)
   在 System.Windows.FrameworkElement.FindResourceInTree(FrameworkElement feStart, FrameworkContentElement fceStart, DependencyProperty dp, Object resourceKey, Object unlinkedParent, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, DependencyObject boundaryElement, InheritanceBehavior& inheritanceBehavior, Object& source)
   在 System.Windows.FrameworkElement.FindResourceInternal(FrameworkElement fe, FrameworkContentElement fce, DependencyProperty dp, Object resourceKey, Object unlinkedParent, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, DependencyObject boundaryElement, Boolean isImplicitStyleLookup, Object& source)
   在 System.Windows.StyleHelper.GetChildValueHelper(UncommonField`1 dataField, ItemStructList`1& valueLookupList, DependencyProperty dp, DependencyObject container, FrameworkObject child, Int32 childIndex, Boolean styleLookup, EffectiveValueEntry& entry, ValueLookupType& sourceType, FrameworkElementFactory templateRoot)
   在 System.Windows.StyleHelper.GetChildValue(UncommonField`1 dataField, DependencyObject container, Int32 childIndex, FrameworkObject child, DependencyProperty dp, FrugalStructList`1& childRecordFromChildIndex, EffectiveValueEntry& entry, ValueLookupType& sourceType, FrameworkElementFactory templateRoot)
   在 System.Windows.StyleHelper.GetValueFromStyleOrTemplate(FrameworkObject fo, DependencyProperty dp, EffectiveValueEntry& entry)
   在 System.Windows.StyleHelper.ApplyStyleOrTemplateValue(FrameworkObject fo, DependencyProperty dp)
   在 System.Windows.StyleHelper.InvalidateContainerDependents(DependencyObject container, FrugalStructList`1& exclusionContainerDependents, FrugalStructList`1& oldContainerDependents, FrugalStructList`1& newContainerDependents)
   在 System.Windows.StyleHelper.DoStyleInvalidations(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle)
   在 System.Windows.StyleHelper.UpdateStyleCache(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle, Style& styleCache)
   在 System.Windows.FrameworkElement.OnStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   在 System.Windows.FrameworkElement..ctor()
   在 System.Windows.Controls.Control..ctor()
   在 System.Windows.Window..ctor()
   在 Quicker.View.UnhandledExceptionWindow..ctor(Exception ex, Boolean canIgnore)
   在 Quicker.App.<>c__DisplayClass27_0.h34ISBIDBBf()
   在 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)
   在 System.Windows.Threading.DispatcherOperation.InvokeImpl()
   在 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

TypeInitializationException: “System.Windows.Controls.AccessText”的类型初始值设定项引发异常。
--TypeName: System.Windows.Controls.AccessText
StackTrace:
   在 System.Windows.Controls.ContentPresenter..cctor()

OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
StackTrace:
   在 System.Windows.Controls.AccessText..cctor()

 

解决方法

暂无解决方案。

相关信息
1 查看
10天11小时前
Quicker版本
版本 反馈次数
1.42.43 1