java.lang.ClassCastException

java.lang.Double cannot be cast to java.lang.String

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19428

  • via GitHub by RMajewski
    , 1 year ago
    java.lang.String cannot be cast to java.lang.Double
  • via GitHub by psubotic
    , 8 months ago
    java.lang.String cannot be cast to java.lang.Double
  • java.lang.String cannot be cast to java.lang.Double
  • Stack trace

    • java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.String at java.lang.String.compareTo(String.java:111) at java.util.TreeMap.put(TreeMap.java:568) at java.util.TreeSet.add(TreeSet.java:255) at figtree.treeviewer.decorators.DiscreteColourDecorator.setAttributes(DiscreteColourDecorator.java:107) at figtree.treeviewer.decorators.ColourDecorator.<init>(ColourDecorator.java:54) at figtree.treeviewer.decorators.DiscreteColourDecorator.<init>(DiscreteColourDecorator.java:88) at figtree.treeviewer.decorators.HSBDiscreteColourDecorator.<init>(HSBDiscreteColourDecorator.java:61) at figtree.treeviewer.AttributeColourController.getDecoratorForAttribute(AttributeColourController.java:171) at figtree.treeviewer.AttributeColourController.getColourDecorator(AttributeColourController.java:142) at figtree.treeviewer.painters.LegendPainterController$1.attributeComboChanged(LegendPainterController.java:106) at figtree.treeviewer.painters.AttributeComboHelper.fireAttributeSelectionChanged(AttributeComboHelper.java:293) at figtree.treeviewer.painters.AttributeComboHelper.access$200(AttributeComboHelper.java:46) at figtree.treeviewer.painters.AttributeComboHelper$2.actionPerformed(AttributeComboHelper.java:141)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Once, 6 months ago
    2 more bugmates