I have just created a little java application that can cause openOffice
to crash this way.


import java.awt.Toolkit;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.Transferable;


public class Testje  {
        public static void main(String[] args) {
                Clipboard clipboard = 
Toolkit.getDefaultToolkit().getSystemClipboard();
                Transferable t = clipboard.getContents(null);
        }
}

If I don't put 'null' in the method clipboard.getContents() then
OpenOffice won't crash.

This is really a problem, because all java textcomponents do the paste with the 
lines as above.
So it is now not possible to copy/paste from openoffice to any java application.

-- 
OpenOffice 3.2.0 crash due to interference from another Java application in 
Lucid
https://bugs.launchpad.net/bugs/591952
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to