JOSM cannot start when an invalid OSM server API is used
What steps will reproduce the problem?
-
-
-
What is the expected result?
What happens instead?
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2024-02-05 12:56:34 +0100 (Mon, 05 Feb 2024)
Build-Date:2024-02-06 02:30:58
Revision:18969
Relative:URL: ^/trunk
Identification: JOSM/1.5 (18969 ru) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 2016 LTSB 1607 (14393)
Memory Usage: 989 MB / 989 MB (336 MB allocated, but free)
Java version: 1.8.0_241-b07, Oracle Corporation, Java HotSpot(TM) Client VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00) \Display1 1600×900 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1251
System property sun.jnu.encoding: Cp1251
Locale info: ru_RU
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=256m,1024m, -Djnlpx.splashport=49933, -Djnlpx.jvm=<java.home>\bin\javaw.exe]
Plugins:
+ FastDraw (36200)
+ HouseNumberTaggingTool (36196)
+ ImportImagePlugin
+ apache-commons (36176)
+ buildings_tools (36200)
+ colorscheme (36196)
+ dataimport (36066)
+ ejml
+ geotools
+ imagery_offset_db (36126)
+ jackson (36176)
+ jaxb (36118)
+ jts (36004)
+ log4j (36176)
+ merge-overlap (36178)
+ namemanager (36126)
+ pbf (36176)
+ pdfimport (36200)
+ print (36126)
+ reltoolbox (36200)
+ reverter (36196)
+ russia-address-helper (0.8.5.1)
+ splinex (36126)
+ undelete (36126)
+ utilsplugin2 (36200)
+ waydownloader (36196)
Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Potlatch2&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_buildings_en&zip=1
Last errors/warnings:
- 1446012.728 E: org.openstreetmap.josm.io.OsmTransferException: Не удается соединиться с сервером OSM. Пожалуйста, проверьте Ваше интернет-соединение.. Причина: java.net.SocketTimeoutException: Read timed out. Причина: java.net.SocketTimeoutException: Read timed out
- 1446013.204 E: Ошибка Ввода-вывода - <html>Не удалось скачать данные с <br>«http://map.rt.ru:3000/api/0.6/map?bbox=35.7913113,52.9040619,35.8031344,52.9063138» или отправить их туда<br>из-за проблемы при передаче данных.<br>Подробности (без перевода): Read timed out</html>
- 1447277.886 W: java.net.SocketException: Unexpected end of file from server. Причина: java.net.SocketException: Unexpected end of file from server
- 1449405.574 W: java.net.SocketException: Unexpected end of file from server. Причина: java.net.SocketException: Unexpected end of file from server
- 1449405.576 E: java.net.SocketException: Unexpected end of file from server. Причина: java.net.SocketException: Unexpected end of file from server
- 1449405.640 E: org.openstreetmap.josm.io.OsmTransferException: Не удается соединиться с сервером OSM. Пожалуйста, проверьте Ваше интернет-соединение.. Причина: java.net.SocketException: Unexpected end of file from server. Причина: java.net.SocketException: Unexpected end of file from server
- 1449405.679 E: Ошибка сети - <html>Не удалось открыть соединение с удалённым сервером<br>'https://overpass-api.de/api/interpreter'.<br>Проверьте наличие соединения с Интернетом.</html>
- 1450194.152 W: java.util.zip.ZipException: zip file is empty
- 1450194.152 W: PluginException: : org.openstreetmap.josm.plugins.PluginException: Неправильный jar-файл '<josm.pref>\plugins\russia-address-helper.jar.new'
- 1450194.153 W: Не удалось просканировать файл 'russia-address-helper.jar.new' на информацию о модулях. Пропуск.
OSM API: http://map.rt.ru:3000/api
Change History
(4)
Resolution: |
→ worksforme
|
Status: |
new → closed
|
Summary: |
11-03-24 → JOSM cannot start when an invalid OSM server API is used
|
This is not a valid OSM API URL. If you cannot start JOSM to change the configuration please use a text editor to remove the line
<tag key='osm-server.url' value='OSM API: http://map.rt.ru:3000/api'/>
from preferences.xml, better also the similar line for the history.
Make sure to use the Validate button when you enter a new URL for the API.