Opened 6 years ago

Last modified 5 years ago

#18462 closed defect

JOSM doesn't use preferences.xml_backup — at Initial Version

Reported by: GerdP Owned by: team
Priority: normal Milestone: 20.05
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Stop JOSM
  2. Edit preferences.xml and remove all but the first 4 lines to simulate a previous crash of JOSM
  3. Start JOSM

What is the expected result?

JOSM detects invalid preferences.xml and valid preferences.xml_backup and uses the backup.

What happens instead?

Popup saying that the preferences.xml was bad and that a new file is created with defaults.

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

See german forum https://forum.openstreetmap.org/viewtopic.php?id=68309

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-12-01 23:10:15 +0100 (Sun, 01 Dec 2019)
Build-Date:2019-12-02 02:30:57
Revision:15553
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15553 de) Windows 10 64-Bit
OS Build number: Windows 10 Home 1903 (18362)
Memory Usage: 674 MB / 4551 MB (145 MB allocated, but free)
Java version: 1.8.0_221-b11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080

Last errors/warnings:
- E: org.xml.sax.SAXParseException: XML-Dokumentstrukturen müssen innerhalb derselben Entity beginnen und enden.
- W: No configuration settings found.  Using hardcoded default values for all pools.

Change History (1)

by GerdP, 6 years ago

Attachment: bak.png added

popup

Note: See TracTickets for help on using tickets.