java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Java: Using TreeSet with a Class type
    via Stack Overflow by ueg1990
    ,
  • Beginners problem with Groovy on Grails
    via Stack Overflow by Luixv
    ,
  • @Sort is not working in Hibernate
    via Stack Overflow by Chaitanya
    ,
  • I can't iterate through TreeSet
    via by Unknown author,
    • java.lang.ClassCastException: org.kitteh.irc.client.library.implementation.ModeData$IRCChannelUserMode cannot be cast to java.lang.Comparable at java.util.TreeMap.compare(TreeMap.java:1290) at java.util.TreeMap.put(TreeMap.java:538) at java.util.TreeSet.add(TreeSet.java:255) at java.util.AbstractCollection.addAll(AbstractCollection.java:344) at java.util.TreeSet.addAll(TreeSet.java:312) at org.kitteh.irc.client.library.implementation.ActorProvider$IRCChannelSnapshot.<init>(ActorProvider.java:402) at org.kitteh.irc.client.library.implementation.ActorProvider$IRCChannelSnapshot.<init>(ActorProvider.java:377) at org.kitteh.irc.client.library.implementation.ActorProvider$IRCChannel.lambda$snapshot$22(ActorProvider.java:214) at org.kitteh.irc.client.library.implementation.ActorProvider$IRCStaleable.snapshot(ActorProvider.java:156) at org.kitteh.irc.client.library.implementation.ActorProvider$IRCChannel.snapshot(ActorProvider.java:214)

    Users with the same issue

    oddodd
    1 times, last one,
    tvrmsmithtvrmsmith
    4 times, last one,
    johnxflyjohnxfly
    1 times, last one,
    aldrinlealaldrinleal
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    8 more bugmates