Neuron ESB User Network

The Service Bus for the Connected Business

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

Views: 314

Reply to This

Replies to This Discussion

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()

Attachments:

what build are you runnig?

3.5.4.1119

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

Attachments:

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).

RSS

Neuron ESB Product Support Forums and Communities

Latest Activity

Anupama Nair posted a discussion

Marketo Adapter Invalid Token

Hi,We are using the Marketo adapter to push account updates to Marketo. It works well for some time then starts failing with Invalid Token unless restarted. Is there a configuration that can be done so it can auto refresh the token when required?Thanks!See More
Nov 6, 2023
Sayantini Basak posted a discussion

Maximum payload size(REST API) for requests interfacing to NeuronESB

I am new to Neuron ESB and in our current scenario,We need to process batch transactions comprising of ~1000 records and send them to Neuron ESB for further processing. I would like to understand what is the maximum size of payload that can be transferred using REST interface to Neuron ESB.See More
Jul 22, 2022
Profile IconRobert E Dunie and Sayantini Basak joined Neuron ESB User Network
Apr 28, 2022
Profile IconDayanand, Frederic C, Steffen Greve-Oksfeldt and 1 more joined Neuron ESB User Network
Mar 16, 2022
Profile IconCam Vong and Mitja Luznar joined Neuron ESB User Network
Jan 27, 2022
Profile IconWill Hitzges, Chad Parsons, michael larsen and 4 more joined Neuron ESB User Network
Jun 11, 2021
Anupama Nair posted a discussion

ODBC stored proc polling with temporary tables

We have set up an ODBC adapter to poll a stored proc.We found that if the stored proc has a temporary table defined the rows returned are always 0.Any idea why this would be and what we can do to get around it?See More
Dec 14, 2020
Prasanth Kharade is now a member of Neuron ESB User Network
Dec 30, 2019

Badge

Loading…

© 2024   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service