Bitte wähle nachfolgend aus, welche Beiträge auf dieser Themenseite auf dem Ausdruck ausgegeben werden sollen. Um dies zu tun markiere bitte die Checkbox auf der linken Seite der Posts, die im Ausdruck berücksichtigt werden sollen und klicke anschließend ganz unten auf der Seite auf den Button "Drucken".

java.lang.NegativeArraySizeException

harald_u

Betreff:

java.lang.NegativeArraySizeException

 ·  Gepostet: 26.01.2017 - 18:56 Uhr  ·  #131261
Fedora 25 (64-bit)
openjdk version "1.8.0_111"
Jameica Version 2.6.4
Hibiscus Version 2.6.19

Am Dienstag ging es noch, seit Mittwoch bricht es mit diesem Fehler ab:

Code
[Thu Jan 26 18:50:31 CET 2017][ERROR][de.willuhn.jameica.hbci.HBCICallbackSWT.log] org.kapott.hbci.exceptions.HBCI_Exception: Fehler beim Senden der HBCI-Nachricht zum Server
  at org.kapott.hbci.comm.CommPinTan.ping(CommPinTan.java:157)
  at org.kapott.hbci.comm.Comm.pingpong(Comm.java:72)
  at org.kapott.hbci.manager.HBCIKernelImpl.rawDoIt(HBCIKernelImpl.java:352)
  at org.kapott.hbci.manager.HBCIKernelImpl.rawDoIt(HBCIKernelImpl.java:178)
  at org.kapott.hbci.manager.HBCIDialog.doDialogInit(HBCIDialog.java:149)
  at org.kapott.hbci.manager.HBCIDialog.doIt(HBCIDialog.java:402)
  at org.kapott.hbci.manager.HBCIHandler.execute(HBCIHandler.java:515)
  at org.kapott.hbci.manager.HBCIHandler.updateMetaInfo(HBCIHandler.java:188)
  at org.kapott.hbci.manager.HBCIHandler.<init>(HBCIHandler.java:151)
  at de.willuhn.jameica.hbci.passports.pintan.server.PassportHandleImpl.open(PassportHandleImpl.java:175)
  at de.willuhn.jameica.hbci.synchronize.hbci.HBCISynchronizeBackend$HBCIJobGroup$TaskHandleOpen.internalExecute(HBCISynchronizeBackend.java:534)
  at de.willuhn.jameica.hbci.synchronize.hbci.HBCISynchronizeBackend$HBCIJobGroup$TaskHandleOpen.internalExecute(HBCISynchronizeBackend.java:506)
  at de.willuhn.jameica.hbci.synchronize.hbci.HBCISynchronizeBackend$HBCIJobGroup$AbstractTaskWrapper.run(HBCISynchronizeBackend.java:643)
  at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
  at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
  at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
  at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
  at de.willuhn.jameica.gui.GUI.loop(GUI.java:913)
  at de.willuhn.jameica.gui.GUI.init(GUI.java:324)
  at de.willuhn.jameica.system.Application.init(Application.java:148)
  at de.willuhn.jameica.system.Application.newInstance(Application.java:90)
  at de.willuhn.jameica.Main.main(Main.java:78)
Caused by: 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.kapott.hbci.comm.CommPinTan.ping(CommPinTan.java:147)
  ... 21 more
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)
  ... 26 more
Caused by: java.lang.NegativeArraySizeException
  at sun.security.ec.ECKeyPairGenerator.generateECKeyPair(Native Method)
  at sun.security.ec.ECKeyPairGenerator.generateKeyPair(ECKeyPairGenerator.java:128)
  ... 35 more org.kapott.hbci.manager.HBCIUtils.log(HBCIUtils.java:1230)
[Thu Jan 26 18:50:31 CET 2017][ERROR][de.willuhn.jameica.hbci.HBCICallbackSWT.log] error while fetching meta info: Dialog for 'XXXXXXXX':
DIALOG-INITIALISIERUNG:
java.security.ProviderException: java.lang.NegativeArraySizeException
DIALOG-ENDE:
(not status information available) org.kapott.hbci.manager.HBCIHandler.updateMetaInfo(HBCIHandler.java:197)


Laut meinem Fedora Update Protokoll habe ich zwischen der letzten Benutzung von Hibiscus am Dienstag (die noch funktioniert hat) und am Mittwoch einige Linux-Paketupdates eingespielt, u.a. einen neuen Kernel. Habs inzwischen aber auch mit dem alten Kernel probiert, selbes Problem.

fonk

Betreff:

Re: java.lang.NegativeArraySizeException

 ·  Gepostet: 26.01.2017 - 19:42 Uhr  ·  #131262
Hallo!

Ich hab das gleiche Problem - ebenfalls Fedora:
Code
[fonk@localhost ~]$ cat /etc/redhat-release 
Fedora release 25 (Twenty Five)

[fonk@localhost ~]$ java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b16)
OpenJDK 64-Bit Server VM (build 25.111-b16, mixed mode)

harald_u

Betreff:

Gefixt

 ·  Gepostet: 29.01.2017 - 09:43 Uhr  ·  #131291
Heute morgen kam ein Java-Update (java-1.8.0-openjdk.x86_64 1:1.8.0.121-1.b14.fc25) und damit funktioniert Hibiscus wieder.

Zwischen letzten Dienstag (wo es noch funktionierte) und Mittwoch (wo es nicht mehr ging) wurden keine Java-Updates eingespielt.

karstendf

Betreff:

Re: java.lang.NegativeArraySizeException

 ·  Gepostet: 02.02.2017 - 10:23 Uhr  ·  #131387
hab' das gleiche Problem mit OpenSUSE Leap 42.2 - da ist ebenfalls gerade openjdk version 1.8.0_111 aktiv.
Also warte ich mal ein paar Tage, ob ein Update kommt..

Code
karsten@xyz:~> java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (IcedTea 3.2.0) (suse-3.1-x86_64)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)

leine

Betreff:

Re: java.lang.NegativeArraySizeException

 ·  Gepostet: 02.02.2017 - 20:33 Uhr  ·  #131406

hibiscus

Betreff:

Re: java.lang.NegativeArraySizeException

 ·  Gepostet: 03.02.2017 - 09:07 Uhr  ·  #131411
Danke für das Aufstöbern der Links. Die Bug-Reports scheinen sich tatsächlich genau auf dieses Problem zu beziehen.

karstendf

Betreff:

Re: java.lang.NegativeArraySizeException

 ·  Gepostet: 03.02.2017 - 09:19 Uhr  ·  #131412
.. gerade kam bei Leap 42.2 ein openjdk update auf version 1.8.0_121, und zumindest bei mir ist das Problem damit wieder gelöst :-)

Grüße -
Karsten