Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by iamkobold
, 1 year ago
org.kitteh.irc.client.library.implementation.ModeData$IRCChannelUserMode cannot be cast to java.lang.Comparable
via Stack Overflow by ueg1990
, 2 years ago
odd.OddMove cannot be cast to java.lang.Comparable
via Stack Overflow by Jack
, 2 years ago
com.myproject.MyList cannot be cast to java.lang.Comparable
via Stack Overflow by Sushobhit Rajan
, 1 year ago
java.util.HashMap cannot be cast to java.lang.Comparable
via Stack Overflow by Unknown author, 2 years ago
com.simon.main.AModel cannot be cast to java.lang.Comparable
via Coderanch by annapoorna chitturi, 1 year ago
javax.swing.KeyStroke cannot be cast to java.lang.Comparable
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.(ActorProvider.java:402)	at org.kitteh.irc.client.library.implementation.ActorProvider$IRCChannelSnapshot.(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)