10-01-2010 01:03 PM
repositoryService.createDeployment()
.addClasspathResource("kz/maratkalibek/activiti/Process1.bpmn20.xml")
.deploy();
ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("financialReport");
List<Task> tasks = taskService.createTaskQuery().processInstanceId(processInstance.getId()).list();
for (Task t : tasks) {
taskService.complete(t.getId());
}
tasks = taskService.createTaskQuery().processInstanceId(processInstance.getId()).list();
for (Task t : tasks) {
taskService.complete(t.getId());
}
Assert.assertTrue(true);
23:56:15,058 SEV | problem during schema drop, statement '
java.sql.SQLException: Can not issue empty query.
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1075)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:929)
at com.mysql.jdbc.StatementImpl.checkNullOrEmptyQuery(StatementImpl.java:460)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:640)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:624)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.ibatis.logging.jdbc.StatementLogger.invoke(StatementLogger.java:41)
at $Proxy1.execute(Unknown Source)
at org.activiti.engine.impl.db.DbSqlSessionFactory.executeSchemaResource(DbSqlSessionFactory.java:265)
at org.activiti.engine.impl.db.DbSqlSessionFactory.dbSchemaDrop(DbSqlSessionFactory.java:240)
at org.activiti.engine.impl.ProcessEngineImpl.performSchemaOperationsClose(ProcessEngineImpl.java:127)
at org.activiti.engine.impl.ProcessEngineImpl.access$000(ProcessEngineImpl.java:35)
at org.activiti.engine.impl.ProcessEngineImpl$2.execute(ProcessEngineImpl.java:118)
at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:22)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:36)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
at org.activiti.engine.impl.ProcessEngineImpl.close(ProcessEngineImpl.java:116)
at org.activiti.engine.impl.test.ActivitiInternalTestCase.assertAndEnsureCleanDb(ActivitiInternalTestCase.java:177)
at org.activiti.engine.impl.test.ActivitiInternalTestCase.runBare(ActivitiInternalTestCase.java:145)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
[org.activiti.engine.impl.db.DbSqlSessionFactory]
10-04-2010 04:54 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.