Opened 9 years ago

Last modified 9 years ago

#14301 closed defect

JOSM freeze / opensuse 14.2 / NegativeArraySizeException at sun.security.ec.ECKeyPairGenerator.generateECKeyPair — at Version 1

Reported by: jca@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report https ssl javabug nss linux fedora Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Exe the program

What is the expected result?

Program running

What happens instead?

Program freezez

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

jca@opensuse-142:/usr/share/java> java -jar josm-tested.jar
2017-01-27 17:36:17.407 INFO: Log niveau er på INFO (INFO, 800)
2017-01-27 17:36:18.796 INFO: GET https://josm.openstreetmap.de/wiki/Da:StartupPage -> !!!
2017-01-27 17:36:18.797 WARNING: javax.net.ssl.SSLException: java.security.ProviderException: java.lang.NegativeArraySizeException. Årsag: java.security.ProviderException: java.lang.NegativeArraySizeException. Årsag: java.lang.NegativeArraySizeException
javax.net.ssl.SSLException: java.security.ProviderException: java.lang.NegativeArraySizeException
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
        at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1906)
        at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1889)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1410)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
        at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:124)
        at org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:74)
        at org.openstreetmap.josm.tools.WikiReader.readLang(WikiReader.java:100)
        at org.openstreetmap.josm.tools.WikiReader.readLang(WikiReader.java:75)
        at org.openstreetmap.josm.gui.GettingStarted$MotdContent.updateData(GettingStarted.java:88)
        at org.openstreetmap.josm.io.CacheCustomContent.updateForce(CacheCustomContent.java:137)
        at org.openstreetmap.josm.io.CacheCustomContent.updateForceString(CacheCustomContent.java:149)
        at org.openstreetmap.josm.io.CacheCustomContent.updateIfRequiredString(CacheCustomContent.java:127)
        at org.openstreetmap.josm.gui.GettingStarted.lambda$getMOTD$1(GettingStarted.java:143)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.security.ProviderException: java.lang.NegativeArraySizeException
        at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:147)
        at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:703)
        at sun.security.ssl.ECDHCrypt.<init>(ECDHCrypt.java:77)
        at sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:721)
        at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:281)
        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
        at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
        ... 14 more
Caused by: java.lang.NegativeArraySizeException
        at sun.security.ec.ECKeyPairGenerator.generateECKeyPair(Native Method)
        at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:128)
        ... 23 more

Change History (4)

by jca@…, 9 years ago

Attachment: out.txt added

output from console

by jca@…, 9 years ago

Attachment: Screenshot_27.01.2017.png added

screenshot

by jca@…, 9 years ago

Attachment: Screenshot_27.01.2017-1.png added

screenshot

comment:1 by Don-vip, 9 years ago

Description: modified (diff)
Keywords: https ssl javabug added
Summary: JOSM freeze when executed on opensuse 14.2JOSM freeze / opensuse 14.2 / NegativeArraySizeException at sun.security.ec.ECKeyPairGenerator.generateECKeyPair
Note: See TracTickets for help on using tickets.