Hi,
I'm not sure if it's configuration issue, but every attempt to run a Correlated workflow, including simply running the Correlated Workflow Sample, results in the following error on Workflow startup..
An exception was reported on the workflow runner thread for workflow endpoint "OrdersEndpoint"
System.NullReferenceException: Object reference not set to an instance of an object.
at NeuronEsb.Server.Runner.Workflow.ExecuteCorrelatedWorkflowCommand.Execute(WorkflowCommandContext context)
at NeuronEsb.Server.Runner.Workflow.WorkflowHostService.RunWorkflows()
Hoping I'm just missing a step somewhere, but like I said even running the Sample has the same results?
thanks.
Marc
Tags:
attaching WorkflowEndpoint log file (here's the exceptions from the log)
2017-09-15 11:08:51.156-04:00 [24] DEBUG - <log4net.Error>Exception during StringFormat: Index (zero based) must be greater than or equal to zero and less than the size of the argument list. <format> ProcessMessage - Type is Correlated Message Workflow. The ResumeCorrelatedWorkflowCommand command object is {0}. Correlation ID = {1}, Workflow Instance ID = {2}</format><args>{NULL, 63E64D50D14264612C0F6D0663365D42318C0C0E}</args></log4net.Error>
...
2017-09-15 11:08:51.194-04:00 [OrdersEndpoint Runner] DEBUG - 1 commands were queued to be executed.
2017-09-15 11:08:51.194-04:00 [OrdersEndpoint Runner] DEBUG - Dequeing the next command to execute.
2017-09-15 11:08:51.194-04:00 [OrdersEndpoint Runner] DEBUG - Command 1 was dequeued. Executing the command.
2017-09-15 11:08:51.198-04:00 [OrdersEndpoint Runner] DEBUG - The semaphore was released. New value is 99.
2017-09-15 11:08:51.199-04:00 [OrdersEndpoint Runner] ERROR - An exception was reported on the workflow runner thread for workflow endpoint "OrdersEndpoint"
System.NullReferenceException: Object reference not set to an instance of an object.
at NeuronEsb.Server.Runner.Workflow.ExecuteCorrelatedWorkflowCommand.Execute(WorkflowCommandContext context)
at NeuronEsb.Server.Runner.Workflow.WorkflowHostService.RunWorkflows()
what build are you runnig?
This has been fixed in a more recent build so you will want to update to the latest release and also update the database after installing.
thanks Scott. I updated to 3.5.4.1130, the Sample looks to be working ok, but I'm still running into the issue for my solution's Correlated workflow, still getting same error.
But I noticed though I can no longer view a Workflow's activities details from the Workflow Tracking, though it's enabled, and am also seeing odd behavior when trying to restart a workflow, restarting the endpoint (or Neuron service), doesn't appear to be restarting a previous failed workflow it removed, - the workflow on new messages (or existing - they're all just queuing up in pending).
Appreciate any suggestions.
thanks.
Marc
Can you zip up and then upload your solution? We don't need the history folder in there so you can omit that.
sure thing. here's my test solution I've been working with. Also, after reboot I'm now able to see the Workflow activities window again, but still having issue restarting the workflow once it errors out.
thanks,
Marc
In your initial receive message activity, put "message" in the activity's "result" property. When hitting the audit step, the workflow variable "message" is null because it was never set in the receive activity (which is set using the "result" property).
Neuron ESB Product Support Forums and Communities
© 2024 Created by Neuron Admin. Powered by