FIX: NullReferenceException error when you receive IDOC through NCo SAP adapter in BizTalk Server

Applies to: BizTalk Server 2016 BranchBizTalk Server 2016 DeveloperBizTalk Server 2016 Enterprise More

Symptoms


Assume that you use Microsoft BizTalk Server. When you try to receive intermediate documents (IDOCs) through the .NET Connector (NCo) SAP adapter where the IDOCTYPE_READ_COMPLETE RFC contains the PI_READ_UNREL parameter, the adapter may throw a NullReferenceException error. 

More information


For more information about Unreleased Segment Definitions and the SAP support packages where the fix is applicable, see the SAP documentation Note 1892178.

Note This is SAP classified information and requires access credentials from SAP.

Resolution


This issue is fixed in the following cumulative updates for BizTalk Server:

       Cumulative Update 4 for Microsoft BizTalk Server 2016

       Cumulative Update 6 for BizTalk Adapter Pack 2013

       Cumulative Update 8 for Microsoft BizTalk Server 2013 R2

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References


For information about the service packs and cumulative update list for BizTalk Server, click the following article number to view the article in the Microsoft Knowledge Base:

2555976 Service pack and cumulative update list for BizTalk Server

For more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:

2003907 Information about BizTalk hotfixes and Service Pack support