Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

XPathModuleInfo.NamespaceBindings: An item with the same key has already been added. #1

Closed
maxtoroq opened this issue Dec 6, 2012 · 0 comments
Assignees
Labels

Comments

@maxtoroq
Copy link
Owner

maxtoroq commented Dec 6, 2012

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)
@ghost ghost assigned maxtoroq May 31, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant