Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: System.NullReferenceException error in WCF-SAP adapter when it receives an incoming tRFC in BizTalk Server


View products that this article applies to.

Symptoms

Consider the following scenario:

  • You use the Windows Communication Foundation (WCF)-based SAP adapter to connect BizTalk applications to an SAP database in Microsoft BizTalk Server. 
  • You have an incoming Transactional Remote Function Call (tRFC) operation through a two-way receive location. 

In this scenario, when the tRFC reply is invoked by using the .NET Connector (NCo), the WCF-SAP adapter might raise an error message that resembles the following:

"Details "System.NullReferenceException: Object reference not set to an instance of an object."

↑ Back to the top


Resolution

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

       Cumulative Update 4 for BizTalk Server 2016

       Cumulative Update 6 for BizTalk Adapter Pack 2013

       Cumulative Update 8 for BizTalk Server 2013 R2

↑ Back to the top


Status

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

↑ Back to the top


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

Third-party information disclaimer

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

↑ Back to the top


Keywords: kb, kbqfe, kbfix, kbexpertiseadvanced, kbsurveynew, System.NullReferenceException, System.NullReferenceException occurs when receiving inbound tRFC

↑ Back to the top

Article Info
Article ID : 4038892
Revision : 9
Created on : 5/7/2018
Published on : 5/11/2018
Exists online : False
Views : 394