question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Value cannot be null. (Parameter 'provider')

See original GitHub issue

Hi there, I was just using the HttpExample code and nothing was changed, after I clicked F5 according to the guide and the issue came up, even I used func start in the project folder the issue remained the same.

Azure Functions Core Tools (3.0.2912 Commit hash: bfcbbe48ed6fdacdf9b309261ecc8093df3b83f2)
Function Runtime Version: 3.0.14287.0
[9/19/2020 15:00:06] Building host: startup suppressed: 'False', configuration suppressed: 'False', startup operation id: '5f4c99d4-a810-4ca5-8ea9-2f98573cf816'
[9/19/2020 15:00:06] Reading host configuration file 'G:\projects\example-pj\host.json'
[9/19/2020 15:00:06] Host configuration file read:
[9/19/2020 15:00:06] {
[9/19/2020 15:00:06]   "version": "2.0",
[9/19/2020 15:00:06]   "logging": {
[9/19/2020 15:00:06]     "applicationInsights": {
[9/19/2020 15:00:06]       "samplingSettings": {
[9/19/2020 15:00:06]         "isEnabled": true,
[9/19/2020 15:00:06]         "excludedTypes": "Request"
[9/19/2020 15:00:06]       }
[9/19/2020 15:00:06]     }
[9/19/2020 15:00:06]   },
[9/19/2020 15:00:06]   "extensionBundle": {
[9/19/2020 15:00:06]     "id": "Microsoft.Azure.Functions.ExtensionBundle",
[9/19/2020 15:00:06]     "version": "[1.*, 2.0.0)"
[9/19/2020 15:00:06]   }
[9/19/2020 15:00:06] }
[9/19/2020 15:00:06] Loading functions metadata
[9/19/2020 15:00:06] FUNCTIONS_WORKER_RUNTIME set to python. Skipping WorkerConfig for language:java
[9/19/2020 15:00:06] FUNCTIONS_WORKER_RUNTIME set to python. Skipping WorkerConfig for language:node
[9/19/2020 15:00:06] FUNCTIONS_WORKER_RUNTIME set to python. Skipping WorkerConfig for language:powershell
[9/19/2020 15:00:06] Reading functions metadata
[9/19/2020 15:00:06] 2 functions found
[9/19/2020 15:00:06] 2 functions loaded
[9/19/2020 15:00:06] Looking for extension bundle Microsoft.Azure.Functions.ExtensionBundle at C:\Users\USERNAME\.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle
[9/19/2020 15:00:06] Fetching information on versions of extension bundle Microsoft.Azure.Functions.ExtensionBundle available on https://functionscdn.azureedge.net/public/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/index.json[9/19/2020 15:00:10] Downloading extension bundle from https://functionscdn.azureedge.net/public/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/1.3.2/Microsoft.Azure.Functions.ExtensionBundle.1.3.2_any-any.zip to C:\Users\USERNAME\AppData\Local\Temp\4f3275ce-db69-47b8-bb7b-a828041003c2\Microsoft.Azure.Functions.ExtensionBundle.1.3.2.zip
Hosting environment: Production
Content root path: G:\projects\example-pj
Now listening on: http://0.0.0.0:7071
Application started. Press Ctrl+C to shut down.
Value cannot be null. (Parameter 'provider')
Application is shutting down...
[9/19/2020 15:02:28] Stopping host...
[9/19/2020 15:02:28] Host shutdown completed.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:34 (10 by maintainers)

github_iconTop GitHub Comments

20reactions
santanpcommented, Feb 19, 2021

Having this error today trying to run our Azure Functions locally (Windows, using Visual Studio and command line) Azure Functions Core Tools Core Tools Version: 3.0.3284 Commit hash: 98bc25e668274edd175a1647fe5a9bc4ffb6887d Function Runtime Version: 3.0.15371.0

[2021-02-18T19:48:13.508Z] A host error has occurred during startup operation 'a78d628b-b914-45a0-be72-69de17c3e83e'. [2021-02-18T19:48:13.512Z] Microsoft.Azure.WebJobs.ServiceBus: Method not found: 'Microsoft.Azure.WebJobs.IWebJobsExtensionBuilder Microsoft.Azure.WebJobs.WebJobsExtensionBuilderExtensions.ConfigureOptions(Microsoft.Azure.WebJobs.IWebJobsExtensionBuilder, System.Action3<Microsoft.Extensions.Configuration.IConfiguration,System.String,!!0>)'. Value cannot be null. (Parameter ‘provider’) ``

Installed the npm package to run on the command line using func host start, and got the same error. Rolled back the npm package to version 3.0.3233, and do NOT get the error; project runs successfully. Is this a problem with the current version (3.0.3284) or runtime?

Runs successfully with: Core Tools Version: 3.0.3233 Commit hash: d1772f733802122a326fa696dd4c086292ec0171 Function Runtime Version: 3.0.15193.0

Same issue for me :

Azure Functions Core Tools Core Tools Version: 3.0.3233 Commit hash: d1772f7 Function Runtime Version: 3.0.15193.0 Value cannot be null. (Parameter ‘provider’)

After i removed the extensionBundle section from host.json it started working for me.

image

5reactions
santanpcommented, Feb 15, 2021

Same issue for me :

Azure Functions Core Tools Core Tools Version: 3.0.3233 Commit hash: d1772f733802122a326fa696dd4c086292ec0171 Function Runtime Version: 3.0.15193.0

Value cannot be null. (Parameter ‘provider’)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to resolve 'Value cannot be null' error when using ...
When I try to run npm run watch this error occurs: Value cannot be null. (Parameter 'provider') Error in Terminal.
Read more >
Error in Azure function - Microsoft Q&A
Error : value cannot be null(Parameter 'provider'). connect ECONNREFUSED 127.0.0.1:9091. Pls help me how to resolve this.
Read more >
Azure Functions Provider Error - Simon Timms
The system cannot find the file specified. Value cannot be null. (Parameter 'provider'). This is the sort of error that terrifies me.
Read more >
Why do I get an error "value cannot be null (Parameter ...
I tried to create a sample using your json string and the Endpoint class. The result is that the appsettings.json file was updated,...
Read more >
New Project: value can not be null parameter name: type
I get the error" value cannot be null. Parameter name:type" when I try to create a new .net core project. An empty project...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found