Bonita Connector - CheckIn causes a failure...
PostPosted:Wed Nov 05, 2014 7:34 am
Hi there,
OpenKM v6.3.0 build 8152 community
Bonita Studio 6.3.7, Java 1.7.0.67, Windows 8.1
I've got nearly all samples working but Check-In-Document fails as follows (the document is checked out):
/okm:root/ABCDEFLtd - 6/
and
/okm:root/ABCDEFLtd - 6/filename.doc
where I have selected the file from the filesystem dialog.
Thanks and regards
Seán
OpenKM v6.3.0 build 8152 community
Bonita Studio 6.3.7, Java 1.7.0.67, Windows 8.1
I've got nearly all samples working but Check-In-Document fails as follows (the document is checked out):
Code: Select all
I have tried both ways where path =2014-11-05 10:26:04 org.bonitasoft.engine.external.web.forms.ExecuteActionsAndTerminateTask
INFO: THREAD_ID=50 | HOSTNAME=Mainframe | TENANT_ID=1 | The user <walter.bates> has executed the task [name = <Document information>, display name = <Document information>, id = <37>, parent process instance = <10>, root process instance = <10>, process definition = <5605818090171157404>]
2014-11-05 10:26:04 org.bonitasoft.connector.openkm.CheckinDocumentConnector
INFO: Executing OpenKMConnector with params: host:http://localhost:8080/OpenKM, user:okmAdmin
2014-11-05 10:26:04 org.bonitasoft.connector.openkm.CheckinDocumentConnector
INFO: Executing Action
2014-11-05 10:26:04 org.bonitasoft.connector.openkm.CheckinDocumentConnector
INFO: Executing CreateDocumentSimpleConnector with params: fileObject:mydoc, docId:/okm:root/ABCDEFLtd - 6/, comment:tester
2014-11-05 10:26:04 org.bonitasoft.engine.execution.work.FailureHandlingBonitaWork
WARNING: THREAD_ID=116 | HOSTNAME=Mainframe | TENANT_ID=1 | The work [ExecuteConnectorOfActivity: flowNodeInstanceId = 42, connectorDefinitionName = checkinDocument] failed. The failure will be handled.
2014-11-05 10:26:04 org.bonitasoft.engine.execution.event.ErrorEventHandlerStrategy
WARNING: THREAD_ID=116 | HOSTNAME=Mainframe | TENANT_ID=1 | No catch error event was defined to handle the error code '' defined in the process [name: Checkin Document, version: 1.0], throw event: . This throw error event will act as a Terminate Event.
2014-11-05 10:26:04 org.bonitasoft.engine.execution.work.FailureHandlingBonitaWork
WARNING: THREAD_ID=116 | HOSTNAME=Mainframe | TENANT_ID=1 | org.bonitasoft.engine.core.connector.exception.SConnectorException : "PROCESS_DEFINITION_ID=5605818090171157404 | PROCESS_NAME=Checkin Document | PROCESS_VERSION=1.0 | PROCESS_INSTANCE_ID=10 | ROOT_PROCESS_INSTANCE_ID=10 | FLOW_NODE_DEFINITION_ID=-7281119368959811276 | FLOW_NODE_INSTANCE_ID=42 | FLOW_NODE_NAME=Checkin document | CONNECTOR_DEFINITION_IMPLEMENTATION_CLASS_NAME=checkinDocument | CONNECTOR_INSTANCE_ID=8 | org.bonitasoft.engine.connector.exception.SConnectorException: java.util.concurrent.ExecutionException: java.lang.LinkageError: ClassCastException: attempting to castnulltojar:file:/E:/BonitaBPMCommunity-6.3.7-00%20-%20Scrapbook%20Tests/workspace/tomcat/bonita/server/platform/tmp/bonita_engine_33836@Mainframe/local/PROCESS/5605818090171157404/5605818090171157404_jersey-core-1.17.1.jar.jar1589233429818808151.tmp!/javax/ws/rs/ext/RuntimeDelegate.class"/okm:root/ABCDEFLtd - 6/
and
/okm:root/ABCDEFLtd - 6/filename.doc
where I have selected the file from the filesystem dialog.
Thanks and regards
Seán