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 silverailscolo
, 1 year ago
jmri.jmrit.display.TurnoutIcon cannot be cast to java.lang.String
via Oracle Community by 843806, 6 months ago
[Ljavax.swing.tree.TreePath; cannot be cast to java.lang.String
via Pentaho BI Platform Tracking by Paula Clemente, 1 year ago
java.lang.String cannot be cast to java.io.InputStream
via Pentaho BI Platform Tracking by Paula Clemente, 1 year ago
java.lang.String cannot be cast to java.io.InputStream
via Stack Overflow by Jose Miguel Ledón
, 2 years ago
[Ljava.lang.Object; cannot be cast to java.io.InputStream
via Pentaho BI Platform Tracking by Josh McFarlane, 1 year ago
org.pentaho.reportdesigner.crm.report.model.TextFieldReportElement cannot be cast to java.io.InputStream
java.lang.ClassCastException: jmri.jmrit.display.TurnoutIcon cannot be cast to java.lang.String	at sun.awt.datatransfer.DataTransferer.translateTransferable(DataTransferer.java:1130)	at sun.awt.datatransfer.DataTransferer$5.run(DataTransferer.java:2316)	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)	at java.awt.EventQueue.access$500(EventQueue.java:97)	at java.awt.EventQueue$3.run(EventQueue.java:709)	at java.awt.EventQueue$3.run(EventQueue.java:703)	at java.security.AccessController.doPrivileged(Native Method)	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)	at java.awt.EventQueue$4.run(EventQueue.java:731)	at java.awt.EventQueue$4.run(EventQueue.java:729)	at java.security.AccessController.doPrivileged(Native Method)	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)