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)
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.