XPathModuleInfo.NamespaceBindings: An item with the same key has already been added.
maxtoroq opened this issue · comments
Max Toro commented
Probably a thread-safety issue.
Exception information:
Exception type: ArgumentException
Exception message: An item with the same key has already been added.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at myxsl.net.common.XPathModuleInfo.get_NamespaceBindings() in c:\foss\myxsl.net\myxsl.net\common\XPathModuleInfo.cs:line 62
at myxsl.net.common.XPathModuleInfo.get_PredeclarePrefix() in c:\foss\myxsl.net\myxsl.net\common\XPathModuleInfo.cs:line 189
at FunctionLibrary.WriteXml(XmlWriter writer)
at myxsl.net.common.XPathItemFactory.CreateDocument(IXmlSerializable value) in c:\foss\myxsl.net\myxsl.net\common\XPathItemFactory.cs:line 106
at myxsl.net.common.XPathItemFactory.CreateDocument(Object value) in c:\foss\myxsl.net\myxsl.net\common\XPathItemFactory.cs:line 79
at myxsl.net.system.ExtensionObjectConvert.ToNode(Object value) in c:\foss\myxsl.net\myxsl.net\system\ExtensionObjectConvert.cs:line 301
at myxsl.net.system.ExtensionObjectConvert.ToInput(Object value) in c:\foss\myxsl.net\myxsl.net\system\ExtensionObjectConvert.cs:line 100
at myxsl.net.system.ExtensionObjectConvert.ToInputOrEmpty(Object value) in c:\foss\myxsl.net\myxsl.net\system\ExtensionObjectConvert.cs:line 239
at myxsl.net.system.SystemXsltExecutable.GetArguments(XsltRuntimeOptions options) in c:\foss\myxsl.net\myxsl.net\system\SystemXsltExecutable.cs:line 203
at myxsl.net.system.SystemXsltExecutable.Run(XmlWriter output, XsltRuntimeOptions options) in c:\foss\myxsl.net\myxsl.net\system\SystemXsltExecutable.cs:line 171
at myxsl.net.system.SystemXsltExecutable.Run(TextWriter output, XsltRuntimeOptions options) in c:\foss\myxsl.net\myxsl.net\system\SystemXsltExecutable.cs:line 146
at myxsl.net.web.ui.XsltPage.Render(TextWriter writer, XsltRuntimeOptions options) in c:\foss\myxsl.net\myxsl.net\web.ui\XsltPage.cs:line 53
at myxsl.net.web.ui.XsltPage.Render(TextWriter writer) in c:\foss\myxsl.net\myxsl.net\web.ui\XsltPage.cs:line 47
at myxsl.net.web.ui.BasePage.ProcessRequest() in c:\foss\myxsl.net\myxsl.net\web.ui\BasePage.cs:line 75
at myxsl.net.web.ui.XsltPage.ProcessRequest() in c:\foss\myxsl.net\myxsl.net\web.ui\XsltPage.cs:line 39
at myxsl.net.web.ui.BasePage.ProcessRequest(HttpContext context) in c:\foss\myxsl.net\myxsl.net\web.ui\BasePage.cs:line 40
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)