Opened 7 weeks ago
Last modified 7 weeks ago
#24154 new defect
JOSM Seems to Erreoneously Find Preference Files to Have Errors and does not Produce Preference File Backups
Reported by: | Gregory | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | Preferences, Launch, File, | Cc: |
Description
What steps will reproduce the problem?
- Change JOSM preferences from default
- wait...launch and exit JOSM a few times.
- The message is seen in a pop up before JOSM Launches.
I may have updated plugins as per JOSM recommendation in the session before this happened.
What is the expected result?
JOSM Launches without issue, if it cannot launch the preferences should be saved to a back up file.
What happens instead?
JOSM fails to launch initially then launches with default preferences after manual intervention. I could not find the preference file in the location stated in the pop-up message I could not even find the app data folder. I was unable to recover the preferences via loading preferences via the advanced preferences window (i.e. the preference backup wasn't there either).
Please provide any additional information below. Attach a screenshot if possible.
Revision:19277 Build-Date:2025-01-03 15:21:53 Identification: JOSM/1.5 (19277 en_GB) Windows 10 64-Bit OS Build number: Windows 10 Home 22H2 (19045) Memory Usage: 312 MB / 6080 MB (162 MB allocated, but free) Java version: 22.0.2+9, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel System property file.encoding: UTF-8 System property sun.jnu.encoding: Cp1252 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=1.5.19277, -XX:MaxRAMPercentage=75.0, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --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, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe] Last errors/warnings: - 00001.070 E: org.xml.sax.SAXParseException: Content is not allowed in prolog. - 09011.956 E: org.xml.sax.SAXParseException: Content is not allowed in prolog. - 09011.985 W: Failed to initialise preferences. Failed to reset preference file to default: <josm.pref>\preferences.xml - 09202.164 W: extended font config - overriding 'filename.Malgun_Gothic=malgun.ttf' with 'MALGUN.TTF' - 09202.165 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 09202.166 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 09221.086 E: java.security.KeyStoreException: Windows-ROOT not found. Cause: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available - 09264.033 E: Region [TMS_BLOCK_v2] : Problem loading keys (old style) for file TMS_BLOCK_v2
Attachments (1)
Change History (2)
by , 7 weeks ago
Attachment: | JOSM Preference Error Assets.zip added |
---|
I encountered this error on Jan 14th 2025 also.