There is an error in XML document.

Sysprogs forums Forums VisualGDB There is an error in XML document.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33509
    ss2432
    Participant

    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]

    #33510
    support
    Keymaster

    Hi,

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.