java.lang.ClassCastException: org.springframework.data.redis.core.DefaultTypedTuple cannot be cast to java.lang.Double

Spring JIRA | Prashant Deva | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.springframework.data.redis.core.DefaultTypedTuple cannot be cast to java.lang.Double

      at org.springframework.data.redis.core.DefaultTypedTuple.compareTo()
    2. Spring Data Redis
      DefaultTypedTuple.compareTo
      1. org.springframework.data.redis.core.DefaultTypedTuple.compareTo(DefaultTypedTuple.java:27)
      1 frame
    3. Java RT
      TreeSet.addAll
      1. java.util.TreeMap.compare(TreeMap.java:1290)
      2. java.util.TreeMap.put(TreeMap.java:538)
      3. java.util.TreeSet.add(TreeSet.java:255)
      4. java.util.AbstractCollection.addAll(AbstractCollection.java:344)
      5. java.util.TreeSet.addAll(TreeSet.java:312)
      5 frames
    4. org.dripstat.lb
      Leaderboard.getLeaderboardForUser
      1. org.dripstat.lb.Leaderboard.getLeaderboardForUser(Leaderboard.java:36)
      1 frame