2 cyk cyk cyk_cyk 于 2017.09.13 12:45 提问

activiti启动实例时异常,大神们能看出什么原因吗 ? 1C

12:26:46.846 [main] INFO o.a.engine.impl.db.DbSqlSession 1147 - performing create on identity with resource org/activiti/db/create/activiti.h2.create.identity.sql
12:26:46.862 [main] INFO o.a.engine.impl.ProcessEngineImpl 87 - ProcessEngine default created
12:26:47.596 [main] WARN o.a.e.i.b.d.ProcessDefinitionDiagramHelper 67 - Error while generating process diagram, image will not be stored in repository
java.lang.NullPointerException: null
at org.activiti.image.impl.DefaultProcessDiagramGenerator.connectionPerfectionizer(DefaultProcessDiagramGenerator.java:697)
at org.activiti.image.impl.DefaultProcessDiagramGenerator$22.draw(DefaultProcessDiagramGenerator.java:379)
at org.activiti.image.impl.DefaultProcessDiagramGenerator.drawArtifact(DefaultProcessDiagramGenerator.java:785)
at org.activiti.image.impl.DefaultProcessDiagramGenerator.generateProcessDiagram(DefaultProcessDiagramGenerator.java:508)
at org.activiti.image.impl.DefaultProcessDiagramGenerator.generateDiagram(DefaultProcessDiagramGenerator.java:403)
at org.activiti.image.impl.DefaultProcessDiagramGenerator.generateDiagram(DefaultProcessDiagramGenerator.java:427)
at org.activiti.engine.impl.bpmn.deployer.ProcessDefinitionDiagramHelper.createDiagramForProcessDefinition(ProcessDefinitionDiagramHelper.java:51)
at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.createAndPersistNewDiagramsIfNeeded(BpmnDeployer.java:117)
at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:79)
at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(DeploymentManager.java:60)
at org.activiti.engine.impl.cmd.DeployCmd.executeDeploy(DeployCmd.java:110)
at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:60)
at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:40)
at org.activiti.engine.impl.interceptor.CommandInvoker$1.run(CommandInvoker.java:37)
at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:78)
at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:57)
at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:42)
at org.activiti.engine.impl.interceptor.TransactionContextInterceptor.execute(TransactionContextInterceptor.java:48)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:63)
at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:29)
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:44)
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:39)
at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:86)
at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:188)
at org.activiti.engine.impl.test.TestHelper.annotationDeploymentSetUp(TestHelper.java:101)
at org.activiti.engine.test.ActivitiRule.starting(ActivitiRule.java:215)
at org.activiti.engine.test.ActivitiRule.startingQuietly(ActivitiRule.java:159)
at org.activiti.engine.test.ActivitiRule.access$000(ActivitiRule.java:76)
at org.activiti.engine.test.ActivitiRule$1.evaluate(ActivitiRule.java:114)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:254)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:89)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:193)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
ProcessEngine [default] Version: [6.0.0.4]
Found process definition [Text FlowChart2] with id [TextFlowChart2:1:3]

2个回答

Small_Mouse0
Small_Mouse0   Ds   Rxr 2017.09.13 13:26

java.lang.NullPointerException: null,,,空指针异常

reate on identity with resource org/activiti/db/create/activiti.h2.create.identity.sql

题主这个是android+spring吧?
感觉下面全是系统报错,,不知道题主的目录结构是什么样的?

cyk_cyk
cyk_cyk   2017.09.13 13:40

不是Android的 在activiti启动的时候报的异常,正常的应该是Found process definition [Text FlowChart2] with id [TextFlowChart2:1:4],现在是with id [TextFlowChart2:1:3] 不知道为什么

Csdn user default icon
上传中...
上传图片
插入图片