microsoft / azure-pipelines-agent

Azure Pipelines Agent 🚀
MIT License
1.73k stars 869 forks source link

v3.212.0 throws NullReferenceException #4015

Closed VladimirKhvostov closed 2 years ago

VladimirKhvostov commented 2 years ago

Agent Version and Platform

Version of your agent? v3.212.0

Repro

See discussion at https://developercommunity.visualstudio.com/t/Secure-file-download-throwing-Object-ref/10183848?sort=newest&scope=follow&viewtype=all which have an easy repro steps.

The issue was introduced in the https://github.com/microsoft/azure-pipelines-agent/pull/3973/

Thanks, --Vladimir

kirill-ivlev commented 2 years ago

@VladimirKhvostov Thank you for reporting it, we will have a look

LiliaSabitova commented 2 years ago

PR: https://github.com/microsoft/azure-pipelines-agent/pull/4018

LiliaSabitova commented 2 years ago

Merged to master and dotnet6-agent branches