I have a process (main process) that includes another process (inner process) , but when I tried to test the process in debug mode any breakpoint defined in the inner process does not stop the execution and it is not possible to test step-by-step the inner process.
I just receive a generic exception
Execute Process - TMS.Common.ShipmentService.Process.v1.0
Aborted: Object reference not set to an instance of an object. : Neuron.Pipelines.PipelineException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Neuron.Pipelines.RethrowPipelineStep`1.OnExecute(PipelineContext`1 context)
at Neuron.Pipelines.PipelineStep`1.Execute(PipelineContext`1 state)
--- End of inner exception stack trace ---
at Neuron.Pipelines.PipelineStep`1.Execute(PipelineContext`1 state)
at Neuron.Pipelines.PipelineInstance`1.Execute(T state, IDictionary`2 contextProperties, IDictionary`2 environmentVariables)
that makes impossible the test of the process.
Is there any way to resume the debug in the inner process?
Thank you
Fabrizio
Tags: debug
Hi Fabrizio. Sorry for the delayed response. We do not currently support debugging into a child process. We did test out the scenario though and were not able to reproduce the NullReferenceException. Would it be possible for you to send us your solution so that we can see what the cause of the NullReferenceException is? You can send it in an email to NeuronSupport@neudesic.com and this will automatically open a support ticket for you so that we can track this issue.
Michael Collins
Neuron ESB Support
Hi Michael.
ok, that might be something interesting to consider as a feature in the future....
The error was due to a wrong xsd assignment in a schema validation step. I am assigning a set of schemas though code and if one of the schema does not exists (misspelled the name, renamed or else), the step fails with a generic Aborted: Object reference not set to an instance of an object. exception.
The same happens to xslt transformation. No I know it, but It could probably make sense to return a more specific expception? (ex. invalid schema name or something simlar?)
Fabrizio
Neuron ESB Product Support Forums and Communities
© 2024 Created by Neuron Admin. Powered by