ClassCastException after updating to Lettuce-6.2 mget method #2845
Replies: 1 comment
-
Hey @thedeveshbajpai , could you please let me know what type of codec you are using when you create the Redis connection? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey All,
I recently updated Lettuce module from 4.2 to 6.2, where older
List<V> mget(K... keys)
method return type has been updated toList<KeyValue<K, V>> mget(K... keys)
. To bridge the gap I modified return of mget to get List as outputHowever, this is leading to ClassCastException
The exception is coming from an unit test which is calling this method with keys:
Is there a way to resolve this?
I have also upgraded JDK from 8 to 17.
Beta Was this translation helpful? Give feedback.
All reactions