Exception by proxy callSystem.ArgumentException: 已增添项。字典中的关键

Exception by proxy callSystem.ArgumentException: 已添加项。字典中的关键Exception by proxy callSystem

Exception by proxy callSystem.ArgumentException: 已添加项。字典中的关键
Exception by proxy callSystem.ArgumentException: 已添加项。字典中的关键字:“×××

”所添加的关键字:“×××”

在 System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)

在 hessiancsharp.io.CSerializerFactory.GetSerializer(Type type)

在 hessiancsharp.io.CHessianOutput.WriteObject(Object obj)

在 hessiancsharp.io.CHessianOutput.Call(String strMethod, Object[] args)

在 hessiancsharp.client.CHessianMethodCaller.DoHessianMethodCall(Object[] arrMethodArgs, MethodInfo methodInfo)已添加项。字典中的关键字:“×××”所添加的关键字:“×××”


.NET调hessian一个比较奇怪的异常,据分析是在Insert()到GetSerializer()之间需要进行代码同步或者对Hashtable用新加入数据替换原有数据,修改hessian源码编译成dll替换原有dll