xmlrpc
xmlrpc copied to clipboard
NullReferenceException when adding a null entry to the struct
Traceback (most recent call last):
1
at System.Object.GetType() in "System.Object" line 0
2
at CookComputing.XmlRpc.XmlRpcStruct.Add(System.Object key, System.Object value) in "CookComputing.XmlRpc.XmlRpcStruct" line 19
...
System.NullReferenceException: Object reference not set to an instance of an object.
When I use the Cook Computing NuGet package I don't get this error. Of course, we can't use that if we want a cross-platform application :-(
As far as I can tell, this issue occurs because XmlRpcStruct was modified from the original Cook Computing source code to use a HashTable instead of a dictionary.
This fork is based on XmlRPC v2.5, not v3 as Cook never marked it stable. I will take a look this week-end.
Thanks for the diff.