This project is read-only.
1
Vote

Exception impossible to lock this freezable object

description

Everything is ok, but sometimes returning from screen saver in a 2012r2 rdp session I get the exception : impossible to lock this freezable object




Type: System.Windows.Markup.XamlParseException
Message: 'L'inizializzazione di 'Stema.Controls.NavigationPane' ha generato un'eccezione.' numero riga '56' e posizione riga '19'.
Source: PresentationFramework
Method: Load

Details:
in System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
in System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
in System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
in System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
in GeAz.STDWindowEV.InitializeComponent()
in GeAz.STDWindowEV..ctor(DataTable extdt, String[] sysp, STDWindowEV pwin)
in GeAz.UInewWIN.OpenWin_Executed(Object sender, ExecutedRoutedEventArgs e)


Inner exception

Type: System.InvalidOperationException
Message: Impossibile bloccare questo oggetto Freezable.
Source: WindowsBase
Method: Freeze

Details:
in System.Windows.Freezable.Freeze()
in System.Windows.SystemResources.Freeze(Object resource)
in System.Windows.SystemResources.FindDictionaryResource(Object key, Type typeKey, ResourceKey resourceKey, Boolean isTraceEnabled, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, Boolean& canCache)
in System.Windows.SystemResources.FindResourceInternal(Object key, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference)
in System.Windows.FrameworkElement.FindResourceInternal(FrameworkElement fe, FrameworkContentElement fce, DependencyProperty dp, Object resourceKey, Object unlinkedParent, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, DependencyObject boundaryElement, Boolean isImplicitStyleLookup, Object& source)
in System.Windows.StyleHelper.GetChildValueHelper(UncommonField1 dataField, ItemStructList1& valueLookupList, DependencyProperty dp, DependencyObject container, FrameworkObject child, Int32 childIndex, Boolean styleLookup, EffectiveValueEntry& entry, ValueLookupType& sourceType, FrameworkElementFactory templateRoot)
in System.Windows.StyleHelper.GetChildValue(UncommonField1 dataField, DependencyObject container, Int32 childIndex, FrameworkObject child, DependencyProperty dp, FrugalStructList1& childRecordFromChildIndex, EffectiveValueEntry& entry, ValueLookupType& sourceType, FrameworkElementFactory templateRoot)
in System.Windows.StyleHelper.GetValueFromStyleOrTemplate(FrameworkObject fo, DependencyProperty dp, EffectiveValueEntry& entry)
in System.Windows.StyleHelper.ApplyStyleOrTemplateValue(FrameworkObject fo, DependencyProperty dp)
in System.Windows.StyleHelper.InvalidateContainerDependents(DependencyObject container, FrugalStructList1& exclusionContainerDependents, FrugalStructList1& oldContainerDependents, FrugalStructList`1& newContainerDependents)
in System.Windows.StyleHelper.DoThemeStyleInvalidations(FrameworkElement fe, FrameworkContentElement fce, Style oldThemeStyle, Style newThemeStyle, Style style)
in System.Windows.StyleHelper.UpdateThemeStyleCache(FrameworkElement fe, FrameworkContentElement fce, Style oldThemeStyle, Style newThemeStyle, Style& themeStyleCache)
in System.Windows.FrameworkElement.OnThemeStyleChanged(DependencyObject d, Object oldValue, Object newValue)
in System.Windows.StyleHelper.GetThemeStyle(FrameworkElement fe, FrameworkContentElement fce)
in System.Windows.FrameworkElement.UpdateThemeStyleProperty()
in System.Windows.FrameworkElement.OnInitialized(EventArgs e)
in System.Windows.Controls.Primitives.Selector.OnInitialized(EventArgs e)
in Stema.Controls.NavigationPane.OnInitialized(EventArgs e)
in System.Windows.FrameworkElement.TryFireInitialized()
in System.Windows.FrameworkElement.EndInit()
in System.Windows.Controls.ItemsControl.EndInit()
in Stema.Controls.NavigationPane.EndInit()
in MS.Internal.Xaml.Runtime.ClrObjectRuntime.InitializationGuard(XamlType xamlType, Object obj, Boolean begin)

file attachments

comments