redis / jedis

Redis Java client
https://redis.github.io/jedis/
MIT License
11.89k stars 3.87k forks source link

NPE thrown when invoking Jedis#commandInfo against Redis server 6.2.16 #4017

Open ggivo opened 1 week ago

ggivo commented 1 week ago

Expected behavior

NPE is not thrown

Actual behavior

Write here what happens instead ...

Steps to reproduce:

try ( Jedis jedis = new Jedis ("localhost", 6379) { 
   Map<String, CommandInfo> infos = jedis.commandInfo("GET", "foo", "SET");
}

or run ControlCommandsTest#commandInfo test

Redis / Jedis Configuration

default

Jedis version:

5.2.0

Redis version:

6.2.16 (or Redis server 7.0.0< )

Java version:

1.8