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.

  • showing up only distinct items
    via by 807596,
  • NavigableSet can't add different sub class
    via by Unknown author,
  • Map + Set
    via by Sted Alana,
  • When a plugin attempts to send an email notification (when a smart commit fails, say), with certain email configurations, the following exception is thrown when the email notification is processed by FishEye: {code} java.lang.ClassCastException: com.cenqua.crucible.notification.Notification cannot be cast to java.lang.Comparable at Source) at java.util.TreeMap.put(Unknown Source) at java.util.TreeSet.add(Unknown Source) at java.util.AbstractCollection.addAll(Unknown Source) at java.util.TreeSet.addAll(Unknown Source) at java.util.TreeSet.<init>(Unknown Source) at com.cenqua.crucible.notification.batch.creators.PluginBatchCreator.getEmailSegment( at com.cenqua.crucible.notification.DefaultNotificationManager.getBatchMessage( at com.cenqua.crucible.notification.DefaultNotificationManager.processNotification( at com.cenqua.crucible.notification.DefaultNotificationManager.processNotifications( at com.cenqua.crucible.notification.DefaultNotificationManager.access$200( at com.cenqua.crucible.notification.DefaultNotificationManager$ at java.util.concurrent.Executors$ Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source) at java.util.concurrent.FutureTask.runAndReset(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$ Source) {code} This is happening because we are adding a Notification object to a TreeSet. The contract for a TreeSet is: bq. All elements inserted into the set must implement the Comparable interface.
    via by Nick Pellow [Atlassian],
    • java.lang.ClassCastException: relatorio.Detalhe at at java.util.TreeMap.put( at java.util.TreeSet.add( at java.util.AbstractCollection.addAll( at java.util.TreeSet.addAll( at java.util.TreeSet.<init>( at relatorio.Assistente.q1023( at relatorio.VisualSwing.q1023( at relatorio.VisualSwing.<init>( at relatorio.Visual.<init>( at relatorio.Visual.main(

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    1 times, last one,
    4 times, last one,
    1 times, last one,
    8 more bugmates