You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are setting up our .Net app with netherite against a storage account and eventhub. We get an exception when our app attempts to start.
System.InvalidOperationException
HResult=0x80131509
Message=Cannot begin processing without the ProcessEventAsync handler set.
Source=Azure.Messaging.EventHubs.Processor
StackTrace:
at Azure.Messaging.EventHubs.EventProcessorClient.d__73.MoveNext()
at Azure.Messaging.EventHubs.EventProcessorClient.d__54.MoveNext()
at DurableTask.Netherite.EventHubsTransport.EventHubsPartitionManager.d__16.MoveNext()
at DurableTask.Netherite.EventHubsTransport.EventHubsTransport.d__39.MoveNext()
at DurableTask.Netherite.NetheriteOrchestrationService.d__94.MoveNext()
at DurableTask.Netherite.NetheriteOrchestrationService.<>c__DisplayClass92_0`1.<g__conditionalTransition|0>d.MoveNext()
at DurableTask.Netherite.NetheriteOrchestrationService.d__91.MoveNext()
at DurableTask.Core.TaskHubWorker.d__32.MoveNext()
at Microsoft.Azure.EdgeProvisioning.Common.Workflow.Engine.WorkflowWorker.d__10.MoveNext()
at Microsoft.Azure.EdgeProvisioning.Common.Workflow.Engine.WorkflowEngine.d__5.MoveNext()
at Microsoft.Extensions.Hosting.Internal.Host.d__12.MoveNext()
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.d__4.MoveNext()
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.d__4.MoveNext()
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
at Microsoft.AspNetCore.Builder.WebApplication.Run(String url)
at Program.
This exception was originally thrown at this call stack:
[External Code]
Program.$(string[]) in Program.cs
We supposed (and I get this from reading the source here) that this should be handled by Netherite already. Our other apps did not need to register one. Is this a netherite issue or are not passing something into the Taskhubworker startAsync?
The text was updated successfully, but these errors were encountered:
It looks to me like there is a line missing from the second constructor in EventProcessorHost.cs. By all appearances, a simple copy-paste mistake that got missed in the testing because all the tests use the other constructor.
We are setting up our .Net app with netherite against a storage account and eventhub. We get an exception when our app attempts to start.
System.InvalidOperationException
HResult=0x80131509
Message=Cannot begin processing without the ProcessEventAsync handler set.
Source=Azure.Messaging.EventHubs.Processor
StackTrace:
at Azure.Messaging.EventHubs.EventProcessorClient.d__73.MoveNext()
at Azure.Messaging.EventHubs.EventProcessorClient.d__54.MoveNext()
at DurableTask.Netherite.EventHubsTransport.EventHubsPartitionManager.d__16.MoveNext()
at DurableTask.Netherite.EventHubsTransport.EventHubsTransport.d__39.MoveNext()
at DurableTask.Netherite.NetheriteOrchestrationService.d__94.MoveNext()
at DurableTask.Netherite.NetheriteOrchestrationService.<>c__DisplayClass92_0`1.<g__conditionalTransition|0>d.MoveNext()
at DurableTask.Netherite.NetheriteOrchestrationService.d__91.MoveNext()
at DurableTask.Core.TaskHubWorker.d__32.MoveNext()
at Microsoft.Azure.EdgeProvisioning.Common.Workflow.Engine.WorkflowWorker.d__10.MoveNext()
at Microsoft.Azure.EdgeProvisioning.Common.Workflow.Engine.WorkflowEngine.d__5.MoveNext()
at Microsoft.Extensions.Hosting.Internal.Host.d__12.MoveNext()
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.d__4.MoveNext()
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.d__4.MoveNext()
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
at Microsoft.AspNetCore.Builder.WebApplication.Run(String url)
at Program.
This exception was originally thrown at this call stack:
[External Code]
Program.$(string[]) in Program.cs
We supposed (and I get this from reading the source here) that this should be handled by Netherite already. Our other apps did not need to register one. Is this a netherite issue or are not passing something into the Taskhubworker startAsync?
The text was updated successfully, but these errors were encountered: