Modify

Opened 17 months ago

Last modified 17 months ago

#23034 new defect

Application freeze and fail to open image

Reported by: troels@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

I clicked on an image icon in the map (part of an opened GPS trace), and all of JOSM froze for a while. Then a dialog appeared reporting that I'd hit a bug in JOSM and writing a long stack trace, etc (attached in josm-error-data.txt).

Meanwhile, an error message was shown inline in JOSM's main map window:

IO Exception: file: /home/troels/nobackup/osm/2023-06-29_17-26-48.jpg
/home/troels/nobackup/osm/2023-06-29_17-26-48.jpg

The file path does not exist on the file system.

Afterwards, JOSM could be used again, but trying to open the same image would again temporarily bring JOSM into the bad state. Other images could be opened without errors.

Trying to report the bug via JOSM failed, so here's a bug report opened via the josm.openstreetmap.org web-interface.

JOSM version: 18746.

I'm attaching the related GPX file.

Attachments (2)

josm-error-data.txt (150.0 KB ) - added by troels@… 17 months ago.
Copy-paste of stack trace etc displayed by JOSM error dialog
2023-06-29_17-26-28.gpx (38.0 KB ) - added by troels@… 17 months ago.
GPX file containing reference to the non-existing file, causing JOSM to partly fail

Download all attachments as: .zip

Change History (3)

by troels@…, 17 months ago

Attachment: josm-error-data.txt added

Copy-paste of stack trace etc displayed by JOSM error dialog

by troels@…, 17 months ago

Attachment: 2023-06-29_17-26-28.gpx added

GPX file containing reference to the non-existing file, causing JOSM to partly fail

comment:1 by troels@…, 17 months ago

I suggest JOSM be equipped with a more graceful logic for handling files which are seen in the GPX file but which are not available on the file system as suggested by the GPX.

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 troels@….
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.