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

Spring JIRA | Prashant Deva | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

    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