EN :
Hello,
In my process, I am using CMIS (3.0.5) connectors to communicate with Alfresco. On my local environment, everything works very well.
On the other hand, on my development environment (Bonitasoft is hosted on Kubernetes), the error at the bottom of the page sometimes appears.
In this case, I have to relaunch the Bonita hosting pod on Kubernetes and everything works fine again. The error must come from the CMIS connector, but I don't know exactly.
Thanks in advance !
FR :
Bonjour,
Dans mon processus, j'utilise des connecteurs CMIS (3.0.5) pour communiquer avec Alfresco. En local, tout fonctionne très bien.
Par contre, sur mon envrionnement de développement (Bonitasoft est hébergé sur Kubernetes), l'erreur en bas de page apparait parfois.
Dans ce cas, je suis obligé de relancer le pods hébérgeant Bonita sur Kubernetes, et tout refonctionne très bien. L'erreur doit venir du connecteur CMIS, mais je ne sais pas exactement..
Merci d'avance !
2021-09-23 10:11:44.427 +0000 INFO (http-nio-8080-exec-257) org.bonitasoft.engine.api.impl.ProcessAPIImpl THREAD_ID=790 | HOSTNAME=emp-bpm-dev-bpm-66d6db8f8-wblzg | TENANT_ID=1 | The user <TNovais> has executed the task [name = <F - Saisie commande>, display name = <! - F - Saisie commande>, id = <302101>, parent process instance = <15139>, root process instance = <15139>, process definition = <4910033074642959659>] with task inputs: {clientInput={priorite=false, commentaire=null}, saisieCmdInput={noCommande=CC-21-00615, dateSaisie=2021-09-23, noAcompte=-}}
2021-09-23 10:11:45.318 +0000 SEVERE (ConnectorExecutor-25) org.bonitasoft.engine.execution.work.InSessionBonitaWork THREAD_ID=838 | HOSTNAME=emp-bpm-dev-bpm-66d6db8f8-wblzg | TENANT_ID=1 | The work [ExecuteConnectorOfActivity: flowNodeInstanceId = 302450, connectorDefinitionName = FormulaireD] failed. The failure will be handled.
2021-09-23 10:11:45.341 +0000 SEVERE (ConnectorExecutor-25) org.bonitasoft.engine.execution.work.InSessionBonitaWork THREAD_ID=838 | HOSTNAME=emp-bpm-dev-bpm-66d6db8f8-wblzg | TENANT_ID=1 | org.bonitasoft.engine.commons.exceptions.SBonitaRuntimeException : "java.lang.IllegalArgumentException: Authentication provider does not implement AuthenticationProvider!"
org.bonitasoft.engine.commons.exceptions.SBonitaRuntimeException: java.lang.IllegalArgumentException: Authentication provider does not implement AuthenticationProvider!
at org.bonitasoft.engine.connector.impl.ConnectorExecutorImpl.lambda$execute$0(ConnectorExecutorImpl.java:159)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.IllegalArgumentException: Authentication provider does not implement AuthenticationProvider!
at org.apache.chemistry.opencmis.client.bindings.impl.CmisBindingImpl.<init>(CmisBindingImpl.java:104)
at org.apache.chemistry.opencmis.client.bindings.CmisBindingFactory.createCmisAtomPubBinding(CmisBindingFactory.java:171)
at org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.createAtomPubBinding(CmisBindingHelper.java:103)
at org.apache.chemistry.opencmis.client.runtime.CmisBindingHelper.createBinding(CmisBindingHelper.java:61)
at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:118)
at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:107)
at org.bonitasoft.connectors.cmis.cmisclient.AbstractCmisClient.getRepositories(AbstractCmisClient.java:90)
at org.bonitasoft.connectors.cmis.cmisclient.AbstractCmisClient.getRepositoryByName(AbstractCmisClient.java:235)
at org.bonitasoft.connectors.cmis.cmisclient.AbstractCmisClient.connect(AbstractCmisClient.java:77)
at org.bonitasoft.connectors.cmis.AbstractCMISConnector.connect(AbstractCMISConnector.java:85)
at org.bonitasoft.engine.core.connector.impl.SConnectorAdapter.connect(SConnectorAdapter.java:83)
at org.bonitasoft.engine.connector.impl.ConnectorExecutorImpl$ExecuteConnectorCallable.call(ConnectorExecutorImpl.java:257)
at org.bonitasoft.engine.connector.impl.ConnectorExecutorImpl$ExecuteConnectorCallable.call(ConnectorExecutorImpl.java:217)
at org.bonitasoft.engine.connector.impl.ConnectorExecutorImpl.lambda$wrapForStats$1(ConnectorExecutorImpl.java:169)
at org.bonitasoft.engine.connector.impl.ConnectorExecutorImpl.lambda$execute$0(ConnectorExecutorImpl.java:156)
... 4 more