Modify

Opened 7 years ago

Closed 7 years ago

Last modified 3 years ago

#7663 closed defect (fixed)

Pasting in Windows gives "java.lang.IllegalStateException: cannot open system clipboard"

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

Please provide any additional information below. Attach a screenshot if
possible.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-05-02 01:31:00
Last Changed Author: stoecker
Revision: 5210
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-05-01 16:42:42 +0200 (Tue, 01 May 2012)
Last Changed Rev: 5210

Identification: JOSM/1.5 (5210 en)
Memory Usage: 157 MB / 1806 MB (75 MB allocated, but free)
Java version: 1.6.0_26, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Windows 7
Dataset consistency test: No problems found


java.lang.IllegalStateException: cannot open system clipboard
	at sun.awt.windows.WClipboard.openClipboard(Native Method)
	at sun.awt.datatransfer.ClipboardTransferable.<init>(Unknown Source)
	at sun.awt.datatransfer.SunClipboard.getContents(Unknown Source)
	at org.openstreetmap.josm.tools.Utils.getClipboardContent(Utils.java:329)
	at org.openstreetmap.josm.gui.download.BoundingBoxSelection$PasteUrlAction.updateEnabledState(BoundingBoxSelection.java:314)
	at org.openstreetmap.josm.gui.download.BoundingBoxSelection$PasteUrlAction.flavorsChanged(BoundingBoxSelection.java:318)
	at sun.awt.datatransfer.SunClipboard$1SunFlavorChangeNotifier.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.security.AccessController.doPri

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 5221/josm:

should fix #7663 - Pasting in Windows gives "java.lang.IllegalStateException: cannot open system clipboard"

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.