-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.5.2
-
Component/s: AI Nuxeo Services
1) After running some unit tests in ai core using the nuxeo java client, an error occurs systematically:
Caused by: java.lang.NoClassDefFoundError: okhttp3/internal/Version at org.nuxeo.client.NuxeoClient.computeUserAgent(NuxeoClient.java:119) ~[nuxeo-java-client-3.5.0.jar:3.5.0] at org.nuxeo.client.NuxeoClient.<init>(NuxeoClient.java:98) ~[nuxeo-java-client-3.5.0.jar:3.5.0] at org.nuxeo.client.NuxeoClient$Builder.connect(NuxeoClient.java:490) ~[nuxeo-java-client-3.5.0.jar:3.5.0] at org.nuxeo.ai.sdk.rest.client.InsightClient.connect(InsightClient.java:119) ~[insight-rest-client-1.2.1.jar:?] at org.nuxeo.ai.cloud.NuxeoCloudClient.configureClient(NuxeoCloudClient.java:199) ~[nuxeo-ai-model-3.5.1-SNAPSHOT.jar:?] at org.nuxeo.ai.cloud.NuxeoCloudClient.lambda$getClient$0(NuxeoCloudClient.java:223) ~[nuxeo-ai-model-3.5.1-SNAPSHOT.jar:?] at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4868) ~[guava-31.1-jre.jar:?] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3533) ~[guava-31.1-jre.jar:?] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2282) ~[guava-31.1-jre.jar:?]
By upgrading to the 3.13.0 version, it is fixed:
- Update in nuxeo-ai dependencies
- Update in nuxeo-insight-client dependencies
2) There are also lots of alignment to do on the LTS to make tests pass.