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.

Weird error showing in console - TaskActivityDispatcher...System.ArgumentNullException: Value cannot be null. (Parameter 'executor')

See original GitHub issue

Team,

Really sorry to bother you, but I’m getting this for days and I’m no closer to figuring out why.

First, it doesn’t affect the application at all; everything works fine. Second, I delete everything in my storage, so none of these items are actually there. Third, I’m not running anything when I get these errors, they just start appearing in my console log as soon as I start the application.

So you can see why it’s a bit nerve racking.

Here’s one example error (but I get lot’s of them)

[2022-10-10T19:25:24.029Z] at Microsoft.Azure.WebJobs.Extensions.DurableTask.TaskActivityShim…ctor(DurableTaskExtension config, ITriggeredFunctionExecutor executor, IApplicationLifetimeWrapper hostServiceLifetime, String activityName) in D:\a_work\1\s\src\WebJobs.Extensions.DurableTask\Listener\TaskActivityShim.cs:line 37 [2022-10-10T19:25:24.034Z] at Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskExtension.DurableTask.Core.INameVersionObjectManager<DurableTask.Core.TaskActivity>.GetObject(String name, String version) in D:\a_work\1\s\src\WebJobs.Extensions.DurableTask\DurableTaskExtension.cs:line 704 [2022-10-10T19:25:24.035Z] at DurableTask.Core.TaskActivityDispatcher.OnProcessWorkItemAsync(TaskActivityWorkItem workItem) in //src/DurableTask.Core/TaskActivityDispatcher.cs:line 140 [2022-10-10T19:25:24.051Z] at DurableTask.Core.TaskActivityDispatcher.OnProcessWorkItemAsync(TaskActivityWorkItem workItem) in //src/DurableTask.Core/TaskActivityDispatcher.cs:line 263 [2022-10-10T19:25:24.069Z] at DurableTask.Core.WorkItemDispatcher`1.ProcessWorkItemAsync(WorkItemDispatcherContext context, Object workItemObj) in /_/src/DurableTask.Core/WorkItemDispatcher.cs:line 45

Here’s a screen shot…

image

And I’m attaching my code.

Thanks in advance, I really appreciate the help,

Peter

AmazonOrdersTrigger.cs.txt

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
PeterAnaniaHCcommented, Oct 11, 2022

You’ve been incredibly helpful. I did exactly as you said and it responded exactly as you predicted. Thank you so much for your help! ~Peter

0reactions
cgillumcommented, Oct 11, 2022

Glad this was helpful!

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - System.ArgumentNullException: 'Value cannot be null. ...
It's because you have called PopulateGridViewEmployee with an empty searchKey which is an Optional Argument set to Null.
Read more >
Value cannot be null. (Parameter 'provider'). Failed to run ...
When I run mvn azure-functions:run I get below error. ... System.ArgumentNullException: Value cannot be null. (Parameter 'provider')
Read more >
Value cannot be null. Arg_ParamName_Name
Hi, I tried to do the tree view structure. The code behind is public string TreeViewJSON { get; set; } public void OnGet() ......
Read more >
Value cannot be null. (Parameter 'connectionString') while ...
Hello, I've just created a logic apps application and immediately after this app, I am getting the following error Microsoft.WindowsAzure.
Read more >
Error: [System.ArgumentNullException: Value cannot be ...
ERROR : System.ArgumentNullException: Value cannot be null. Parameter name: value at System.Windows.Forms.ImageList.ImageCollection.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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