Community
Participate
Working Groups
I20040529 Set TextTransfer or RTFTransfer in clipboard with data as null: win: NULL gtk: NULL mac: SWTError - Cannot set data in clipboard. Clipboard.setContents motif: SWTError - Cannot set data in clipboard. Clipboard.setContents Set TextTransfer or RTFTransfer in clipboard with data as "" win: NULL gtk: NULL mac: SWTError - Cannot set data in clipboard. Clipboard.setContents motif: SWTError - Cannot set data in clipboard. Clipboard.setContents Set FileTransfer on clipboard with data as null: win: NULL and context menu stops working gtk: NULL mac: SWTError - Cannot set data in clipboard. Clipboard.setContents motif: SWTError - Cannot set data in clipboard. Clipboard.setContents Set FileTransfer on clipboard with data as {null, null}: win: "null\nnull" and context menu stops working gtk: NULL mac: NPE - FileTransfer -> File init motif: "null\nnull" Set FileTransfer on clipboard with data as new String[0]: win: "" gtk: NULL mac: SWTError - Cannot set data in clipboard. Clipboard.setContents motif: SWTError - Cannot set data in clipboard. Clipboard.setContents BadTransfer with getTypeNamesreturns null: win: "abc" gtk: NPE in Clipboard.setContents mac: "abc" motif: NPE in Clipboard.setContents BadTransfer with getTypeNames throws an exception: win: "abc" gtk: SWTException - Clipboard.setContents mac: "abc" motif: SWTException - Clipboard.setContents BadTransfer with javaToNative throws an exception: win: SWTException in OLE callback (OleFlushClipboard) all others: SWTException - Clipboard.setContents
Post 3.0.
*** Bug 45771 has been marked as a duplicate of this bug. ***
Fixed by adding validate method.