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

External results for this pattern (5)

  1. iamevenvia Stack Overflow2 days ago
    java.lang.Long cannot be cast to java.util.List
    Show stack trace
  2. Raghavavia Google Groups2 weeks ago
    java.lang.Long cannot be cast to java.util.List
    Show stack trace
  3. steven bvia Google Groups2 weeks ago
    java.lang.Long cannot be cast to java.util.List
    Show stack trace
  4. Arrayingvia GitHub8 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