Modify ↓
Opened 8 years ago
Closed 8 years ago
#13860 closed defect (duplicate)
MTP not supported?
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | |
Keywords: | MTP, file IO | Cc: |
Description
What steps will reproduce the problem?
- Open file manager (Thunar) and navigate to an Android phone MTP storage (e.g.
mtp://[usb:002,005]/Android/data/net.osmand.plus/files/
) - Drag&drop
favourites.gpx
file from the file manager to JOSM
What is the expected result?
Opening of GPX file.
What happens instead?
No file open. Bug report window pops up.
Please provide any additional information below. Attach a screenshot if possible.
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2016-09-06 00:16:07 +0200 (Tue, 06 Sep 2016) Build-Date:2016-09-05 22:21:00 Revision:10966 Relative:URL: ^/trunk Identification: JOSM/1.5 (10966 ru) Linux Arch Linux Memory Usage: 498 MB / 3561 MB (404 MB allocated, but free) Java version: 1.8.0_112-b15, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 1920x1080 Maximum Screen Size: 1920x1080 VM arguments: [-Djosm.restart=true] Plugins: + OpeningHoursEditor (32699) + alignways (32921) + buildings_tools (32944) Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 Last errors/warnings: - E: java.net.SocketTimeoutException: connect timed out - W: org.openstreetmap.josm.io.OsmTransferException: Не удается соединиться с сервером OSM. Пожалуйста, проверьте Ваше интернет-соединение.. Причина: java.net.SocketTimeoutException: connect timed out - W: java.net.SocketTimeoutException: connect timed out - W: Already here java.net.SocketTimeoutException: connect timed out - E: java.net.SocketTimeoutException: connect timed out - W: org.openstreetmap.josm.io.OsmTransferException: Не удается соединиться с сервером OSM. Пожалуйста, проверьте Ваше интернет-соединение.. Причина: java.net.SocketTimeoutException: connect timed out - W: java.net.SocketTimeoutException: connect timed out - W: Already here java.net.SocketTimeoutException: connect timed out - E: java.net.SocketTimeoutException: connect timed out - W: org.openstreetmap.josm.io.OsmTransferException: Не удается соединиться с сервером OSM. Пожалуйста, проверьте Ваше интернет-соединение.. Причина: java.net.SocketTimeoutException: connect timed out === REPORTED CRASH DATA === AbstractStackTransferHandler#importData: - paster: org.openstreetmap.josm.gui.datatransfer.importers.FilePaster@5fb775b3 - flavors: - [Ljava.awt.datatransfer.DataFlavor;@199dd467 Warning issued by: AbstractStackTransferHandler#importData === STACK TRACE === Thread: AWT-EventQueue-0 (18) of main java.awt.dnd.InvalidDnDOperationException: java.net.URISyntaxException: Malformed IPv6 address at index 7: mtp://[usb:002,005]/%D0%92%D0%BD%D1%83%D1%82%D1%80%D0%B5%D0%BD%D0%BD%D1%8F%D1%8F%20%D0%BF%D0%B0%D0%BC%D1%8F%D1%82%D1%8C/Android/data/net.osmand.plus/files/favourites.gpx at sun.awt.dnd.SunDropTargetContextPeer.getTransferData(SunDropTargetContextPeer.java:271) at sun.awt.datatransfer.TransferableProxy.getTransferData(TransferableProxy.java:73) at java.awt.dnd.DropTargetContext$TransferableProxy.getTransferData(DropTargetContext.java:376) at org.openstreetmap.josm.gui.datatransfer.importers.FilePaster.importData(FilePaster.java:34) at org.openstreetmap.josm.gui.datatransfer.AbstractStackTransferHandler.importData(AbstractStackTransferHandler.java:55) at org.openstreetmap.josm.gui.datatransfer.AbstractStackTransferHandler.importData(AbstractStackTransferHandler.java:45) at javax.swing.TransferHandler$DropHandler.drop(TransferHandler.java:1544) at java.awt.dnd.DropTarget.drop(DropTarget.java:455) at javax.swing.TransferHandler$SwingDropTarget.drop(TransferHandler.java:1282) at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:538) at sun.awt.X11.XDropTargetContextPeer.processDropMessage(XDropTargetContextPeer.java:184) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:852) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:776) at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:48) at java.awt.Component.dispatchEventImpl(Component.java:4744) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4599) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4461) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Closed as duplicate of #13016.