java.awt.datatransfer.UnsupportedFlavorException: Serializable Object

Coderanch | Tanveer Rameez | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    copy paste java object using System clipboard

    Coderanch | 1 decade ago | Tanveer Rameez
    java.awt.datatransfer.UnsupportedFlavorException: Serializable Object

    Root Cause Analysis

    1. java.awt.datatransfer.UnsupportedFlavorException

      Serializable Object

      at sun.awt.windows.FullyRenderedTransferable.getTransferData()
    2. Java RT
      FullyRenderedTransferable.getTransferData
      1. sun.awt.windows.FullyRenderedTransferable.getTransferData(Unknown Source)
      1 frame
    3. Unknown
      MimeClipboardFrame.actionPerformed
      1. MimeClipboardFrame.paste(MimeClipboardTest.java:113)
      2. MimeClipboardFrame.actionPerformed(MimeClipboardTest.java:88)
      2 frames
    4. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      4. javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      5. javax.swing.AbstractButton.doClick(Unknown Source)
      6. javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
      7. java.awt.Component.processMouseEvent(Unknown Source)
      8. java.awt.Component.processEvent(Unknown Source)
      9. java.awt.Container.processEvent(Unknown Source)
      10. java.awt.Component.dispatchEventImpl(Unknown Source)
      11. java.awt.Container.dispatchEventImpl(Unknown Source)
      12. java.awt.Component.dispatchEvent(Unknown Source)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      14. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      15. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      16. java.awt.Container.dispatchEventImpl(Unknown Source)
      17. java.awt.Window.dispatchEventImpl(Unknown Source)
      18. java.awt.Component.dispatchEvent(Unknown Source)
      19. java.awt.EventQueue.dispatchEvent(Unknown Source)
      20. java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      21. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      22. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      23. java.awt.EventDispatchThread.run(Unknown Source)
      23 frames