java.lang.ClassCastException: [B cannot be cast to java.lang.Long

GitHub | inponomarev | 3 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Add your password property to the block in your Tomcat context.xml with JediShardInfo.setPassword(redisPassword)
  2. 0

    GitHub comment 916#271168710

    GitHub | 3 months ago | inponomarev
    java.lang.ClassCastException: [B cannot be cast to java.lang.Long
  3. 0

    Jedis.ttl + cannot be cast to java.lang.Long

    GitHub | 2 years ago | nykolaslima
    java.lang.ClassCastException: [B cannot be cast to java.lang.Long
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    ShardedJedis doesn't work with Redis Cluster. Use JedisCluster instead.
  6. 0

    Jedis instance works strange to me in the single_thread environment

    Google Groups | 2 years ago | jedis_r...@163.com
    java.lang.Long

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      [B cannot be cast to java.lang.Long

      at redis.clients.jedis.Connection.getIntegerReply()
    2. Jedis
      Jedis.ttl
      1. redis.clients.jedis.Connection.getIntegerReply(Connection.java:222)
      2. redis.clients.jedis.Jedis.ttl(Jedis.java:308)
      2 frames