Resolving null relationship exception errors

You can resolve exception errors that occur because of a null relationship for a bound entity. This type of error might prevent events from being processed in Insight Inspector.

Symptoms

The null relationship can cause an exception that occurs during event processing when the event is not delivered to the gateway because of an internal error.

Diagnosing the problem

Review the gateway.submit return code to determine whether it includes the following status message: RoutingStatus.STATUS_NO_AGENTS. This status is returned because the relationship to the bound entity is null. You can also enable client-side trace logging to identify error messages that are related to the null relationship. See Capturing diagnostic data and logging information.

Resolving the problem

To resolve the issue, check to make sure that the bound entity is not null.

In some situations, a null relationship is not an error. If your solution includes an event with multiple relationships to different entity types, and the event is processed by multiple agents, then one of the resulting relationships might be null. In that case, the event is delivered to some of the agents, but the event is not delivered to the agent that generated the null relationship.