vert-x3 / vertx-infinispan

Infinispan Cluster Manager for Vert.x
Apache License 2.0
14 stars 16 forks source link

NPE in DataConverter #89

Closed tsegismont closed 3 years ago

tsegismont commented 3 years ago

io.vertx.ext.cluster.infinispan.impl.DataConverter#readClusterSerializable needs to load the class of the object that is stored in Infinispan caches.

It does it with the thread context classloader but sometimes this one can be null. In this case we should use the classloader of the DataConverter class as a fallback.

This could cause failures to send messages on the event bus.