WPF中ErrorTemplate导致的空引用at MS.Internal.Controls.TemplatedAdorner.MeasureOverride(Size constraint)
最近遇到一个崩溃,dump信息如下:Objectreferencenotsettoaninstanceofanobject.atMS.Internal.Controls.TemplatedAdorner.MeasureOverride(Sizeconstraint) atSystem.Windows.FrameworkElement.MeasureCore(SizeavailableSize