Event Endpoint Management continues to be enhanced

Event Endpoint Management continues to be available and enhanced as part of IBM's integration platforms.

End of Marketing announcement for IBM Event Automation

Event Streams and Event Processing are deprecated and no enhancements will be provided. Support and security fixes will be provided in line with published support lifecycle policies. Future event-driven solutions that make use of Apache Kafka and Apache Flink will be delivered by IBM Confluent.

For more information, see the support lifecycle transition and software ordering completion announcement.

Client fails to connect with a NullPointerException error

Symptoms

You are trying to configure a client application to connect to a virtual topic. The client fails to connect and the logs include an unhandled exception similar to the following example:

ERROR NULL io.vertx.core.impl.ContextImpl - [:] Unhandled exception
java.lang.NullPointerException: Cannot invoke "java.lang.String.getBytes(java.nio.charset.Charset)" because "this.key" is null

The exception message appears every few minutes in the Event Gateway logs and does not disappear even after a restart of the gateway.

Causes

The client identity is misconfigured. Multiple clients connect by using the same application and group ID, but use different client IDs, or do not set a client ID at all.

Resolving the problem

Set both client ID and group ID, and ensure every client that shares the application uses the same pair of values. For example,

myClientApplication1: <GROUP_ID>=BOB, <CLIENT_ID>=ABC
myClientApplication2: <GROUP_ID>=BOB, <CLIENT_ID>=ABC

Restart the clients after you update the configuration.