Open cyrilfr opened 2 years ago
It seems that the server returns an error code 091115
. It's not clear in the Exception output. It means that the orderId created has already been used before.
In fact, if the orderId is not sent (which is the case for DownloadInitializationRequestElement.java
if request type is not FDL line 132):
//FIXME Some banks cannot handle OrderID element in download process. Add parameter in configuration!!!
orderDetails = EbicsXmlFactory.createStaticHeaderOrderDetailsType(null,//session.getUser().getPartner().nextOrderId(),
OrderAttributeType.DZHNN,
orderType,
standardOrderParamsType);
Thus, the client is not synchronized, leading in this situation... I perform the request to Credit Suisse.
Any fix for this issue? This makes the EBICS Java Client unusable basically...
Here is the exception in command line mode for a HPB request:
java.lang.ExceptionInInitializerError
at org.kopi.ebics.xml.KeyManagementResponseElement.build (KeyManagementResponseElement.java:75)
at org.kopi.ebics.client.KeyManagement.sendHPB (KeyManagement.java:145)
at org.kopi.ebics.client.EbicsClient.sendHPBRequest (EbicsClient.java:353)
at org.kopi.ebics.client.EbicsClient.main (EbicsClient.java:650)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
at java.lang.Thread.run (Thread.java:829)
Caused by: java.lang.RuntimeException: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key 091115
at org.kopi.ebics.messages.Messages.getString (Messages.java:71)
at org.kopi.ebics.exception.ReturnCode.create (ReturnCode.java:193)
at org.kopi.ebics.exception.ReturnCode.<clinit> (ReturnCode.java:186)
at org.kopi.ebics.xml.KeyManagementResponseElement.build (KeyManagementResponseElement.java:75)
at org.kopi.ebics.client.KeyManagement.sendHPB (KeyManagement.java:145)
at org.kopi.ebics.client.EbicsClient.sendHPBRequest (EbicsClient.java:353)
at org.kopi.ebics.client.EbicsClient.main (EbicsClient.java:650)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
at java.lang.Thread.run (Thread.java:829)
Caused by: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key 091115
at java.util.ResourceBundle.getObject (ResourceBundle.java:564)
at java.util.ResourceBundle.getString (ResourceBundle.java:521)
at org.kopi.ebics.messages.Messages.getString (Messages.java:69)
at org.kopi.ebics.exception.ReturnCode.create (ReturnCode.java:193)
at org.kopi.ebics.exception.ReturnCode.<clinit> (ReturnCode.java:186)
at org.kopi.ebics.xml.KeyManagementResponseElement.build (KeyManagementResponseElement.java:75)
at org.kopi.ebics.client.KeyManagement.sendHPB (KeyManagement.java:145)
at org.kopi.ebics.client.EbicsClient.sendHPBRequest (EbicsClient.java:353)
at org.kopi.ebics.client.EbicsClient.main (EbicsClient.java:650)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
at java.lang.Thread.run (Thread.java:829)
An exception is thrown when I try to fetch files:
I'm using the JitPack maven with the last build. It used to work with commit https://github.com/ebics-java/ebics-java-client/commit/41fbb381559ea2bab0a60d0e23aa06eb4997d59c