Opened 2 years ago
Last modified 2 years ago
#22376 new defect
PC crashed and lost all my preferences
Reported by: | sharcrash | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report preferences backup | Cc: |
Description
What steps will reproduce the problem?
- I was editing in JOSM and it just crashed, don't know why...
- The only instability i noticed since several versions ago is that parts of the interface disappear or get mixed up. In order to get them back i have to switch to another app and come back (like going to desktop and back) or pass my mouse pointer on the interface. This happens often and doesn't make me crash each time.
- I'm not sure but it seemed that this happens when i try to check the historic of elements.
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
I lost all my preferences, loads of presets, the map paint style, imagery sources, plugins , etc... I really need all that back. When i launched JOSM after the crash, the backup file only brought the default preferences not "my backup"... or is the default the backup?
Revision:18543 Build-Date:2022-08-30 13:34:09 Identification: JOSM/1.5 (18543 en) Windows 7 64-Bit OS Build number: Windows 7 Professional (7601) Memory Usage: 162 MB / 4092 MB (42 MB allocated, but free) Java version: 17.0.4+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1280×1024 (scaling 1.00×1.00) \Display1 1280×1024 (scaling 1.00×1.00) Maximum Screen Size: 1280×1024 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: Cp1252 System property sun.jnu.encoding: Cp1252 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=1.5.18543, --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=C:\Program Files (x86)\JOSM\josm.exe] Last errors/warnings: - 00000.584 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 00000.585 W: extended font config - overriding 'filename.Kalinga=kalinga.ttf' with 'KALINGA.TTF' - 00000.585 W: extended font config - overriding 'filename.Iskoola_Pota=iskpota.ttf' with 'ISKPOTA.TTF' - 00000.585 W: extended font config - overriding 'filename.Shruti=shruti.ttf' with 'SHRUTI.TTF' - 00000.586 W: extended font config - overriding 'filename.Raavi=raavi.ttf' with 'RAAVI.TTF' - 00000.586 W: extended font config - overriding 'filename.Gautami=gautami.ttf' with 'GAUTAMI.TTF' - 00000.587 W: extended font config - overriding 'filename.Vrinda=vrinda.ttf' with 'VRINDA.TTF' - 00000.587 W: extended font config - overriding 'filename.Kartika=kartika.ttf' with 'KARTIKA.TTF' - 00000.588 W: extended font config - overriding 'filename.Latha=latha.ttf' with 'LATHA.TTF' - 00002.321 E: java.security.KeyStoreException: Windows-ROOT not found. Cause: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available
Attachments (1)
Change History (9)
by , 2 years ago
comment:1 by , 2 years ago
comment:2 by , 2 years ago
Can someone help me in trying to repair my preferences, please? There is so much i had changed, it would take me so much time to get back all my resources, changes, presets, shortcut changes...
comment:3 by , 2 years ago
Keywords: | preferences backup added |
---|
Please, be careful with publishing preferences.xml
as it includes private data including your OSM credentials or an OAuth token.
Anyway, your attached file seems to be corrupt, therefore your preferences were not restored, see #18462 and #18569. #20672 suggests a backup rotation but it is not implemented, yet. So I fear we cannot help you and you need to rely on your own backup strategy.
follow-up: 5 comment:4 by , 2 years ago
OK for the lost preferences and no backup strategy, real bummer... Thanks for the attempt and the warning! I had thought all the security credentials were separate from software preferences. Can you then delete that file from public, please, in case there is a wizard wandering?
comment:5 by , 2 years ago
Replying to sharcrash:
Can you then delete that file from public, please, in case there is a wizard wandering?
Done.
follow-up: 8 comment:6 by , 2 years ago
Thank you very much! About the interface disappearing, I will further try to pay attention what triggers it but pretty sure it is linked to contacting the server and trying to get data whether it's just historic information or map data.
comment:8 by , 2 years ago
Your plugins and the external presets/rules/styles should be in the cache folder though it might contain even previously uninstalled files. See Help/Preferences for the location of the folder.
Replying to sharcrash:
About the interface disappearing, I will further try to pay attention what triggers it but pretty sure it is linked to contacting the server and trying to get data whether it's just historic information or map data.
These artifacts look like a missing java option. Please have a look at #22202 and #21762. Especially comment 4 on #22202 or stoecker's comment 12 on #21762 might be helpful.
Inside "Roaming/JOSM" folder I have: