Modify

Opened 9 days ago

Closed 6 days ago

#19270 closed defect (othersoftware)

JOSM crashes at startup UnsatisfiedLinkError sun.security.mscapi.KeyStore.loadKeysOrCertificateChains

Reported by: warrel040@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-04-06 02:17:07 +0200 (Mon, 06 Apr 2020)
Build-Date:2020-04-06 00:18:43
Revision:16239
Relative:URL: ^/trunk

Identification: JOSM/1.5 (16239 de) Windows 10 64-Bit
OS Build number: Windows 10 Pro 1909 (18363)
Memory Usage: 309 MB / 1820 MB (274 MB allocated, but free)
Java version: 1.8.0_251-b08, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1280x1024
Maximum Screen Size: 1280x1024

Plugins:
+ HouseNumberTaggingTool
+ apache-commons
+ buildings_tools
+ continuosDownload
+ ejml
+ geotools
+ jaxb
+ jts
+ opendata
+ public_transport
+ reverter
+ turnlanes
+ turnrestrictions
+ undelete
+ utilsplugin2

Tagging presets:
+ D:\Sonstige Daten\Geocaching\OSM\Presets_Stolpersteine-preset.xml
+ D:\Sonstige Daten\Geocaching\OSM\Stadtradt.xml

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_features&zip=1

Last errors/warnings:
- E: Handled by bug report queue: java.lang.UnsatisfiedLinkError: sun.security.mscapi.KeyStore.loadKeysOrCertificateChains(Ljava/lang/String;)V
- E: Handled by bug report queue: java.lang.NullPointerException


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main (1)
java.lang.UnsatisfiedLinkError: sun.security.mscapi.KeyStore.loadKeysOrCertificateChains(Ljava/lang/String;)V
	at sun.security.mscapi.KeyStore.loadKeysOrCertificateChains(Native Method)
	at sun.security.mscapi.KeyStore.engineLoad(KeyStore.java:726)
	at sun.security.mscapi.KeyStore$ROOT.engineLoad(KeyStore.java:61)
	at java.security.KeyStore.load(Unknown Source)
	at org.openstreetmap.josm.tools.PlatformHookWindows.getRootKeystore(PlatformHookWindows.java:336)
	at org.openstreetmap.josm.tools.PlatformHookWindows.getX509Certificate(PlatformHookWindows.java:345)
	at org.openstreetmap.josm.io.CertificateAmendment.addMissingCertificates(CertificateAmendment.java:240)
	at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:837)
	at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:276)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:705)

=== RUNNING THREADS ===
Thread: main (1)
Stacktrace see above.

Thread: Finalizer (3) of system
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

Thread: Attach Listener (5) of system

Thread: Java2D Disposer (12) of system
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
sun.java2d.Disposer.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Thread: Signal Dispatcher (4) of system

Thread: Reference Handler (2) of system
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
java.lang.ref.Reference.tryHandlePending(Unknown Source)
java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)

Thread: AWT-Windows (15) of system
sun.awt.windows.WToolkit.eventLoop(Native Method)
sun.awt.windows.WToolkit.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Thread: AWT-Shutdown (14) of system
java.lang.Object.wait(Native Method)
sun.awt.AWTAutoShutdown.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (6)

comment:1 Changed 7 days ago by anonymous

Additional loggin information: "Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5"

comment:2 Changed 7 days ago by warrel040@…

shit - Pref was not the error responsible for the crash

comment:3 Changed 7 days ago by GerdP

Did you try to use ant clean dist ?

comment:4 in reply to:  3 Changed 7 days ago by anonymous

Replying to GerdP:

Did you try to use ant clean dist ?

I'm jusing josm-tested.jar as an user, not in development mode.

comment:5 Changed 7 days ago by Klumbumbus

(comment:1 seems not related. I get this error too in the console at every JOSM start.)

comment:6 Changed 6 days ago by warrel040@…

Resolution: othersoftware
Status: newclosed

In addition to my ticket I discovered, that this problem only exist when I use JRE 1.8.0_251. Using JOSM with JRE 1.8.0_191 doesn't produce the dump.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.