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 rambaut
, 1 year ago
java.lang.Double cannot be cast to java.lang.String
via Stack Overflow by maddie
, 1 year ago
java.lang.Long cannot be cast to java.lang.String
via GitHub by ypujante
, 2 years ago
org.codehaus.groovy.runtime.GStringImpl cannot be cast to java.lang.String
via Coderanch by Ivan Jozsef Balazs, 1 year ago
java.lang.Integer cannot be cast to java.lang.String
via Oracle Community by dr_nik, 1 year ago
$Proxy0 cannot be cast to java.lang.String
via Stack Overflow by Unknown author, 2 years ago
java.util.Date cannot be cast to java.lang.String
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.(ColourDecorator.java:54)	at figtree.treeviewer.decorators.DiscreteColourDecorator.(DiscreteColourDecorator.java:88)	at figtree.treeviewer.decorators.HSBDiscreteColourDecorator.(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)