Opened 3 years ago
#21897 new defect
JOSM occasionally doesn't understand errors from Overpass
Reported by: | SomeoneElse2 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Download object for node 3815077900
- Select download data
- Select download from Overpass API
Select a slightly wider bounding box
What is the expected result?
Some data
What happens instead?
(according to the console from where JOSM is running)
</body>
</html>>
org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<line 1: parse error: , or ] expected - E found.>, Error Body=<<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 StrictEN"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" lang="en"/>
<title>OSM3S Response</title>
</head>
<body>
Please provide any additional information below. Attach a screenshot if possible.
This is intermittent, and it seems that JOSM is returning an error, and JOSM doesn't know how to present that to the user.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2022-01-02 21:24:43 +0100 (Sun, 02 Jan 2022) Revision:18360 Build-Date:2022-01-02 20:26:19 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18360 en_GB) Linux Ubuntu 18.04.6 LTS Memory Usage: 423 MB / 3946 MB (245 MB allocated, but free) Java version: 11.0.13+8-Ubuntu-0ubuntu1.18.04, Ubuntu, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 1920×1080 (scaling 1.00×1.00) :0.1 1920×1080 (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: en_GB.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: KDE Java package: openjdk-11-jre:amd64-11.0.13+8-0ubuntu1~18.04 Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-20ubuntu0.1 libcommons-compress-java: libcommons-compress-java:all-1.18-1~18.04 libcommons-logging-java: libcommons-logging-java:all-1.2-2 fonts-noto: fonts-noto:all-20171026-2 liboauth-signpost-java: liboauth-signpost-java:- Dataset consistency test: No problems found Plugins: + continuosDownload (99) + reverter (35893) + undelete (35893) Last errors/warnings: - 00240.866 E: Bad Request - <html>The OSM server 'overpass-api.de' reported a bad request.<br><br>Error message(untranslated): line 10: parse error: Operator expected, but "E"found. </html> - 00323.335 W: java.net.SocketException: Socket closed. Cause: java.net.SocketException: Socket closed - 00323.336 E: java.net.SocketException: Socket closed. Cause: java.net.SocketException: Socket closed - 00323.336 W: org.openstreetmap.josm.io.OsmTransferCanceledException: Operation canceled. Cause: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: java.net.SocketException: Socket closed. Cause: java.net.SocketException: Socket closed - 00949.717 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<line 10: parse error: Operator expected, but "E"found.>, Error Body=<<?xml version="1.0" encoding="UTF-8"?> - 00949.730 E: Bad Request - <html>The OSM server 'overpass-api.de' reported a bad request.<br><br>Error message(untranslated): line 10: parse error: Operator expected, but "E"found. </html> - 00978.148 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<line 10: parse error: Operator expected, but "E"found.>, Error Body=<<?xml version="1.0" encoding="UTF-8"?> - 00978.161 E: Bad Request - <html>The OSM server 'overpass-api.de' reported a bad request.<br><br>Error message(untranslated): line 10: parse error: Operator expected, but "E"found. </html> - 01035.914 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<line 1: parse error: , or ] expected - E found.>, Error Body=<<?xml version="1.0" encoding="UTF-8"?> - 01035.920 E: Bad Request - <html>The OSM server 'overpass-api.de' reported a bad request.<br><br>Error message(untranslated): line 1: parse error: , or ] expected - E found. </html>