While modifying a file for a BizTalk process for a client we kept on getting an Error using message tracking in HAT looking like the following:
System.NullReferenceException: Object reference not set to an instance of an object.
at Elite.EAI.Orchestrations.Receive_Orchestration.segment8(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
System.NullReferenceException
Scoped@
Receive_Orchestration.Trans_CobraScope
Receive_Orchestration.Receive_Orchestration
68223de9-f824-4fbb-868b-35dd6b61eb4b
The only thing that overcame this problem was changing the file name to something the BizTalk application recognized. In our case that was UPS for a UPS process. Adding a GUID also threw the same exception. Adding characters to the end didn’t throw the exception.