[WARNING]
java.lang.ExceptionInInitializerError
at org.kopi.ebics.xml.KeyManagementResponseElement.build (KeyManagementResponseElement.java:79)
at org.kopi.ebics.client.KeyManagement.sendINI (KeyManagement.java:87)
at org.kopi.ebics.client.EbicsClient.sendINIRequest (EbicsClient.java:288)
at org.kopi.ebics.client.EbicsClient.main (EbicsClient.java:634)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
at java.lang.Thread.run (Thread.java:748)
Caused by: java.lang.NullPointerException
at org.kopi.ebics.exception.ReturnCode.create (ReturnCode.java:193)
at org.kopi.ebics.exception.ReturnCode. (ReturnCode.java:162)
at org.kopi.ebics.xml.KeyManagementResponseElement.build (KeyManagementResponseElement.java:79)
at org.kopi.ebics.client.KeyManagement.sendINI (KeyManagement.java:87)
at org.kopi.ebics.client.EbicsClient.sendINIRequest (EbicsClient.java:288)
at org.kopi.ebics.client.EbicsClient.main (EbicsClient.java:634)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
at java.lang.Thread.run (Thread.java:748)
Hello, many thanks for sharing this framework .
I was trying to get a connection and stumbled across an issue while sending the INI request as per the HOW-TO. after debugging it seems that the following line https://github.com/uwemaurer/ebics-java-client/blob/ee19d758a9ad3ecdd7f0b7cebcdf5bd4c822e0a4/src/main/java/org/kopi/ebics/exception/ReturnCode.java#L189 is causing the issue. The issue is with this code
messages.getString(code)
, without it the initialisation process completed successfully.Below the error msg
[WARNING] java.lang.ExceptionInInitializerError at org.kopi.ebics.xml.KeyManagementResponseElement.build (KeyManagementResponseElement.java:79) at org.kopi.ebics.client.KeyManagement.sendINI (KeyManagement.java:87) at org.kopi.ebics.client.EbicsClient.sendINIRequest (EbicsClient.java:288) at org.kopi.ebics.client.EbicsClient.main (EbicsClient.java:634) at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254) at java.lang.Thread.run (Thread.java:748) Caused by: java.lang.NullPointerException at org.kopi.ebics.exception.ReturnCode.create (ReturnCode.java:193) at org.kopi.ebics.exception.ReturnCode. (ReturnCode.java:162)
at org.kopi.ebics.xml.KeyManagementResponseElement.build (KeyManagementResponseElement.java:79)
at org.kopi.ebics.client.KeyManagement.sendINI (KeyManagement.java:87)
at org.kopi.ebics.client.EbicsClient.sendINIRequest (EbicsClient.java:288)
at org.kopi.ebics.client.EbicsClient.main (EbicsClient.java:634)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
at java.lang.Thread.run (Thread.java:748)