Jedis.smembers() has thrown a ClassCastException

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.getBinaryMultiBulkReply
(source)
at redis.clients.jedis.Connection.getMultiBulkReply
(source)
at redis.clients.jedis.Jedis.smembers
(source)

Typical Exception Messages

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

Origin

Cannot read Redis bulk reply as a a list of byte arrays

java.lang.ClassCastException
1 frames hidden
redis.clients.jedis.Connection.getMultiBulkReply
10Web pages

Similar

External results for this pattern (5)

  1. Arrayingvia GitHub2 months ago
    java.lang.Long cannot be cast to java.util.List
    Show stack trace
  2. iamevenvia Stack Overflow2 months ago
    java.lang.Long cannot be cast to java.util.List
    Show stack trace
  3. Raghavavia Google Groups3 months ago
    java.lang.Long cannot be cast to java.util.List
    Show stack trace
  4. steven bvia Google Groups3 months ago
    java.lang.Long cannot be cast to java.util.List
    Show stack trace
  5. incubosvia GitHub2 years ago
    java.lang.Long cannot be cast to java.util.List
    Show stack trace