Modify ↓

#24931 new defect

Upload was slow, then canceled, then JOSM threw an exception

Reported by: grigory.rechistov@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Make a change, try to upload it
  2. The upload appears to be stuck because of a slow network, so press the Cancel button once or twice
  3. Try to upload again, and JOSM threw a exception
  4. Ignoring and continuing does not lead to additional strangeness, so far.

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: 2026-08-11 15:36:21 +0200 (Tue, 11 Aug 2026)
Revision:19613
Build-Date:2026-08-12 01:30:51
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19613 sv) Linux Ubuntu 22.04.5 LTS
Memory Usage: 2204 MB / 3916 MB (872 MB allocated, but free)
Java version: 25.0.4.1+1-1-22.04.4-Ubuntu, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920x1080x[Multi depth]@60Hz (scaling 1.00×1.00) :0.1 1920x1080x[Multi depth]@60Hz (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: sv_SE.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: sv_SE
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: KDE
Java package: openjdk-25-jre:amd64-25.0.4.1+1-1~22.04.4
Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-5build1
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:-
Dataset consistency test: No problems found

Plugins:
+ DirectDownload (36503)
+ DirectUpload (36503)
+ FastDraw (36503)
+ ImportImagePlugin (36503)
+ Mapillary (1822)
+ PicLayer (275)
+ RelationDissolve (0.2.0)
+ SimplifyArea (36503)
+ alignways (36493)
+ apache-commons (36483)
+ buildings_tools (36503)
+ changeset-viewer (61)
+ contourmerge (v0.2.3)
+ dataimport (36483)
+ ejml (36483)
+ ext_tools (36503)
+ geotools (36483)
+ imagery_offset_db (36503)
+ jackson (36502)
+ jaxb (36483)
+ jts (36483)
+ log4j (36483)
+ markseen (184)
+ measurement (36503)
+ merge-overlap (36483)
+ o5m (36493)
+ opendata (36503)
+ poly (36483)
+ reltoolbox (36493)
+ reverter (36503)
+ shrinkwrap (v1.1.3)
+ utilsplugin2 (36503)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Fahrradverleih&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/BicycleJunction&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Historic_Stone&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/MastAndTower&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/SE.zip

Validator rules:
+ https://raw.githubusercontent.com/stefan-a-bauer/josm-validators/master/mtb.validator.mapcss
+ https://raw.githubusercontent.com/zetx16/Josm-HnumbValidator/master/ru-housenumber.validator.mapcss

Last errors/warnings:
- 00016.837 E: Misslyckades att hitta bild "Flag, Blue"
- 00016.838 E: Misslyckades att hitta bild "Flag, Blue"
- 00016.839 E: Misslyckades att hitta bild "Flag, Blue"
- 00016.839 E: Misslyckades att hitta bild "Flag, Blue"
- 00981.041 E: Misslyckades att hitta bild "https://kelkkareitit.fi/img/favicon.png"
- 04420.454 W: java.net.SocketException: Socket closed. Anledning: java.net.SocketException: Socket closed
- 04437.625 E: org.openstreetmap.josm.io.OsmTransferCanceledException: Operation canceled
- 04437.629 E: Handled by bug report queue: org.openstreetmap.josm.io.OsmTransferCanceledException: Operation canceled



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (40) of main
org.openstreetmap.josm.io.OsmTransferCanceledException: Operation canceled
	at org.openstreetmap.josm.io.OsmApi.sleepAndListen(OsmApi.java:634)
	at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:798)
	at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:737)
	at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:732)
	at org.openstreetmap.josm.io.OsmApi.sendPutRequest(OsmApi.java:727)
	at org.openstreetmap.josm.io.OsmApi.closeChangeset(OsmApi.java:549)
	at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.closeChangeset(UploadPrimitivesTask.java:343)
	at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.closeChangesetIfRequired(UploadPrimitivesTask.java:356)
	at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:319)
	at org.openstreetmap.josm.gui.io.AsynchronousUploadPrimitivesTask.realRun(AsynchronousUploadPrimitivesTask.java:129)
	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.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
	at java.base/java.lang.Thread.run(Thread.java:1474)

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to grigory.rechistov@….
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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