This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/trunk by this push:
new fc54672 Improved: Update build.gradle to the latest dependencies
fc54672 is described below
commit fc546722b8b7cf3596545fe72287e6a49e6a55c3
Author: Jacques Le Roux <
[hidden email]>
AuthorDate: Tue Apr 21 12:36:38 2020 +0200
Improved: Update build.gradle to the latest dependencies
(OFBIZ-11603)
Reverts to shiro-core:1.4.1, got this issue in loadAll:
Exception in thread "main" org.apache.shiro.crypto.CryptoException:
Unable to execute 'doFinal' with cipher instance [javax.crypto.Cipher@44a98a23].
[...]
at org.apache.ofbiz.entity.datasource.GenericDAO.insert(GenericDAO.java:110)
[...]
Caused by:
javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes
at com.sun.crypto.provider.CipherCore.finalNoPadding(CipherCore.java:1109)
at com.sun.crypto.provider.CipherCore.fillOutputBuffer(CipherCore.java:1053)
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:853)
at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446)
at javax.crypto.Cipher.doFinal(Cipher.java:2164)
at org.apache.shiro.crypto.JcaCipherService.crypt(JcaCipherService.java:459)
---
build.gradle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.gradle b/build.gradle
index 8112d34..1f26c68 100644
--- a/build.gradle
+++ b/build.gradle
@@ -178,7 +178,7 @@ dependencies {
implementation 'org.apache.httpcomponents:httpclient-cache:4.5.12'
implementation 'org.apache.logging.log4j:log4j-api:2.13.1' // the API of log4j 2
implementation 'org.apache.poi:poi:4.1.2'
- implementation 'org.apache.shiro:shiro-core:1.5.2'
+ implementation 'org.apache.shiro:shiro-core:1.4.1' // So far we did not update from 1.4.1 because of a compile issue. You may try w/ a newer version than 1.5.2
implementation 'org.apache.sshd:sshd-core:1.7.0' // So far we did not update from 1.7.0 because of a compile issue. You may try w/ a newer version than 2.4.0
implementation 'org.apache.tika:tika-parsers:1.24'
implementation 'org.apache.tomcat:tomcat-catalina-ha:9.0.34' // Remember to change the version number in javadoc block