java.lang.ClassCastException: java.lang.String cannot be cast to java.io.InputStream

Pentaho BI Platform Tracking | Paula Clemente | 12 months ago
  1. 0

    When adding fields into the canvas, we get a ClassCastException in the command line logs: {code} java.lang.ClassCastException: java.lang.String cannot be cast to java.io.InputStream at sun.awt.datatransfer.DataTransferer.translateTransferable(DataTransferer.java:1368) at sun.lwawt.macosx.CDataTransferer.translateTransferable(CDataTransferer.java:131) at sun.awt.datatransfer.DataTransferer$6.run(DataTransferer.java:2304) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:688) at java.awt.EventQueue$3.run(EventQueue.java:686) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:702) at java.awt.EventQueue$4.run(EventQueue.java:700) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:699) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) {code}

    Pentaho BI Platform Tracking | 12 months ago | Paula Clemente
    java.lang.ClassCastException: java.lang.String cannot be cast to java.io.InputStream
  2. 0

    When adding fields into the canvas, we get a ClassCastException in the command line logs: {code} java.lang.ClassCastException: java.lang.String cannot be cast to java.io.InputStream at sun.awt.datatransfer.DataTransferer.translateTransferable(DataTransferer.java:1368) at sun.lwawt.macosx.CDataTransferer.translateTransferable(CDataTransferer.java:131) at sun.awt.datatransfer.DataTransferer$6.run(DataTransferer.java:2304) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:688) at java.awt.EventQueue$3.run(EventQueue.java:686) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:702) at java.awt.EventQueue$4.run(EventQueue.java:700) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:699) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) {code}

    Pentaho BI Platform Tracking | 12 months ago | Paula Clemente
    java.lang.ClassCastException: java.lang.String cannot be cast to java.io.InputStream
  3. 0

    Crash report

    GitHub | 2 years ago | benjicraft
    java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.awt.Color
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash report rpw

    GitHub | 3 years ago | Midrag
    java.lang.ClassCastException: javax.swing.plaf.nimbus.DerivedColor$UIResource cannot be cast to javax.swing.Painter
  6. 0

    Crash after opening Save-File Dialog

    GitHub | 3 years ago | Trissi2000
    java.lang.ClassCastException: javax.swing.plaf.nimbus.DerivedColor$UIResource cannot be cast to javax.swing.Painter

  1. poroszd 1 times, last 9 months ago
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassCastException

    java.lang.String cannot be cast to java.io.InputStream

    at sun.awt.datatransfer.DataTransferer.translateTransferable()
  2. Java RT
    EventDispatchThread.run
    1. sun.awt.datatransfer.DataTransferer.translateTransferable(DataTransferer.java:1368)
    2. sun.lwawt.macosx.CDataTransferer.translateTransferable(CDataTransferer.java:131)
    3. sun.awt.datatransfer.DataTransferer$6.run(DataTransferer.java:2304)
    4. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    5. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
    6. java.awt.EventQueue.access$200(EventQueue.java:103)
    7. java.awt.EventQueue$3.run(EventQueue.java:688)
    8. java.awt.EventQueue$3.run(EventQueue.java:686)
    9. java.security.AccessController.doPrivileged(Native Method)
    10. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    11. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    12. java.awt.EventQueue$4.run(EventQueue.java:702)
    13. java.awt.EventQueue$4.run(EventQueue.java:700)
    14. java.security.AccessController.doPrivileged(Native Method)
    15. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    16. java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
    17. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    18. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    19. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    20. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    21. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    22. java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    22 frames