java.lang.IllegalStateException: cannot open system clipboard

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 529448, 1 year ago
via Coderanch by marc weber, 1 year ago
cannot open system clipboard
via Spring JIRA by Benoit Xhenseval, 1 year ago
cannot open system clipboard
via Stack Overflow by Coded Apple
, 11 months ago
via Spring JIRA by Benoit Xhenseval, 4 months ago
cannot open system clipboard
via GitHub by Chris2011
, 11 months ago
cannot open system clipboard
java.lang.IllegalStateException: cannot open system clipboard
at sun.awt.windows.WClipboard.openClipboard(Native Method)
at sun.awt.datatransfer.ClipboardTransferable.(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent._pasteImpl(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent.paste(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent.processKeyEvent(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWCommonText.processKeyEvent(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextField.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent.processEventImpl(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextField.processEventImpl(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.