SAP Knowledge Base Article - Preview

3551397 - DEX Agent Object reference not set to an instance of an object - Tricentis

Symptom

Your Dex Agent stops working. Inside the DistributionAgent.log you can see the following:
- Object reference not set to an instance of an object.
- There was no endpoint listening at http://xxxx:8080/DistributionServerService/CommunicationService.svc that could accept the message.
- The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter Tricentis.DistributionServer.ServiceInterface.Services:GetCurrentAgentMessageResult. The InnerException message was 'Error in line 1 position 368. Element 'Tricentis.DistributionServer.ServiceInterface.Services:GetCurrentAgentMessageResult' contains data from a type that maps to the name

When trying to local execute via Executionlist on the same machine you get the following:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Tricentis.TCCore.Base.Configurations.TCConfigurationLink.AllSubpartsInHierarchyUpCollectionForTransitiveClosure()
   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
   at System.Linq.Enumerable.<ConcatIterator>d__59`1.MoveNext()
   at System.Linq.Enumerable.<ConcatIterator>d__59`1.MoveNext()
   at Tricentis.TCCore.Persistency.PersistableObject.GetTransitiveClosure(IEnumerable`1 objs, Type assocTagForIgnore, ObjectHandler objectHandler)
   at Tricentis.TCAddIns.XDefinitions.Serialization.XObjectSerializer`1.GetTransitiveClosure(IEnumerable`1 objectsToExport)
   at Tricentis.TCAddIns.XDefinitions.Serialization.XObjectSerializer`1.ExportXObjectsFor(IEnumerable`1 objectsToExport, Stream outStream)
   at ?.?(KeyValuePair`2 A_0)
   at ?.?(KeyValuePair`2 A_0)
   at ?.?.?(KeyValuePair`2 A_0)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at ?.?(ExecutionSet A_0, Boolean A_1, ITaskContext A_2, IList`1& A_3)

Testcase execution works fine.


Read more...

Environment

SAP Enterprise Continuous Testing by Tricentis

Product

SAP Enterprise Continuous Testing by Tricentis all versions

Keywords

TOSCA, no Module associated, Configuration link , KBA , XX-PART-TRI-ECT , SAP Enterprise Continuous Testing by Tricentis , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.