Exception when creating new image from system clipboard

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Exception when creating new image from system clipboard

Michael Doube-4
Just tried to make a new image from the clipboard in Ubuntu 12.04, which
failed throwing this exception:

Any ideas? Normally this procedure works fine.

Michael

------------------------------
ImageJ 1.47n; Java 1.7.0_25 [64-bit]; Linux 3.2.0-48-generic; 74MB of
54613MB (<1%)

java.io.IOException: Owner failed to convert data
        at sun.awt.X11.XSelection.validateDataGetter(XSelection.java:444)
        at sun.awt.X11.XSelection.getData(XSelection.java:378)
        at sun.awt.X11.XClipboard.getClipboardData(XClipboard.java:120)
        at
sun.awt.datatransfer.ClipboardTransferable.fetchOneFlavor(ClipboardTransferable.java:118)
        at
sun.awt.datatransfer.ClipboardTransferable.<init>(ClipboardTransferable.java:97)
        at sun.awt.X11.XClipboard.getContents(XClipboard.java:106)
        at ij.plugin.Clipboard.showSystemClipboard(Clipboard.java:76)
        at ij.plugin.Clipboard.run(Clipboard.java:35)
        at ij.IJ.runPlugIn(IJ.java:166)
        at ij.Executer.runCommand(Executer.java:128)
        at ij.Executer.run(Executer.java:64)
        at java.lang.Thread.run(Thread.java:724)
----------------------------

[RVC Logo - link to RVC Website]<http://www.rvc.ac.uk>    [Twitter icon - link to RVC (Official) Twitter] <http://twitter.com/RoyalVetCollege>     [Facebook icon - link to RVC (Official) Facebook] <http://www.facebook.com/theRVC>     [YouTube icon - link to RVC YouTube] <http://www.youtube.com/user/RoyalVetsLondon?feature=mhee>     [Pinterest icon - link to RVC Pinterest] <http://pinterest.com/royalvetcollege/>

This message, together with any attachments, is intended for the stated addressee(s) only and may contain privileged or confidential information. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Royal Veterinary College (RVC). If you are not the intended recipient, please notify the sender and be advised that you have received this message in error and that any use, dissemination, forwarding, printing, or copying is strictly prohibited. Unless stated expressly in this email, this email does not create, form part of, or vary any contractual or unilateral obligation. Email communication cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, amended, lost, destroyed, incomplete or contain viruses. Therefore, we do not accept liability for any such matters or their consequences. Communication with us by email will be taken as acceptance of the risks inherent in doing so.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Exception when creating new image from system clipboard

Michael Doube-4
> Java 1.7.0_25 [64-bit];
This seems to be the culprit, works fine with Java 1.6.0_45

Michael




[RVC Logo - link to RVC Website]<http://www.rvc.ac.uk>    [Twitter icon - link to RVC (Official) Twitter] <http://twitter.com/RoyalVetCollege>     [Facebook icon - link to RVC (Official) Facebook] <http://www.facebook.com/theRVC>     [YouTube icon - link to RVC YouTube] <http://www.youtube.com/user/RoyalVetsLondon?feature=mhee>     [Pinterest icon - link to RVC Pinterest] <http://pinterest.com/royalvetcollege/>

This message, together with any attachments, is intended for the stated addressee(s) only and may contain privileged or confidential information. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Royal Veterinary College (RVC). If you are not the intended recipient, please notify the sender and be advised that you have received this message in error and that any use, dissemination, forwarding, printing, or copying is strictly prohibited. Unless stated expressly in this email, this email does not create, form part of, or vary any contractual or unilateral obligation. Email communication cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, amended, lost, destroyed, incomplete or contain viruses. Therefore, we do not accept liability for any such matters or their consequences. Communication with us by email will be taken as acceptance of the risks inherent in doing so.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html