java.lang.ClassCastException: org.pentaho.reportdesigner.crm.report.model.TextFieldReportElement cannot be cast to java.io.InputStream

Pentaho BI Platform Tracking | Josh McFarlane | 9 years ago
  1. 0

    Steps to reproduce: 1. Open a report with a Pentaho Data Set. 2. Click on the dataset to bring up field list in Properties window. 3. Click on a field name and press CTRL+C Expected Results: Field name copied to clipboard, or nothing happens. Actual Results: Java exception thrown (flashing ! in status bar): java.lang.ClassCastException: org.pentaho.reportdesigner.crm.report.model.TextFieldReportElement cannot be cast to java.io.InputStream at sun.awt.datatransfer.DataTransferer.translateTransferable(Unknown Source) at sun.awt.windows.WDataTransferer.translateTransferable(Unknown Source) at sun.awt.windows.WClipboard.setContentsNative(Unknown Source) at sun.awt.datatransfer.SunClipboard.setContents(Unknown Source) at javax.swing.TransferHandler.exportToClipboard(Unknown Source) at javax.swing.TransferHandler$TransferAction.actionPerformed(Unknown Source) at javax.swing.SwingUtilities.notifyAction(Unknown Source) at javax.swing.JComponent.processKeyBinding(Unknown Source) at javax.swing.JTable.processKeyBinding(Unknown Source) at javax.swing.JComponent.processKeyBindings(Unknown Source) at javax.swing.JComponent.processKeyEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

    Pentaho BI Platform Tracking | 9 years ago | Josh McFarlane
    java.lang.ClassCastException: org.pentaho.reportdesigner.crm.report.model.TextFieldReportElement cannot be cast to java.io.InputStream
  2. 0

    Steps to reproduce: 1. Open a report with a Pentaho Data Set. 2. Click on the dataset to bring up field list in Properties window. 3. Click on a field name and press CTRL+C Expected Results: Field name copied to clipboard, or nothing happens. Actual Results: Java exception thrown (flashing ! in status bar): java.lang.ClassCastException: org.pentaho.reportdesigner.crm.report.model.TextFieldReportElement cannot be cast to java.io.InputStream at sun.awt.datatransfer.DataTransferer.translateTransferable(Unknown Source) at sun.awt.windows.WDataTransferer.translateTransferable(Unknown Source) at sun.awt.windows.WClipboard.setContentsNative(Unknown Source) at sun.awt.datatransfer.SunClipboard.setContents(Unknown Source) at javax.swing.TransferHandler.exportToClipboard(Unknown Source) at javax.swing.TransferHandler$TransferAction.actionPerformed(Unknown Source) at javax.swing.SwingUtilities.notifyAction(Unknown Source) at javax.swing.JComponent.processKeyBinding(Unknown Source) at javax.swing.JTable.processKeyBinding(Unknown Source) at javax.swing.JComponent.processKeyBindings(Unknown Source) at javax.swing.JComponent.processKeyEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

    Pentaho BI Platform Tracking | 9 years ago | Josh McFarlane
    java.lang.ClassCastException: org.pentaho.reportdesigner.crm.report.model.TextFieldReportElement 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

    org.pentaho.reportdesigner.crm.report.model.TextFieldReportElement cannot be cast to java.io.InputStream

    at sun.awt.datatransfer.DataTransferer.translateTransferable()
  2. Java RT
    EventDispatchThread.run
    1. sun.awt.datatransfer.DataTransferer.translateTransferable(Unknown Source)
    2. sun.awt.windows.WDataTransferer.translateTransferable(Unknown Source)
    3. sun.awt.windows.WClipboard.setContentsNative(Unknown Source)
    4. sun.awt.datatransfer.SunClipboard.setContents(Unknown Source)
    5. javax.swing.TransferHandler.exportToClipboard(Unknown Source)
    6. javax.swing.TransferHandler$TransferAction.actionPerformed(Unknown Source)
    7. javax.swing.SwingUtilities.notifyAction(Unknown Source)
    8. javax.swing.JComponent.processKeyBinding(Unknown Source)
    9. javax.swing.JTable.processKeyBinding(Unknown Source)
    10. javax.swing.JComponent.processKeyBindings(Unknown Source)
    11. javax.swing.JComponent.processKeyEvent(Unknown Source)
    12. java.awt.Component.processEvent(Unknown Source)
    13. java.awt.Container.processEvent(Unknown Source)
    14. java.awt.Component.dispatchEventImpl(Unknown Source)
    15. java.awt.Container.dispatchEventImpl(Unknown Source)
    16. java.awt.Component.dispatchEvent(Unknown Source)
    17. java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
    18. java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
    19. java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
    20. java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
    21. java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
    22. java.awt.Component.dispatchEventImpl(Unknown Source)
    23. java.awt.Container.dispatchEventImpl(Unknown Source)
    24. java.awt.Window.dispatchEventImpl(Unknown Source)
    25. java.awt.Component.dispatchEvent(Unknown Source)
    26. java.awt.EventQueue.dispatchEvent(Unknown Source)
    27. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    28. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    29. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    30. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    31. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    32. java.awt.EventDispatchThread.run(Unknown Source)
    32 frames