Cannot perform runtime binding on a null reference
See original GitHub issueA function feeding of a queueTrigger
bound to an auto-generated queue webjobs-blobtrigger-poison
gets invoked once correctly (argument for a queue message contains data) and is invoked for the second time with a null message.
Log file output
2016-11-22T21:28:57.816 Function started (Id=675dbc96-85a1-4c6f-a87b-c165a20ffe09)
2016-11-22T21:28:57.816 C# Queue trigger function received: {
"Type": "BlobTrigger",
"FunctionId": "Host.Functions.CreateThumbnail",
"BlobType": "BlockBlob",
"ContainerName": "sample-images",
"BlobName": "test.txt",
"ETag": "\"0x8D4131E8E7D591D\""
}
2016-11-22T21:28:57.816 Function completed (Success, Id=675dbc96-85a1-4c6f-a87b-c165a20ffe09)
2016-11-22T21:32:08.875 Function started (Id=efd91564-89b8-4c98-9557-64bd10ae426b)
2016-11-22T21:32:08.875 C# Queue trigger function received:
2016-11-22T21:32:08.875 Function completed (Failure, Id=efd91564-89b8-4c98-9557-64bd10ae426b)
2016-11-22T21:32:08.906 Exception while executing function: Functions.NotifyAboutFailure. Anonymously Hosted DynamicMethods Assembly: Cannot perform runtime binding on a null reference.
Repro steps
- Create Function A to generate a poisonous message using blob trigger
- Create Function B to handle messages from a poisonous message queue
Expected behavior
Function to be invoked once only
Actual behavior
Invoked more than once
Related information
- Programming language used: C#
- Functions version: 1
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Cannot perform runtime binding on a null reference ...
This simplified piece of code throws Cannot perform runtime binding on a null reference since speakers is not defined (null reference).
Read more >I am getting Error in Asp.Net MVC "Cannot perform runtime ...
I am getting Error in Asp.Net MVC "Cannot perform runtime binding on a null reference". HASAN P. 212802045 6 Reputation points.
Read more >Cannot Perform Runtime Binding on a Null Reference
Your system cannot perform runtime binding on a null reference Razor because the non-existent view bag calls a method, such as a runtime...
Read more >Solution for error Cannot perform runtime binding on a null ...
It happens when you have a binding "typo" so the runtime is not able to find the property to bind, so it gets...
Read more >MVC: Cannot perform runtime binding on a null reference
A null reference on a field that no longer exists or is empty, written in a custom piece of code. ... Narrow down...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep, already did that. Go @mathewc!
Can’t reproduce it anymore after upgrading Functions. Will close. If it happens again, will reopen.