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

Solutions on the web

via Coderanch by marc weber, 1 year ago
cannot open system clipboard
via Stack Overflow by Coded Apple
, 1 year ago
via Spring JIRA by Benoit Xhenseval, 1 year ago
cannot open system clipboard
via Spring JIRA by Benoit Xhenseval, 6 months ago
cannot open system clipboard
via Oracle Community by 529448, 1 year ago
via Stack Overflow by Dziugas
, 2 years 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 undefined.BoardListener.lostOwnership(BoardListener.java:15)
at sun.awt.datatransfer.SunClipboard$2.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(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 tip

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