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

GetEncodedValue doesn't check for null values #68

Open
Qwin opened this issue Dec 13, 2017 · 2 comments
Open

GetEncodedValue doesn't check for null values #68

Qwin opened this issue Dec 13, 2017 · 2 comments

Comments

@Qwin
Copy link

Qwin commented Dec 13, 2017

When adding AddParameter and one of the values is null it will choose to encode and make PortableRest explode on GetEncodedValue (null pointer exception).

Resolution:
Add a null check.

@robertmclaws
Copy link
Collaborator

Hey @Qwin, I'd like to get this resolved for you. Can you please post some sample code that reproduces the error? I'd like to build in some unit tests that account for it.

Thanks!

@Qwin
Copy link
Author

Qwin commented Dec 20, 2017

@robertmclaws will do. Sorry saw your message really late.

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