Modify

#23796 closed defect (worksforme)

JOSM crashes when I open Preferences

Reported by: Discostu36 Owned by: Discostu36
Priority: normal Milestone:
Component: Core Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open JOSM
  2. Open Preferences

What is the expected result?

Preferences Window opens

What happens instead?

It does not open. I can't click anywhere, it always goes "bing". I have to kill the progam with task manager.

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

I run JOSM with OpenWebStart

Errors by DebugView:

[19160] [react-native-xaml] Unhandled call to RemoveAllChildren with parent: 
[19160] Windows.UI.Xaml.Controls.TextBlock
[19160] 
[19160] [react-native-xaml] Unhandled call to RemoveAllChildren with parent: 
[19160] Windows.UI.Xaml.Controls.FontIcon
[19160] 
[19160] [react-native-xaml] Unhandled call to RemoveAllChildren with parent: 
[19160] Windows.UI.Xaml.Controls.MenuFlyoutItem
[19160] 
[19160] [react-native-xaml] Unhandled call to RemoveAllChildren with parent: 
[19160] Windows.UI.Xaml.Controls.MenuFlyoutSeparator
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2024-07-02 17:10:50 +0200 (Tue, 02 Jul 2024)
Revision:19128
Build-Date:2024-07-03 01:31:15
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19128 de) Windows 11 64-Bit
OS Build number: Windows 10 Home 23H2 (22631)
Memory Usage: 420 MB / 3904 MB (228 MB allocated, but free)
Java version: 21.0.3+9-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920x1080x32bpp@60Hz (scaling 1.25×1.25) \Display1 3840x2160x32bpp@29Hz (scaling 2.00×2.00)
Maximum Screen Size: 3840×2160
Best cursor sizes: 16×16→64×64, 32×32→64×64
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: de_DE
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Dicedtea-web.bin.location=%UserProfile%\AppData\Local\Programs\OpenWebStart\javaws, -Djava.util.Arrays.useLegacyMergeSort=true, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, --add-exports=jdk.deploy/com.sun.deploy.config=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, -Djava.security.manager=allow]

Plugins:
+ ColorPlugin (v1.1.2.1)
+ Mapillary (1767)
+ OpeningHoursEditor (36258)
+ Review.Changes (1.1.1)
+ RoadSigns (36258)
+ apache-commons (36273)
+ buildings_tools (36226)
+ continuosDownload (103)
+ imagery_offset_db (36289)
+ intersection (0.0.7)
+ josm_magic_wand (2.0.3)
+ mapwithai (829)
+ measurement (36256)
+ merge-overlap (36178)
+ pmtiles (36219)
+ reverter (36256)
+ tageditor (36258)
+ todo (137)
+ turnlanes-tagging (0.0.5)
+ turnrestrictions (36226)
+ utilsplugin2 (36241)
+ wikipedia (605)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&zip=1

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksAndFootways&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Direction&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Last errors/warnings:
- 00000.454 W: extended font config - overriding 'filename.Malgun_Gothic=malgun.ttf' with 'MALGUN.TTF'
- 00000.456 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.458 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00002.792 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl
- 00003.135 W: Unable to request certificate of https://roottest-g3.pkioverheid.nl

Attachments (1)

josm-log.txt (17.7 KB ) - added by Discostu36 10 months ago.
staus report

Download all attachments as: .zip

Change History (9)

comment:1 by Discostu36, 10 months ago

Version: latesttested

comment:2 by Discostu36, 10 months ago

I renamed preferences.xml, now it works.

comment:3 by taylor.smock, 10 months ago

I'd love to ask you to upload preferences.xml, but it may contain sensitive data like your OSM password or OSM OAuth 2 token. PLEASE DO NOT UPLOAD IT!

Last edited 10 months ago by taylor.smock (previous) (diff)

comment:4 by taylor.smock, 10 months ago

If I had to make a guess, the window geometry is borked.
In the old preferences.xml file, what is the value of org.openstreetmap.josm.gui.preferences.PreferenceDialog.geometry? What happens if you delete that entry?

comment:5 by taylor.smock, 10 months ago

Owner: changed from team to Discostu36
Status: newneedinfo

by Discostu36, 10 months ago

Attachment: josm-log.txt added

staus report

comment:6 by Discostu36, 10 months ago

<tag key='org.openstreetmap.josm.gui.preferences.PreferenceDialog.geometry' value='x=-3231,y=-1404,width=800,height=800'/> 

I can check tomorrow what happens when I delete it.

comment:7 by Discostu36, 10 months ago

Yes, deleting that line has fixed the problem, thank you.

I guess this has to do with my monitor setup having changed between starts. This should not lead to this situation. I don't know enough about desktop apps or Java to know what is possible, but maybe JOSM could save the display configuration and reset the window positions when it has been changed. Or somehow make sure that all windows are always visible on a monitor and not outside the visible area.

comment:8 by stoecker, 10 months ago

Resolution: worksforme
Status: needinfoclosed

The window was opened, but you haven't seen it.

There are some tutorials how to get such windows back into the visible area: https://www.wikihow.com/Bring-an-Off-Screen-Window-Back-on-Windows

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Discostu36.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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