最近我对一个BizTalk应用程序做了一些修改,一切都进行得很顺利,我把它从开发环境转移到了测试环境,而我正在开发的应用程序仍然工作得很好。
问题是,突然间,一个现有的应用程序在接收到HL7消息时会收到以下错误:
Fatal error encountered in 2XDasm. Exception information is Object reference not set to an instance of an object.其次是:
There was a failure executing the receive pipeline: "BTAHL72XPipelines.BTAHL72XReceivePipeline, BTAHL72XPipelines, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "BTAHL7 2.X Disassembler" Receive Port: "RP.MyPort.HL7v2.ORU" URI: "0.0.0.0:11001" Reason: Object reference not set to an instance of an object.紧随其后的是:
A message received by adapter "MLLP" on receive location "RPL.MyLocation.HL7v2.ORU.MLLP" with URI "0.0.0.0:11001" is suspended.
Error details: There was a failure executing the receive pipeline: "BTAHL72XPipelines.BTAHL72XReceivePipeline, BTAHL72XPipelines, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "BTAHL7 2.X Disassembler" Receive Port: "RP.MyPort.HL7v2.ORU" URI: "0.0.0.0:11001" Reason: Object reference not set to an instance of an object.
MessageId: {7B940750-046A-4E63-9268-EF76F6458CFE}
InstanceID: {5FC204B1-69DE-433E-B90B-AB1E9F77B3B7}这两个应用程序之间唯一的区别是,工作的应用程序使用自定义管道组件,而错误处理的应用程序使用默认的BizTalk BTAHL72XReceivePipeline (正如您可能从错误中看到的)。
有人经历过吗?我在随机网站上见过一对夫妇 帖子,有错误的人,但与我的没有任何关系。
发布于 2014-10-27 17:16:44
我找到了答案。苦乐参半。
在某个时候,我一定是在开发中处理接收位置上的EncodingCharset。我有几个月没有碰那个位置了,然后当我开始测试的时候,我复制了绑定以及坏的EncodingCharset。
结果发现,我在EncodingCharset配置中有一个空的BTAHL72xReceivePipeline。一旦我设置为",0“,然后事情又开始了。
这是我所说的一幅图像。

https://stackoverflow.com/questions/26591159
复制相似问题