none
There was a failure executing pipeline "Microsoft.BizTalk.EdiInt.DefaultPipelines.AS2Send". Error details: "Object reference not set to an instance of an object." RRS feed

  • Question

  • Hi,

    Using the following code inside a Message Assignment

    msg_Output=new System.Xml.XmlDocument();

    PipeMsg = new Microsoft.XLANGs.Pipeline.SendPipelineInputMessages();

    PipeMsg.Add(OutputMessage);

    Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteSendPipeline(typeof(Microsoft.BizTalk.EdiInt.DefaultPipelines.AS2Send),PipeMsg,msg_Output);

    Note: If we use Microsoft.BizTalk.DefaultPipelines.PassThruTransmit as the Pipeline Type no error is returned and the message is sent!

    Returns the Following error:

    xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'ProdoutEDI.MessageGateway.Main.Orchestration_1(51d86904-9377-1060-b627-5676536e9bb8)'.

    The service instance will remain suspended until administratively resumed or terminated.

    If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.

    InstanceId: dc678f9d-df59-4b07-bf09-32cb28d173c8

    Shape name: ConstructMessage_3

    ShapeId: e43e8d01-b20b-413f-b487-7966b1b7f16c

    Exception thrown from: segment 2, progress 23

    Inner exception: There was a failure executing pipeline "Microsoft.BizTalk.EdiInt.DefaultPipelines.AS2Send". Error details: "Object reference not set to an instance of an object.".

     

    Exception type: XLANGPipelineManagerException

    Source: Microsoft.XLANGs.Pipeline

    Target Site: Void ExecutePipeline(Microsoft.BizTalk.PipelineOM.SendPipeline, Microsoft.XLANGs.Pipeline.SendPipelineInputMessages, Microsoft.XLANGs.BaseTypes.XLANGMessage)

    The following is a stack trace that identifies the location where the exception occured

    at Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecutePipeline(SendPipeline p, SendPipelineInputMessages inMessages, XLANGMessage outMsg)

    at Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteSendPipeline(Type sendPipelineType, SendPipelineInputMessages inMessages, XLANGMessage outXLANGMsg)

    at ProdoutEDI.MessageGateway.Main.Orchestration_1.segment2(StopConditions stopOn)

    at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)

    Additional error information:

    Object reference not set to an instance of an object.

     

    Exception type: NullReferenceException

    Source: Microsoft.BizTalk.ReliableMessaging

    Target Site: System.Guid Initialize(Microsoft.BizTalk.Message.Interop.IBaseMessage, Microsoft.BizTalk.B2B.PartnerManagement.AS2ProtocolSettings, System.String, System.String, Microsoft.BizTalk.Component.Interop.IPipelineContext)

    The following is a stack trace that identifies the location where the exception occured

    at Microsoft.BizTalk.EDIINT.PipelineComponents.ReliableMessaging.AS2ReliableMessagingManager.Initialize(IBaseMessage message, AS2ProtocolSettings protocolSettings, String as2From, String as2To, IPipelineContext pipelineContext)

    at Microsoft.BizTalk.AS2.Pipelines.Encoder.Execute(IPipelineContext pContext, IBaseMessage pInMsg)

    at Microsoft.BizTalk.Internal.ComponentWrapper.Execute(IPipelineContext pc, IBaseMessage inmsg)

    at Microsoft.BizTalk.PipelineOM.SimpleComponent.Execute(IPipelineContext pipelineContext, IBaseMessage message)

    at Microsoft.BizTalk.PipelineOM.SimpleStage.Execute(IBTMPipelineContext pc, IBaseMessage msg, Int32 stageIndex)

    at Microsoft.BizTalk.PipelineOM.Pipeline.Execute(Int32 startStage, Int32 endStage, IBaseMessage msgIn)

    at Microsoft.BizTalk.PipelineOM.SendPipeline.Execute(IBTMMessageSet messageSet)

    at Microsoft.BizTalk.PipelineOM.PipelineManager.ExecuteSendPipeline(SendPipeline sendPipeline, IBTMMessageSet messageSet, Object interceptor, Stream perInstanceCofigStrm, Object transaction, IPipelineContext pBTMPipeCtx)

    at Microsoft.BizTalk.PipelineOM.PipelineManager.ExecuteSendPipeline(SendPipeline sendPipeline, IBTMMessageSet messageSet, IResourceTracker& rt)

    at Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecutePipeline(SendPipeline p, SendPipelineInputMessages inMessages, XLANGMessage outMsg)

     

    Thanks

    Best Regards

     

    Friday, July 15, 2011 2:20 PM

Answers

All replies