Error Line 220 position 41.

8 views
Skip to first unread message

Odair L. Ramos Jr

unread,
Jan 16, 2025, 7:37:21 AMJan 16
to Zeta Resource Editor
When I try to open Zeta, it generates an error. How can I fix it?

Error:

There is an unclosed literal string. Line 220, position 41.
There is an unclosed literal string. Line 220, position 41.

Details:


ZetaShortPaths.ZspSimpleFileAccessProtectorException

-----------------

Error during operation, tried more than 3 times.

-----------------

at ZetaShortPaths.ZspSimpleFileAccessProtector.Protect(Action action, ZspSimpleFileAccessProtectorInformation info)
   at Zeta.VoyagerLibrary.Core.Tools.Storage.PersistentXmlFilePairStorage.loadXmlDocumentFromFile(String filePath)
   at Zeta.VoyagerLibrary.Core.Tools.Storage.PersistentXmlFilePairStorage.load()
   at Zeta.VoyagerLibrary.Core.Tools.Storage.PersistentXmlFilePairStorage.set_FilePath(String value)
   at ZetaResourceEditor.Code.Host.Main() in c:\P\zeta-resource-editor\Source\Main\Code\Host.cs:line 44

ZspSimpleFileAccessProtectorException
{
TargetSite=RuntimeMethodInfo: Protect,
Message="Error during operation, tried more than 3 times.",
Data=
[
"a08c7921-3b9f-4d48-bd82-280636202e40" = "a08c7921-3b9f-4d48-bd82-280636202e40"
"Info" = null
]
,
InnerException=Exception
{
TargetSite=RuntimeMethodInfo: <loadXmlDocumentFromFile>b__0,
Message="There is an unclosed literal string. Line 220, position 41.",
Data=
[
"File path" = "C:\\Users\\ojunior\\AppData\\Local\\Zeta Resource Editor\\zeta-resource-editor-settings.xml"
]
,
InnerException=XmlException
{
LineNumber=220,
LinePosition=41,
SourceUri="",
Message="There is an unclosed literal string. Line 220, position 41.",
TargetSite=RuntimeMethodInfo: Throw,
Data=
[
]
,
InnerException=null,
HelpLink=null,
Source="System.Private.Xml",
HResult=-2146232000,
StackTrace="   at System.Xml.XmlTextReaderImpl.Throw(Exception e)\\r\\n   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)\\r\\n   at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)\\r\\n   at System.Xml.XmlTextReaderImpl.ParseAttributes()\\r\\n   at System.Xml.XmlTextReaderImpl.ParseElement()\\r\\n   at System.Xml.XmlTextReaderImpl.ParseElementContent()\\r\\n   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)\\r\\n   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)\\r\\n   at System.Xml.XmlDocument.Load(XmlReader reader)\\r\\n   at System.Xml.XmlDocument.LoadXml(String xml)\\r\\n   at Zeta.VoyagerLibrary.Core.Tools.Storage.PersistentXmlFilePairStorage.<>c__DisplayClass33_0.<loadXmlDocumentFromFile>b__0()"
},
HelpLink=null,
Source="Zeta.VoyagerLibrary.Core.Tools",
HResult=-2146233088,
StackTrace="   at Zeta.VoyagerLibrary.Core.Tools.Storage.PersistentXmlFilePairStorage.<>c__DisplayClass33_0.<loadXmlDocumentFromFile>b__0()\\r\\n   at ZetaShortPaths.ZspSimpleFileAccessProtector.Protect(Action action, ZspSimpleFileAccessProtectorInformation info)"
},
HelpLink=null,
Source="ZetaShortPaths",
HResult=-2146233088,
StackTrace="   at ZetaShortPaths.ZspSimpleFileAccessProtector.Protect(Action action, ZspSimpleFileAccessProtectorInformation info)\\r\\n   at Zeta.VoyagerLibrary.Core.Tools.Storage.PersistentXmlFilePairStorage.loadXmlDocumentFromFile(String filePath)\\r\\n   at Zeta.VoyagerLibrary.Core.Tools.Storage.PersistentXmlFilePairStorage.load()\\r\\n   at Zeta.VoyagerLibrary.Core.Tools.Storage.PersistentXmlFilePairStorage.set_FilePath(String value)\\r\\n   at ZetaResourceEditor.Code.Host.Main() in c:\\P\\zeta-resource-editor\\Source\\Main\\Code\\Host.cs:line 44"
}
-->There is an unclosed literal string. Line 220, position 41.--> There is an unclosed literal string. Line 220, position 41.

System.Exception

-----------------

There is an unclosed literal string. Line 220, position 41.

-----------------

at Zeta.VoyagerLibrary.Core.Tools.Storage.PersistentXmlFilePairStorage.<>c__DisplayClass33_0.<loadXmlDocumentFromFile>b__0()
   at ZetaShortPaths.ZspSimpleFileAccessProtector.Protect(Action action, ZspSimpleFileAccessProtectorInformation info)

Exception
{
TargetSite=RuntimeMethodInfo: <loadXmlDocumentFromFile>b__0,
Message="There is an unclosed literal string. Line 220, position 41.",
Data=
[
"File path" = "C:\\Users\\ojunior\\AppData\\Local\\Zeta Resource Editor\\zeta-resource-editor-settings.xml"
]
,
InnerException=XmlException
{
LineNumber=220,
LinePosition=41,
SourceUri="",
Message="There is an unclosed literal string. Line 220, position 41.",
TargetSite=RuntimeMethodInfo: Throw,
Data=
[
]
,
InnerException=null,
HelpLink=null,
Source="System.Private.Xml",
HResult=-2146232000,
StackTrace="   at System.Xml.XmlTextReaderImpl.Throw(Exception e)\\r\\n   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)\\r\\n   at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)\\r\\n   at System.Xml.XmlTextReaderImpl.ParseAttributes()\\r\\n   at System.Xml.XmlTextReaderImpl.ParseElement()\\r\\n   at System.Xml.XmlTextReaderImpl.ParseElementContent()\\r\\n   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)\\r\\n   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)\\r\\n   at System.Xml.XmlDocument.Load(XmlReader reader)\\r\\n   at System.Xml.XmlDocument.LoadXml(String xml)\\r\\n   at Zeta.VoyagerLibrary.Core.Tools.Storage.PersistentXmlFilePairStorage.<>c__DisplayClass33_0.<loadXmlDocumentFromFile>b__0()"
},
HelpLink=null,
Source="Zeta.VoyagerLibrary.Core.Tools",
HResult=-2146233088,
StackTrace="   at Zeta.VoyagerLibrary.Core.Tools.Storage.PersistentXmlFilePairStorage.<>c__DisplayClass33_0.<loadXmlDocumentFromFile>b__0()\\r\\n   at ZetaShortPaths.ZspSimpleFileAccessProtector.Protect(Action action, ZspSimpleFileAccessProtectorInformation info)"
}
Ignoring inner exception because of previous OutOfMemoryException. See https://stackoverflow.com/a/25010668/107625

System.Xml.XmlException

-----------------

There is an unclosed literal string. Line 220, position 41.

-----------------

at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
   at System.Xml.XmlTextReaderImpl.ParseAttributes()
   at System.Xml.XmlTextReaderImpl.ParseElement()
   at System.Xml.XmlTextReaderImpl.ParseElementContent()
   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.LoadXml(String xml)
   at Zeta.VoyagerLibrary.Core.Tools.Storage.PersistentXmlFilePairStorage.<>c__DisplayClass33_0.<loadXmlDocumentFromFile>b__0()

XmlException
{
LineNumber=220,
LinePosition=41,
SourceUri="",
Message="There is an unclosed literal string. Line 220, position 41.",
TargetSite=RuntimeMethodInfo: Throw,
Data=
[
]
,
InnerException=null,
HelpLink=null,
Source="System.Private.Xml",
HResult=-2146232000,
StackTrace="   at System.Xml.XmlTextReaderImpl.Throw(Exception e)\\r\\n   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)\\r\\n   at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)\\r\\n   at System.Xml.XmlTextReaderImpl.ParseAttributes()\\r\\n   at System.Xml.XmlTextReaderImpl.ParseElement()\\r\\n   at System.Xml.XmlTextReaderImpl.ParseElementContent()\\r\\n   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)\\r\\n   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)\\r\\n   at System.Xml.XmlDocument.Load(XmlReader reader)\\r\\n   at System.Xml.XmlDocument.LoadXml(String xml)\\r\\n   at Zeta.VoyagerLibrary.Core.Tools.Storage.PersistentXmlFilePairStorage.<>c__DisplayClass33_0.<loadXmlDocumentFromFile>b__0()"
}
Ignoring inner exception because of previous OutOfMemoryException. See https://stackoverflow.com/a/25010668/107625
Reply all
Reply to author
Forward
0 new messages