Cannot read Redis bulk reply as a byte array

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.getBinaryBulkReply
(source)
at redis.clients.jedis.Connection.getBulkReply
(source)

Typical Exception Messages

  1. java.lang.Long cannot be cast to [B

Specific cases

External results for this pattern (12)

  1. Chi Mavia Stack Overflow2 months ago
    java.lang.Long cannot be cast to [B
    Show stack trace
  2. java.lang.Long cannot be cast to [B
    Show stack trace
  3. ex-nerdvia GitHub3 months ago
    java.lang.Long cannot be cast to [B
    Show stack trace
  4. kutzivia GitHub5 months ago
    java.lang.Long cannot be cast to [B
    Show stack trace
  5. JammyZvia Google Groups1 year ago
    java.lang.Long cannot be cast to [B
    Show stack trace
  6. ruanjfvia GitHub1 year ago
    java.lang.Long cannot be cast to [B
    Show stack trace
  7. inponomarevvia GitHub1 year ago
    java.lang.Long cannot be cast to [B
    Show stack trace
  8. JinuSanthRosevia GitHub1 year ago
    java.lang.Long cannot be cast to [B
    Show stack trace
  9. JinuSanthRosevia GitHub2 years ago
    java.lang.Long cannot be cast to [B
    Show stack trace
  10. vivekhubvia GitHub2 years ago
    java.lang.Long cannot be cast to [B
    Show stack trace