Cannot read Redis response as a list of objects

java.lang.ClassCastException
Javadoc
Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance. For example, the following code generates a ClassCastException:
    Object x = new Integer(0);
    System.out.println((String)x);
@author unascribed @since JDK1.0
at redis.clients.jedis.Connection.getRawObjectMultiBulkReply
(source)

Typical Exception Messages

  1. [B cannot be cast to java.util.List
  2. java.lang.Long cannot be cast to java.util.List

Specific cases

External results for this pattern (4)

  1. Mark Paluchvia Spring JIRA2 months ago
    [B cannot be cast to java.util.List
    Show stack trace
  2. Deepak Polvia Spring JIRA1 year ago
    java.lang.Long cannot be cast to java.util.List
    Show stack trace
  3. deepakpolvia GitHub2 years ago
    java.lang.Long cannot be cast to java.util.List
    Show stack trace
  4. java.lang.Long cannot be cast to java.util.List
    Show stack trace