Opened 13 years ago
Closed 13 years ago
#7618 closed defect (othersoftware)
Exception: Drag and Drop with openjdk-7
Reported by: | skyper | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report openjdk7 | Cc: |
Description
What steps will reproduce the problem?
- start josm with openjdk-7
- drag and drop a file
What is the expected result?
Josm opens a file
What happens instead?
Exception
Please provide any additional information below. Attach a screenshot if
possible.
Probably a java bug but I am not really sure.
I have tested this with .osm and .gpx.gz files. All files open added at the command line and drag and drop works with openjdk-6. This is on a up-to-date Debian testing (wheezy) with LXDE and openbox. I do not have this problem on a different PC with with gnome3 and metacity.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2012-04-15 01:30:59 Last Changed Author: Don-vip Revision: 5187 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2012-04-15 00:25:21 +0200 (Sun, 15 Apr 2012) Last Changed Rev: 5187 Identification: JOSM/1.5 (5187 en_GB) Memory Usage: 84 MB / 592 MB (59 MB allocated, but free) Java version: 1.7.0_03-icedtea, Oracle Corporation, OpenJDK 64-Bit Server VM Operating system: Linux java.awt.dnd.InvalidDnDOperationException: java.net.URISyntaxException: Illegal character in path at index 0: at sun.awt.dnd.SunDropTargetContextPeer.getTransferData(SunDropTargetContextPeer.java:270) at sun.awt.datatransfer.TransferableProxy.getTransferData(TransferableProxy.java:73) at java.awt.dnd.DropTargetContext$TransferableProxy.getTransferData(DropTargetContext.java:376) at org.openstreetmap.josm.gui.FileDrop$2.drop(FileDrop.java:323) at java.awt.dnd.DropTarget.drop(DropTarget.java:450) at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:537) at sun.awt.X11.XDropTargetContextPeer.processDropMessage(XDropTargetContextPeer.java:184) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:851) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:775) at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:48) at java.awt.Component.dispatchEventImpl(Component.java:4716) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4566) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4417) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2713) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707) at java.awt.EventQueue.access$000(EventQueue.java:101) at java.awt.EventQueue$3.run(EventQueue.java:666) at java.awt.EventQueue$3.run(EventQueue.java:664) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:680) at java.awt.EventQueue$4.run(EventQueue.java:678) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:677) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.awt.EventDispatchThread.run(EventDispatchThread.java:90
OpenJDK/Debian bug, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664205