-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Steps to reproduce the bug:
Error details:
System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'SimFlightPath.ViewModel.MainViewModel' that matches the specified binding constraints threw an exception.
---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
at System.Xml.Linq.XDocument.Load(String uri)
at SimFlightPath.Model.LogFile.LoadXDocument() in SimFlightPath\Model\LogFile.cs:line 184
at SimFlightPath.Model.LogFile.SaveUpdatedXDocument(XDocument xDoc) in SimFlightPath\Model\LogFile.cs:line 193
at SimFlightPath.Model.LogFile.UpdateTo_1_4() in SimFlightPath\Model\LogFile.cs:line 255
at SimFlightPath.Model.LogFile.Update() in SimFlightPath\Model\LogFile.cs:line 233
at SimFlightPath.Model.LogFiles.UpdateFiles(IEnumerable`1 files) in SimFlightPath\Model\LogFiles.cs:line 154
at SimFlightPath.Model.LogFiles.RefreshFileList() in SimFlightPath\Model\LogFiles.cs:line 104
at SimFlightPath.Model.LogFiles.get_Files() in SimFlightPath\Model\LogFiles.cs:line 43
at SimFlightPath.ViewModel.MainViewModel..ctor() in SimFlightPath\ViewModel\MainViewModel.cs:line 98
--- End of inner exception stack trace ---
at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.ResourceDictionary.CreateObject(KeyRecord key)
at System.Windows.ResourceDictionary.OnGettingValue(Object key, Object& value, Boolean& canCache)
at System.Windows.ResourceDictionary.OnGettingValuePrivate(Object key, Object& value, Boolean& canCache)
at System.Windows.ResourceDictionary.GetValueWithoutLock(Object key, Boolean& canCache)
at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)
at System.Windows.ResourceDictionary.GetValueWithoutLock(Object key, Boolean& canCache)
at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)
at System.Windows.Application.FindResource(Object resourceKey)
at SimFlightPath.App.OnStartup(StartupEventArgs e) in SimFlightPath\App.xaml.cs:line 77
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)