It looks like you're trying to access something improperly. First of all, you should check that your types are all in order. Also, make sure that you have something in the clipboard beforehand to test it with. Some systems respond differently when the clipboard is empty.
EDIT: Graphmastur is right.