#22406 closed defect (duplicate)
Starting screen stops and shows error screen
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2022-08-29 16:59:00 +0200 (Mon, 29 Aug 2022) Revision:18543 Build-Date:2022-08-30 01:30:57 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18543 nl) Windows 11 64-Bit OS Build number: Windows 10 Home 2009 (22000) Memory Usage: 77 MB / 2018 MB (38 MB allocated, but free) Java version: 17.0.2+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1080 (scaling 1.25×1.25) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: Cp1252 System property sun.jnu.encoding: Cp1252 Locale info: nl_BE Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=1.5.18427, --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] Plugins: + comfort0 + shrinkwrap + utilsplugin2 Tagging presets: + https://l.facebook.com/l.php?u=https%3A%2F%2Fapi.mapbox.com%2Fstyles%2Fv1%2Fjoostschouppe%2Fcir5a9eob0020ccm0gc0xsqd0%2Ftiles%2F256%2F%257Bz%257D%2F%257Bx%257D%2F%257By%257D%3Faccess_token%3Dpk.eyJ1Ijoiam9vc3RzY2hvdXBwZSIsImEiOiJjaWh2djF1c2owMmJrdDNtMWV2c2Rld3QwIn0.9zXJJWZ4rOcspyFIdEC3Rw%26fbclid%3DIwAR2-uQrX6TF9lsXsvGXUDGPQAdHY6NJSOo-Ie-rYkcEs9QHNFp6hFl9x-dg&h=AT1TZJJmWw9MgB6S1XHaix1HtDSJ8982YqJ8zfgJbu0rvIs80lFwiBoI6Iddqk_Qgy8NXmlDQRZOxykDMCMPF08tUxDbRNADsFNHhLV-sMcrmxe_APEwYhzPB0mGKZBQ7kGoJJCPJ1E7Jzs6Ps_yjw Map paint styles: + https://framagit.org/Midgard/osm/raw/master/josm_style_grb.mapcss - https://raw.githubusercontent.com/gplv2/grb-mapcss/master/grb_buildings.css Last errors/warnings: - 00001.390 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00001.395 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 00002.155 E: Exception raised in EDT: java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError. Oorzaak: java.lang.ExceptionInInitializerError. Oorzaak: java.lang.NullPointerException: Cannot invoke "javax.swing.JComponent.getInputMap(int)" because "org.openstreetmap.josm.gui.MainApplication.contentPanePrivate" is null - 00005.078 E: java.security.KeyStoreException: Windows-ROOT not found. Oorzaak: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available - 00007.500 E: Handled by bug report queue: java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.actions.SessionSaveAction === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: main (1) java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.actions.SessionSaveAction at org.openstreetmap.josm.gui.MainMenu.<init>(MainMenu.java:181) at org.openstreetmap.josm.gui.MainFrame.initialize(MainFrame.java:93) at org.openstreetmap.josm.gui.MainApplication.initializeMainWindow(MainApplication.java:415) at org.openstreetmap.josm.spi.lifecycle.InitializationTask.call(InitializationTask.java:33) at org.openstreetmap.josm.spi.lifecycle.Lifecycle.runInitializationTasks(Lifecycle.java:103) at org.openstreetmap.josm.spi.lifecycle.Lifecycle.initialize(Lifecycle.java:71) at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:953) at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:277) at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:741)
Attachments (0)
Change History (2)
comment:1 by , 3 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
comment:2 by , 3 years ago
In 18570/josm:
Fix #22183: NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.actions.SessionSaveAction
This was caused by JOSM detecting that it had started in IPv6 mode, but no IPv6
network was available. When this occurs, JOSM immediately sets a preference key
and restarts so that users are not confused about a lack of network connectivity.
The JOSM restart action then proceeds to attempt to save any active layers, but
since this occurs during startup, there are no active layers and the save actions
have not yet been initialized. The save actions cannot be initialized before
contentPanePrivate has been initialized, but the IPv6 call is done prior to
that happening, which may then trigger a JOSM restart, which calls exitJosm,
which then calls the save layers actions.



Closed as duplicate of #22183.
@gilles: If this is something that happens for you reliably, can you please install the current testing version ( https://github.com/JOSM/josm/releases/download/18562/JOSM-Windows-java17-18562.exe )?
It has some additions that will hopefully let me fix this issue.