You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New fields are added in Redis version 7.2.0 (entry ID, timestamp created, and timestamp last updated).
When using Jedis client against older server version where those fields are missing NPE is thrown java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "java.util.Map.get(Object)" is null
Expected behavior
Do not throw NPE.
Since AccessControlLogEntry``timestamp created, and timestamp last updated are of primary type return default values
when misisng
Actual behavior
NPE is thrown
Steps to reproduce:
Invoke jedis.aclLog()against any Redis server 6.2.16
or run test AccessControlListCommandsTest#aclLogWithEntryID
New fields are added in Redis version 7.2.0 (
entry ID
,timestamp created
, andtimestamp last updated
).When using Jedis client against older server version where those fields are missing NPE is thrown
java.lang.NullPointerException: Cannot invoke "java.lang.Long.longValue()" because the return value of "java.util.Map.get(Object)" is null
Expected behavior
Do not throw NPE.
Since
AccessControlLogEntry``timestamp created
, andtimestamp last updated
are of primary type return default valueswhen misisng
Actual behavior
NPE is thrown
Steps to reproduce:
Invoke
jedis.aclLog()
against any Redis server 6.2.16or run test
AccessControlListCommandsTest#aclLogWithEntryID
Redis / Jedis Configuration
Jedis version:
5.2.0
Redis version:
6.2.16 or any other which is older than 7.2.0
Java version:
1.8
The text was updated successfully, but these errors were encountered: