151
1 1 vote vote vote

[ Resolved ]

Unhandled Exception : System.ArgumentException: String cannot be of zero length. Parameter name: oldValue at System.String.Replace(String oldValue, String newValue)

Steps to regenerate

Some of our customers running Windows XP and .Net Framework 3.5 SP1 are sometimes getting the following unhandled exception:

System.ArgumentException: String cannot be of zero length.

Parameter name: oldValue

at System.String.Replace(String oldValue, String newValue)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteAttribute(TextWriter outText, HtmlAttribute att)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteAttributes(TextWriter outText, Boolean closing)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo(TextWriter outText)

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.WriteContentTo()

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlAgilityPack.HtmlNode.get_InnerHtml()

at SpiceLogic.HtmlEditorControl.FrameworkExtensions.HtmlDOMLib.GetXHTML(String rawHtml, Boolean filterForZeroBorderTable, Boolean filterForInlineSpellCheck)

at SpiceLogic.HtmlEditorControl.DomainServices.ContentService.GetDocumentHtml(Boolean getInXHTML)

at SpiceLogic.WinHTMLEditor.WinForm.WinFormHtmlEditor.get_DocumentHtml()
Please feel free to share your comment.
loading...