I have created sample workflow and uploaded BAR file.
At the time of activation of workflow I am getting below error from Bonita.
Error : Caused by: org.bonitasoft.engine.core.process.definition.exception.SProcessEnablementException: Process TableRightsPlan with version 1.0 can’t be enabled since all dependencies are not resolved yet
Full Stack Trace
01-Feb-2016 13:59:21.428 SEVERE [http-nio-8484-exec-7] org.bonitasoft.web.toolkit.server.servlet.ToolkitHttpServlet.catchAllExceptions org.bonitasoft.engine.bpm.process.ProcessEnablementException: USERNAME=patelag | org.bonitasoft.engine.core.process.definition.exception.SProcessEnablementException: Process TableRightsPlan with version 1.0 can’t be enabled since all dependencies are not resolved yet
org.bonitasoft.web.toolkit.client.common.exception.api.APIException: org.bonitasoft.engine.bpm.process.ProcessEnablementException: USERNAME=patelag | org.bonitasoft.engine.core.process.definition.exception.SProcessEnablementException: Process TableRightsPlan with version 1.0 can’t be enabled since all dependencies are not resolved yet
at org.bonitasoft.web.rest.server.engineclient.ProcessEngineClient.enableProcess(ProcessEngineClient.java:95)
at org.bonitasoft.web.rest.server.datastore.bpm.process.ProcessDatastore.changeProcessState(ProcessDatastore.java:140)
at org.bonitasoft.web.rest.server.datastore.bpm.process.ProcessDatastore.update(ProcessDatastore.java:125)
at org.bonitasoft.web.rest.server.api.bpm.process.APIProcess.update(APIProcess.java:97)
at org.bonitasoft.web.rest.server.api.bpm.process.APIProcess.update(APIProcess.java:48)
at org.bonitasoft.web.rest.server.framework.API.runUpdate(API.java:191)
at org.bonitasoft.web.rest.server.framework.APIServletCall.doPut(APIServletCall.java:240)
at org.bonitasoft.web.toolkit.server.servlet.ToolkitHttpServlet.doPut(ToolkitHttpServlet.java:193)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:651)
at org.bonitasoft.web.toolkit.server.servlet.ToolkitHttpServlet.service(ToolkitHttpServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.bonitasoft.web.toolkit.server.servlet.ToolkitHttpServlet.service(ToolkitHttpServlet.java:226)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.bonitasoft.console.security.SessionFixationValve.invoke(SessionFixationValve.java:77)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1517)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1474)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.bonitasoft.engine.bpm.process.ProcessEnablementException: USERNAME=patelag | org.bonitasoft.engine.core.process.definition.exception.SProcessEnablementException: Process TableRightsPlan with version 1.0 can’t be enabled since all dependencies are not resolved yet
at org.bonitasoft.engine.api.impl.ProcessAPIImpl.enableProcess(ProcessAPIImpl.java:876)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:363)
at org.bonitasoft.engine.api.impl.ServerAPIImpl$1.call(ServerAPIImpl.java:332)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.executeInTransaction(JTATransactionServiceImpl.java:288)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPIInTransaction(ServerAPIImpl.java:339)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:274)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeMethod(ServerAPIImpl.java:128)
at org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:88)
at com.sun.proxy.$Proxy113.enableProcess(Unknown Source)
at org.bonitasoft.web.rest.server.engineclient.ProcessEngineClient.enableProcess(ProcessEngineClient.java:93)
… 45 more
Caused by: org.bonitasoft.engine.core.process.definition.exception.SProcessEnablementException: Process TableRightsPlan with version 1.0 can’t be enabled since all dependencies are not resolved yet
at org.bonitasoft.engine.core.process.definition.ProcessDefinitionServiceImpl.enableProcessDeploymentInfo(ProcessDefinitionServiceImpl.java:260)
at org.bonitasoft.engine.api.impl.transaction.process.EnableProcess.execute(EnableProcess.java:57)
at org.bonitasoft.engine.api.impl.ProcessAPIImpl.enableProcess(ProcessAPIImpl.java:872)
… 58 more