NullReferenceException on most UXPage XAML files

3 replies. Last post: February 26, 2015 4:50 AM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Lawton BrownMember
After upgrading from 8.0.5000 to 10.0.5000 and persisting through 11.0.5000, most of the UXPage xaml pages in my silverlight app show the following error:

NullReferenceException: Object reference not set to an instance of an object.
StackTrace
  at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
  at MS.Internal.XcpImports.FontFamily_GetFamilyName(CValue& element)
  at MS.Internal.XcpImports.ConvertCValueForManagedWithType(Type propertyType, CValue& outVal, Int32 outDOType, Boolean releaseObjectReference, Boolean deleteBuffer, IManagedPeerBase fromObject)
  at MS.Internal.XcpImports.GetManagedPropertyValueFromStyle(Boolean useBuiltInStyle, IManagedPeerBase obj, DependencyProperty property, Object& value)
  at System.Windows.FrameworkElement.GetValueFromStyle(DependencyProperty property, Object& value)
  at System.Windows.DependencyObject.EvaluateBaseValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
  at System.Windows.DependencyObject.EvaluateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry newEntry, ValueOperation operation)
  at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
  at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
  at MS.Internal.FrameworkCallbacks.InvalidateProperty(InPtr nativeTarget, UInt32 propertyId)

InnerException: None

I have deleted the obj and bin folders.
I have updated all references.

If I delete a section of the XAML, and then add it back, it will show the design view again.

Any guidance?


All times are GMT -5. The time now is 12:16 AM.
Previous Next