Jedis.hgetAll() has thrown a ClassCastException

java.lang.ClassCastException
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
at redis.clients.jedis.Jedis.hgetAll

Matching stack traces (3)

  1. Unknown authorvia chepoo.com1 year ago
    java.lang.Long cannot be cast to java.util.List
  2. Unknown authorvia chepoo.com2 years ago
    java.lang.Long cannot be cast to java.util.List
  3. [B cannot be cast to java.util.List

See Also

Parent

13 web pages  - Cannot read Redis bulk reply as a a list of byte arrays
java.lang.ClassCastException
    at redis.clients.jedis.Connection.getBinaryMultiBulkReply()

Siblings

Typical exception messages

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