java.lang.ClassCastException: java.lang.Long cannot be cast to java.util.List

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Deepak Pol, 1 year ago
java.lang.Long cannot be cast to java.util.List
via GitHub by deepakpol
, 1 year ago
java.lang.Long cannot be cast to java.util.List
via Spring JIRA by Deepak Pol, 1 year ago
java.lang.Long cannot be cast to java.util.List
via Stack Overflow by user2111500
, 1 year ago
java.lang.Long cannot be cast to java.util.List
via Spring JIRA by Mark Paluch, 1 year ago
[B cannot be cast to java.util.List
java.lang.ClassCastException: java.lang.Long cannot be cast to java.util.List
at redis.clients.jedis.Connection.getRawObjectMultiBulkReply(Connection.java:230)
at redis.clients.jedis.Connection.getObjectMultiBulkReply(Connection.java:236)
at redis.clients.jedis.BinaryJedis.zscan(BinaryJedis.java:3608)
at org.springframework.data.redis.connection.jedis.JedisConnection$3.doScan(JedisConnection.java:2998)
at org.springframework.data.redis.core.KeyBoundCursor.doScan(KeyBoundCursor.java:39)
at org.springframework.data.redis.core.ScanCursor.scan(ScanCursor.java:85)
at org.springframework.data.redis.core.ScanCursor.hasNext(ScanCursor.java:168)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.