Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullReferenceException when adding a null entry to the struct #6

Open
lorddev opened this issue Sep 7, 2018 · 2 comments
Open

NullReferenceException when adding a null entry to the struct #6

lorddev opened this issue Sep 7, 2018 · 2 comments
Assignees

Comments

@lorddev
Copy link
Contributor

lorddev commented Sep 7, 2018

 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 :-(

@lorddev
Copy link
Contributor Author

lorddev commented Sep 7, 2018

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.

2018-09-07

@LordVeovis LordVeovis self-assigned this Sep 10, 2018
@LordVeovis
Copy link
Owner

LordVeovis commented Sep 10, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants