Failed to request and parse '': Object reference not set to an instance of an object

Template for a good new topic, formatted with Markdown:

Azure DevOps

The pipeline of my Azure DevOps project is not running because an error on the SonarCloudPrepare service giving us the message in the title. Seems like it fails because there is no version number in the URL ¿?
Here is our pipeline cource code:

  • master

pool: ‘Servers CI’
solution: ‘**/*.sln’
buildPlatform: ‘Any CPU’
buildConfiguration: ‘Release’


  • task: UseDotNet@2
    displayName: ‘Install .NET Core SDK’
    version: 3.1.x
    performMultiLevelLookup: true

  • task: SonarCloudPrepare@1
    SonarCloud: ‘Sonarcloud SecCert’
    scannerMode: ‘MSBuild’
    organization: ‘XXXXXX’
    projectKey: ‘XXXXXX_SecCert’
    projectName: ‘SecCert’
    projectVersion: 1.0

Hi @mauro-maulini66712 and welcome to the community.

Can you please share the logs of this failing execution, in debug mode please ?

Thanks in advance.

Hi Mickaël
I’m adding as upload the log with the problem.
debuglogs.txt (66.6 KB)

Thanks in advance.

Hi @mauro-maulini66712 and thanks.

Does it happen consistently since the first occurrence of this error ?

Is your agent behind a proxy by chance ?


Hi Mickaël.
Yes the error is happening constantly from the first run.
I was asking to the DevOps people and there is not a proxy over this, but we are using on premise server to deploy so I will request permissions for the url to be accessed from this server in order to open the connection and solve this.
Thank you.