Modify

#22921 closed defect (fixed)

[PATCH] Overpass download fails

Reported by: anonymous Owned by: taylor.smock
Priority: normal Milestone: 23.05
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-03-30 16:51:36 +0200 (Thu, 30 Mar 2023)
Revision:18700
Build-Date:2023-03-31 01:30:56
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18700 fr) Linux Ubuntu 20.04.6 LTS
Memory Usage: 368 MB / 3972 MB (76 MB allocated, but free)
Java version: 17.0.6+10-Ubuntu-0ubuntu120.04.1, Private Build, 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 1366×768 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: fr_FR.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: fr_FR
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: ubuntu:GNOME
Java package: openjdk-17-jre:amd64-17.0.6+10-0ubuntu1~20.04.1
Java ATK Wrapper package: libatk-wrapper-java:all-0.37.1-1
fonts-noto: fonts-noto:all-20200323-1build1~ubuntu20.04.1
VM arguments: [--module-path=/usr/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djava.net.useSystemProxies=true, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED]
Dataset consistency test: No problems found

Plugins:
+ InfoMode (35978)
+ buildings_tools (36011)
+ imagery_offset_db (35978)
+ measurement (35978)
+ todo (123)
+ utilsplugin2 (36011)

Map paint styles:
- https://github.com/hotosm/HDM-JOSM-style/archive/master.zip

Last errors/warnings:
- 00446.303 E: Handled by bug report queue: java.time.DateTimeException: Invalid value for DayOfMonth (valid values 1 - 28/31): 0
- 00463.280 E: Handled by bug report queue: java.time.DateTimeException: Invalid value for DayOfMonth (valid values 1 - 28/31): 0



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (22) of main
java.time.DateTimeException: Invalid value for DayOfMonth (valid values 1 - 28/31): 0
	at java.base/java.time.temporal.ValueRange.checkValidValue(ValueRange.java:319)
	at java.base/java.time.temporal.ChronoField.checkValidValue(ChronoField.java:718)
	at java.base/java.time.LocalDate.of(LocalDate.java:272)
	at java.base/java.time.LocalDateTime.of(LocalDateTime.java:363)
	at java.base/java.time.ZonedDateTime.of(ZonedDateTime.java:341)
	at org.openstreetmap.josm.tools.date.DateUtils.parseInstant(DateUtils.java:102)
	at org.openstreetmap.josm.io.OverpassDownloadReader.date(OverpassDownloadReader.java:248)
	at org.openstreetmap.josm.io.OverpassDownloadReader.expandExtendedQueries(OverpassDownloadReader.java:210)
	at org.openstreetmap.josm.io.OverpassDownloadReader.getRequestForBbox(OverpassDownloadReader.java:192)
	at org.openstreetmap.josm.io.BoundingBoxDownloader.parseOsm(BoundingBoxDownloader.java:211)
	at org.openstreetmap.josm.io.OverpassDownloadReader.parseOsm(OverpassDownloadReader.java:400)
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$DownloadTask.parseDataSet(DownloadOsmTask.java:469)
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$DownloadTask.realRun(DownloadOsmTask.java:477)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)

Attachments (1)

22921.patch (14.1 KB ) - added by taylor.smock 12 months ago.

Download all attachments as: .zip

Change History (4)

comment:1 by taylor.smock, 12 months ago

Owner: changed from team to anonymous
Status: newneedinfo

Can you give us the overpass query you used? I'm guessing that you did something like 2023-04-00T00:00:00Z. But I could be wrong.

comment:2 by taylor.smock, 12 months ago

Milestone: 23.05
Owner: changed from anonymous to taylor.smock
Status: needinfoassigned
Summary: Overpass download fails[PATCH] Overpass download fails

by taylor.smock, 12 months ago

Attachment: 22921.patch added

comment:3 by taylor.smock, 11 months ago

Resolution: fixed
Status: assignedclosed

In 18735/josm:

Fix #22921: DateTimeException when using invalid day of month for overpass query

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain taylor.smock.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.