You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run "choco outdated", it always lists the first outdated package then exits with a "value cannot be null" error.
What is Expected?
It should list all of my outdated packages.
How Did You Get This To Happen? (Steps to Reproduce)
The command was working fine, then I removed and reinstalled a particular package (notepadplusplus with the -x86 option, if I recall correctly) and then this error began happening. Note that it always errors out after listing the first outdated package. It was erroring out after listing the "fiddler4" package, then I upgraded that one and now still it's erroring after listing the "lastpass" package.
The error is actually caused by enabling useRememberedArgumentsForUpgrades. When I disable that feature the error goes away. At a guess, I think it's because I have packages that were installed with Chocolatey 0.10.3 and don't have a .arguments file.
When there are packages that do not have a saved .arguments file, if
someone has useRememberedArgumentsForUpgrades turned on, it can cause
"Value cannot be null" issues when running outdated or upgrade for the
packages that do not have these files. This is seen for packages that
were installed or last upgraded before Chocolatey v0.10.4.
* stable:
(chocolateyGH-1386) Default Template - Overall help and todo
(chocolateyGH-1257) AutoUninstaller: package opt-out
(maint) tab - add pro list options
(chocolateyGH-1383) Fix - no pkg args cause "value cannot be null"
(chocolateyGH-1385) Template - do not treat binary as text file
(maint) typo
(maint) Do not package pdb w/exe
(doc) update generated docs
What You Are Seeing?
When I run "choco outdated", it always lists the first outdated package then exits with a "value cannot be null" error.
What is Expected?
It should list all of my outdated packages.
How Did You Get This To Happen? (Steps to Reproduce)
The command was working fine, then I removed and reinstalled a particular package (notepadplusplus with the -x86 option, if I recall correctly) and then this error began happening. Note that it always errors out after listing the first outdated package. It was erroring out after listing the "fiddler4" package, then I upgraded that one and now still it's erroring after listing the "lastpass" package.
Output Log
This is with Chocolatey v0.10.7
https://gist.github.com/SaintGimp/4387a3415e40f36ced6118c8f3b9bb60
The text was updated successfully, but these errors were encountered: