There is an exception: Exception in thread "main" java.lang.NullPointerException: Cannot invoke "io.vertx.core.impl.ContextInternal.nettyEventLoop()" because "this.context" is null
jdk version:17
vertx-redis-client version: 4.3.0
public static void main(String[] args) {
var vertx = Vertx.vertx();
api = RedisAPI.api(Redis.createClient(vertx, "redis://:abracadabra@localhost:6379/1"));
api.incr("a").onSuccess(r -> {
System.out.println(r);
});
}
In vertx-redis-client version: 4.2.7, it can run。How to use in 4.3.0?
There is an exception: Exception in thread "main" java.lang.NullPointerException: Cannot invoke "io.vertx.core.impl.ContextInternal.nettyEventLoop()" because "this.context" is null
jdk version:17 vertx-redis-client version: 4.3.0
In vertx-redis-client version: 4.2.7, it can run。How to use in 4.3.0?