-
Notifications
You must be signed in to change notification settings - Fork 903
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
uninstall - Object reference exception when there are no sources #1584
Comments
jirkapok
added a commit
to jirkapok/choco
that referenced
this issue
Jun 1, 2018
jirkapok
added a commit
to jirkapok/choco
that referenced
this issue
Jul 24, 2018
I think there was an age old issue this is related to. We didn't find it because we didn't know what it was related to. This is helpful. |
ferventcoder
pushed a commit
that referenced
this issue
Jan 18, 2019
When source are null, it causas a null reference exception in NuGetCommon due to the split of a null value. Instead, convert to string safely prior to splitting the values. Add tests to verify this behavior.
ferventcoder
added a commit
that referenced
this issue
Jan 18, 2019
* pr1587: (GH-1584) Fix Exception when source is null
Thanks for your contribution! This has been merged and will be released in 0.10.12. |
ferventcoder
changed the title
Object reference exception when there are no sources
uninstall - Object reference exception when there are no sources
Mar 7, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce on 0.10.11:
choco uninstall git -y
Actual result:
Following error message is returned:
Object reference not set to an instance of an object.
Expected result:
No message is shown and package is successfully uninstalled, since you dont need package sources for uninstall.
Note:
The text was updated successfully, but these errors were encountered: