Sysprogs forums › Forums › VisualGDB › There is an error in XML document.
- This topic has 1 reply, 2 voices, and was last updated 1 year, 11 months ago by support.
-
AuthorPosts
-
December 6, 2022 at 13:36 #33509ss2432Participant
After updating VisualGDB and pulled a remote project from github, I am getting this error.
How can I resolve this?
There is an error in XML document. (12, 2)
VisualGDB version: 5.6.108.4702
------------------ System.InvalidOperationException ------------------
System.InvalidOperationException: There is an error in XML document (12, 2). ---> System.Xml.XmlException: Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 12, position 2.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVisualGDBProjectSettings2.Read8_RemoteHostSettings(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVisualGDBProjectSettings2.Read22_LinuxProjectSubsystemSettings(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVisualGDBProjectSettings2.Read5_ProjectSubsystemSettingsBase(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVisualGDBProjectSettings2.Read238_VisualGDBProjectSettings2(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVisualGDBProjectSettings2.Read239_VisualGDBProjectSettings2()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at VisualGDB.VisualGDBProjectSettings2.Load(XmlSerializer serializer, String settingsFilePath, Boolean bypassPerUserSettings)
at wr2.p(ProjectSettingsFileInfo a, Boolean b)
at VisualGDB.Common_GUI.Configuration_editors.ProjectPropertiesEditModel.LookupSettingsFile(b22 a)
at VisualGDB.Common_GUI.Configuration_editors.ProjectPropertiesEditModel..ctor(b22 d, Boolean e, f63 c, AlternateDebuggerSetup a, mh1 b)
at VisualGDB.Common_GUI.Configuration_editors.MultipleProjectPropertiesEditModel.CreateConfigurationModel(b22 a)
at VisualGDB.Common_GUI.Configuration_editors.MultipleProjectPropertiesEditModel.a(u a)
at VisualGDB.Common_GUI.Configuration_editors.MultipleProjectPropertiesEditModel..ctor(hj3 b, f63 a)
at VisualGDB.Common_GUI.WPF.ProjectPropertiesWindow3..ctor(hj3 prj, Type pageTypeToSelect)
at f92.GDBProjectProperties.ExecuteForProject(f92 addIn, Object objPrj, Type pageTypeToSelect)
trace=[System.Xml.Serialization.XmlSerializer.Deserialize:284, VisualGDB.VisualGDBProjectSettings2.Load:132, wr2.p:34, VisualGDB.Common_GUI.Configuration_editors.ProjectPropertiesEditModel.LookupSettingsFile:1783, VisualGDB.Common_GUI.Configuration_editors.ProjectPropertiesEditModel..ctor:148, VisualGDB.Common_GUI.Configuration_editors.MultipleProjectPropertiesEditModel.CreateConfigurationModel:15, VisualGDB.Common_GUI.Configuration_editors.MultipleProjectPropertiesEditModel.a:117, VisualGDB.Common_GUI.Configuration_editors.MultipleProjectPropertiesEditModel..ctor:50, VisualGDB.Common_GUI.WPF.ProjectPropertiesWindow3..ctor:14, f92+GDBProjectProperties.ExecuteForProject:75]
------------------ Inner exception ------------------
------------------ System.Xml.XmlException ------------------
System.Xml.XmlException: Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 12, position 2.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVisualGDBProjectSettings2.Read8_RemoteHostSettings(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVisualGDBProjectSettings2.Read22_LinuxProjectSubsystemSettings(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVisualGDBProjectSettings2.Read5_ProjectSubsystemSettingsBase(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVisualGDBProjectSettings2.Read238_VisualGDBProjectSettings2(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVisualGDBProjectSettings2.Read239_VisualGDBProjectSettings2()
trace=[System.Xml.XmlTextReaderImpl.Throw:39, System.Xml.XmlTextReaderImpl.ParseQName:0, System.Xml.XmlTextReaderImpl.ParseElement:158, System.Xml.XmlTextReaderImpl.ParseElementContent:367, System.Xml.XmlReader.MoveToContent:58, Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVisualGDBProjectSettings2.Read8_RemoteHostSettings:249, Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVisualGDBProjectSettings2.Read22_LinuxProjectSubsystemSettings:694, Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVisualGDBProjectSettings2.Read5_ProjectSubsystemSettingsBase:712, Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVisualGDBProjectSettings2.Read238_VisualGDBProjectSettings2:561, Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVisualGDBProjectSettings2.Read239_VisualGDBProjectSettings2:80]
December 6, 2022 at 16:03 #33510supportKeymasterHi,
This means that the project file is corrupt. Please try re-creating the project, or manually checking the location shown in the error message for obvious XML errors.
-
AuthorPosts
- You must be logged in to reply to this topic.