Opened 17 years ago

Last modified 17 years ago

#2744 closed defect

Can' t download data: no protocol: / — at Version 3

Reported by: anonymous Owned by: anonymous
Priority: major Milestone:
Component: Core Version: latest
Keywords: Cc:

Description (last modified by stoecker)

I can't download data (Ctrl+Shift+D) to JOSM. Error is:

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1670
Node Kind: directory
Last Changed Author: Gubaer
Last Changed Rev: 1670
Last Changed Date: 2009-06-15 20:22:46 +0200 (Mon, 15 Jun 2009)

Java version: 1.6.0_13
Plugins: DirectUploadeditgpxutilspluginvalidatorwmsplugin
Plugin DirectUpload Version: 15828
Plugin editgpx Version: 15678
Plugin utilsplugin Version: 15127
Plugin validator Version: 15127
Plugin wmsplugin Version: 15890

java.lang.RuntimeException: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmApiInitializationException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: /

at org.openstreetmap.josm.gui.PleaseWaitRunnable$4.run(PleaseWaitRunnable.java:127)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Caused by: java.lang.RuntimeException: org.openstreetmap.josm.io.OsmApiInitializationException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: /

at org.openstreetmap.josm.io.BoundingBoxDownloader.parseRawGps(BoundingBoxDownloader.java:84)
at org.openstreetmap.josm.actions.downloadtasks.DownloadGpsTask$Task.realRun(DownloadGpsTask.java:40)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:102)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Caused by: org.openstreetmap.josm.io.OsmApiInitializationException: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: /

at org.openstreetmap.josm.io.OsmApi.initialize(OsmApi.java:183)
at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:43)
at org.openstreetmap.josm.io.BoundingBoxDownloader.parseRawGps(BoundingBoxDownloader.java:51)
... 8 more

Caused by: org.openstreetmap.josm.io.OsmTransferException: java.net.MalformedURLException: no protocol: /

at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:460)
at org.openstreetmap.josm.io.OsmApi.initialize(OsmApi.java:163)
... 10 more

Caused by: java.net.MalformedURLException: no protocol: /

at java.net.URL.<init>(URL.java:567)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:377)
... 11 more

Change History (4)

comment:1 by anonymous, 17 years ago

Owner: changed from team to anonymous
Status: newneedinfo

Please attach your prefs. Strip username/password first.

by anonymous, 17 years ago

Attachment: preferences added

my ~/.josm/preferences file

comment:2 by anonymous, 17 years ago

it' strange, but thre are no osm-server.url= in my preferences (this file was not edited by hand)

comment:3 by stoecker, 17 years ago

Description: modified (diff)

Hmm, there is nothing really strange in your prefs (Only prefs are saved which differ from default values, so server url will not be in prefs file).

Please try this and tell if one of this fixes the issue:

  • update all plugins
  • disable all plugins
  • if previous helped, enable them one by one and test
  • delete preferences
Note: See TracTickets for help on using tickets.