2

Closed

ActivityTrackerComponent throws when message's body is null or empty

description

An exception occurred while executing pipeline component Be.Stateless.BizTalk.Component.ActivityTrackerComponent.
System.ArgumentNullException: Value cannot be null.
Parameter name: data
   at Be.Stateless.BizTalk.Tracking.MessageBodyCaptureDescriptor..ctor(String data, MessageBodyCaptureMode captureMode)
   at Be.Stateless.BizTalk.Tracking.ClaimStore.SetupMessageBodyCapture(TrackingStream trackingStream, ActivityTrackingModes trackingModes, Func`1 transactionFactory)
   at Be.Stateless.BizTalk.Tracking.Messaging.MessageBodyTracker.SetupTracking()
   at Be.Stateless.BizTalk.Component.ActivityTrackerComponent.ExecuteCore(IPipelineContext pipelineContext, IBaseMessage message)
   at Be.Stateless.BizTalk.Component.PipelineComponent.Execute(IPipelineContext pipelineContext, IBaseMessage message)
MessageBodyCaptureDescriptor has the following ctor
internal MessageBodyCaptureDescriptor(string data, MessageBodyCaptureMode captureMode)
{
    if (data.IsNullOrEmpty()) throw new ArgumentNullException("data");
    Data = data;
    CaptureMode = captureMode;
}
Closed Mar 18, 2016 at 1:37 PM by ydie
Fixed in CS 32413

comments

wrote Mar 18, 2016 at 12:53 PM

Associated with changeset 32413: Fix for empty message body causing exceptions when body is captured

wrote Mar 18, 2016 at 1:37 PM