Activti整合SSM的异常(DbSqlSession或者Error creating bean with name 'processEngine)
我在使用activiti整合ssm时,刚开始的时候还好好的。先使用了一个demo类。在数据库生成了activiti的24张表,后来删除了这个测试类。并且将24张表的内容全部清空。发布服务时出现如下异常
[INFO]
[INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ activiti_spring_items ---
[INFO] Running war on http://localhost:9999/activiti_spring
[INFO] Using existing Tomcat server configuration at F:\maven\activiti_spring_items\target\tomcat
[INFO] create webapp with contextPath: /activiti_spring
六月 27, 2018 5:53:19 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-9999"]
六月 27, 2018 5:53:19 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Tomcat
六月 27, 2018 5:53:19 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.47
六月 27, 2018 5:53:23 下午 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
六月 27, 2018 5:53:24 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2018-06-27 17:53:24.211 [localhost-startStop-1] INFO org.springframework.web.context.ContextLoader -
Root WebApplicationContext: initialization started
2018-06-27 17:53:24.289 [localhost-startStop-1] INFO o.s.web.context.support.XmlWebApplicationContext -
Refreshing Root WebApplicationContext: startup date [Wed Jun 27 17:53:24 CST 2018]; root of context hierarchy
2018-06-27 17:53:24.335 [localhost-startStop-1] INFO o.s.beans.factory.xml.XmlBeanDefinitionReader -
Loading XML bean definitions from file [F:\maven\activiti_spring_items\target\classes\applicationContext_activiti.xml]
2018-06-27 17:53:24.476 [localhost-startStop-1] INFO o.s.beans.factory.xml.XmlBeanDefinitionReader -
Loading XML bean definitions from file [F:\maven\activiti_spring_items\target\classes\applicationContext_dao.xml]
2018-06-27 17:53:24.585 [localhost-startStop-1] INFO o.s.beans.factory.xml.XmlBeanDefinitionReader -
Loading XML bean definitions from file [F:\maven\activiti_spring_items\target\classes\applicationContext_service.xml]
2018-06-27 17:53:24.897 [localhost-startStop-1] INFO o.s.c.support.PropertySourcesPlaceholderConfigurer -
Loading properties file from class path resource [jdbc.properties]
2018-06-27 17:53:24.897 [localhost-startStop-1] INFO o.s.b.f.a.AutowiredAnnotationBeanPostProcessor -
JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2018-06-27 17:53:25.620 [localhost-startStop-1] INFO com.alibaba.druid.pool.DruidDataSource -
{dataSource-1} inited
2018-06-27 17:53:27.322 [localhost-startStop-1] WARN o.s.web.context.support.XmlWebApplicationContext -
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is java.lang.NullPointerException
2018-06-27 17:53:27.338 [localhost-startStop-1] INFO com.alibaba.druid.pool.DruidDataSource -
{dataSource-1} closed
2018-06-27 17:53:27.338 [localhost-startStop-1] ERROR org.springframework.web.context.ContextLoader -
Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1595) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:254) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:368) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1127) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1022) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:778) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839) ~[spring-context-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538) ~[spring-context-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444) ~[spring-web-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326) ~[spring-web-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) [spring-web-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) [tomcat-embed-core-7.0.47.jar:7.0.47]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) [tomcat-embed-core-7.0.47.jar:7.0.47]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [tomcat-embed-core-7.0.47.jar:7.0.47]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) [tomcat-embed-core-7.0.47.jar:7.0.47]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) [tomcat-embed-core-7.0.47.jar:7.0.47]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_161]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_161]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_161]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_161]
Caused by: java.lang.NullPointerException: null
at org.activiti.engine.impl.db.DbSqlSession.dbSchemaUpdate(DbSqlSession.java:1081) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.db.DbSqlSession.performSchemaOperationsProcessEngineBuild(DbSqlSession.java:1473) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.SchemaOperationsProcessEngineBuild.execute(SchemaOperationsProcessEngineBuild.java:25) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) ~[activiti-spring-5.18.0.jar:5.18.0]
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) ~[spring-tx-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45) ~[activiti-spring-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:77) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:427) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.spring.SpringProcessEngineConfiguration.buildProcessEngine(SpringProcessEngineConfiguration.java:65) ~[activiti-spring-5.18.0.jar:5.18.0]
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:60) ~[activiti-spring-5.18.0.jar:5.18.0]
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:32) ~[activiti-spring-5.18.0.jar:5.18.0]
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
... 28 common frames omitted
六月 27, 2018 5:53:27 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1595)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:254)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:368)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1127)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1022)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:778)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at org.activiti.engine.impl.db.DbSqlSession.dbSchemaUpdate(DbSqlSession.java:1081)
at org.activiti.engine.impl.db.DbSqlSession.performSchemaOperationsProcessEngineBuild(DbSqlSession.java:1473)
at org.activiti.engine.impl.SchemaOperationsProcessEngineBuild.execute(SchemaOperationsProcessEngineBuild.java:25)
at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57)
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:31)
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)
at org.activiti.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:77)
at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:427)
at org.activiti.spring.SpringProcessEngineConfiguration.buildProcessEngine(SpringProcessEngineConfiguration.java:65)
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:60)
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:32)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
... 28 more
出错原因如下:
1:配置文件出错
2:本地的仓库的jar包有问题
3:act_ge_property表中的数据被清除了
在把所有的配置文件都核对过一遍后。还是不行。这时我将导入的数据库更换就好了
最后找到主要原因是:在act_ge_property表中的数据被清除了、使用demo类再次 部署流程定义后。再次启动即可
写这篇博客来记录错误
牢记这个问题了。。。。。。。。
添加链接描述[INFO] — tomcat7-maven-plugin:2.2:run (default-cli) @ activiti_spring_items —
[INFO] Running war on http://localhost:9999/activiti_spring
[INFO] Using existing Tomcat server configuration at F:\maven\activiti_spring_items\target\tomcat
[INFO] create webapp with contextPath: /activiti_spring
六月 27, 2018 5:53:19 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler [“http-bio-9999”]
六月 27, 2018 5:53:19 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Tomcat
六月 27, 2018 5:53:19 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.47
六月 27, 2018 5:53:23 下午 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
六月 27, 2018 5:53:24 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2018-06-27 17:53:24.211 [localhost-startStop-1] INFO org.springframework.web.context.ContextLoader -
Root WebApplicationContext: initialization started
2018-06-27 17:53:24.289 [localhost-startStop-1] INFO o.s.web.context.support.XmlWebApplicationContext -
Refreshing Root WebApplicationContext: startup date [Wed Jun 27 17:53:24 CST 2018]; root of context hierarchy
2018-06-27 17:53:24.335 [localhost-startStop-1] INFO o.s.beans.factory.xml.XmlBeanDefinitionReader -
Loading XML bean definitions from file [F:\maven\activiti_spring_items\target\classes\applicationContext_activiti.xml]
2018-06-27 17:53:24.476 [localhost-startStop-1] INFO o.s.beans.factory.xml.XmlBeanDefinitionReader -
Loading XML bean definitions from file [F:\maven\activiti_spring_items\target\classes\applicationContext_dao.xml]
2018-06-27 17:53:24.585 [localhost-startStop-1] INFO o.s.beans.factory.xml.XmlBeanDefinitionReader -
Loading XML bean definitions from file [F:\maven\activiti_spring_items\target\classes\applicationContext_service.xml]
2018-06-27 17:53:24.897 [localhost-startStop-1] INFO o.s.c.support.PropertySourcesPlaceholderConfigurer -
Loading properties file from class path resource [jdbc.properties]
2018-06-27 17:53:24.897 [localhost-startStop-1] INFO o.s.b.f.a.AutowiredAnnotationBeanPostProcessor -
JSR-330 ‘javax.inject.Inject’ annotation found and supported for autowiring
2018-06-27 17:53:25.620 [localhost-startStop-1] INFO com.alibaba.druid.pool.DruidDataSource -
{dataSource-1} inited
2018-06-27 17:53:27.322 [localhost-startStop-1] WARN o.s.web.context.support.XmlWebApplicationContext -
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘processEngine’: FactoryBean threw exception on object creation; nested exception is java.lang.NullPointerException
2018-06-27 17:53:27.338 [localhost-startStop-1] INFO com.alibaba.druid.pool.DruidDataSource -
{dataSource-1} closed
2018-06-27 17:53:27.338 [localhost-startStop-1] ERROR org.springframework.web.context.ContextLoader -
Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘processEngine’: FactoryBean threw exception on object creation; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1595) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:254) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:368) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1127) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1022) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory
1.
g
e
t
O
b
j
e
c
t
(
A
b
s
t
r
a
c
t
B
e
a
n
F
a
c
t
o
r
y
.
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
s
y
m
b
o
l
"
>
j
a
v
a
:
<
/
s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.0
<
/
s
p
a
n
>
.
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
n
u
m
b
e
r
"
>
47
<
/
s
p
a
n
>
]
a
t
o
r
g
.
a
p
a
c
h
e
.
c
a
t
a
l
i
n
a
.
c
o
r
e
.
C
o
n
t
a
i
n
e
r
B
a
s
e
1.getObject(AbstractBeanFactory.<span class="hljs-symbol">java:</span><span class="hljs-number">306</span>) ~[spring-beans-<span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE.<span class="hljs-symbol">jar:</span><span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.<span class="hljs-symbol">java:</span><span class="hljs-number">230</span>) ~[spring-beans-<span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE.<span class="hljs-symbol">jar:</span><span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.<span class="hljs-symbol">java:</span><span class="hljs-number">302</span>) ~[spring-beans-<span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE.<span class="hljs-symbol">jar:</span><span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.<span class="hljs-symbol">java:</span><span class="hljs-number">197</span>) ~[spring-beans-<span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE.<span class="hljs-symbol">jar:</span><span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.<span class="hljs-symbol">java:</span><span class="hljs-number">778</span>) ~[spring-beans-<span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE.<span class="hljs-symbol">jar:</span><span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.<span class="hljs-symbol">java:</span><span class="hljs-number">839</span>) ~[spring-context-<span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE.<span class="hljs-symbol">jar:</span><span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.<span class="hljs-symbol">java:</span><span class="hljs-number">538</span>) ~[spring-context-<span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE.<span class="hljs-symbol">jar:</span><span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.<span class="hljs-symbol">java:</span><span class="hljs-number">444</span>) ~[spring-web-<span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE.<span class="hljs-symbol">jar:</span><span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.<span class="hljs-symbol">java:</span><span class="hljs-number">326</span>) ~[spring-web-<span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE.<span class="hljs-symbol">jar:</span><span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.<span class="hljs-symbol">java:</span><span class="hljs-number">107</span>) [spring-web-<span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE.<span class="hljs-symbol">jar:</span><span class="hljs-number">4.2</span>.<span class="hljs-number">8</span>.RELEASE] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.<span class="hljs-symbol">java:</span><span class="hljs-number">4939</span>) [tomcat-embed-core-<span class="hljs-number">7.0</span>.<span class="hljs-number">47</span>.<span class="hljs-symbol">jar:</span><span class="hljs-number">7.0</span>.<span class="hljs-number">47</span>] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.<span class="hljs-symbol">java:</span><span class="hljs-number">5434</span>) [tomcat-embed-core-<span class="hljs-number">7.0</span>.<span class="hljs-number">47</span>.<span class="hljs-symbol">jar:</span><span class="hljs-number">7.0</span>.<span class="hljs-number">47</span>] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.<span class="hljs-symbol">java:</span><span class="hljs-number">150</span>) [tomcat-embed-core-<span class="hljs-number">7.0</span>.<span class="hljs-number">47</span>.<span class="hljs-symbol">jar:</span><span class="hljs-number">7.0</span>.<span class="hljs-number">47</span>] at org.apache.catalina.core.ContainerBase
1.getObject(AbstractBeanFactory.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">306</span>) [spring−beans−<spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE.<spanclass="hljs−symbol">jar:</span><spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE]atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">230</span>) [spring−beans−<spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE.<spanclass="hljs−symbol">jar:</span><spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">302</span>) [spring−beans−<spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE.<spanclass="hljs−symbol">jar:</span><spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">197</span>) [spring−beans−<spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE.<spanclass="hljs−symbol">jar:</span><spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE]atorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">778</span>) [spring−beans−<spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE.<spanclass="hljs−symbol">jar:</span><spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE]atorg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">839</span>) [spring−context−<spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE.<spanclass="hljs−symbol">jar:</span><spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE]atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">538</span>) [spring−context−<spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE.<spanclass="hljs−symbol">jar:</span><spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE]atorg.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">444</span>) [spring−web−<spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE.<spanclass="hljs−symbol">jar:</span><spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE]atorg.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">326</span>) [spring−web−<spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE.<spanclass="hljs−symbol">jar:</span><spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE]atorg.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">107</span>)[spring−web−<spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE.<spanclass="hljs−symbol">jar:</span><spanclass="hljs−number">4.2</span>.<spanclass="hljs−number">8</span>.RELEASE]atorg.apache.catalina.core.StandardContext.listenerStart(StandardContext.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">4939</span>)[tomcat−embed−core−<spanclass="hljs−number">7.0</span>.<spanclass="hljs−number">47</span>.<spanclass="hljs−symbol">jar:</span><spanclass="hljs−number">7.0</span>.<spanclass="hljs−number">47</span>]atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">5434</span>)[tomcat−embed−core−<spanclass="hljs−number">7.0</span>.<spanclass="hljs−number">47</span>.<spanclass="hljs−symbol">jar:</span><spanclass="hljs−number">7.0</span>.<spanclass="hljs−number">47</span>]atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">150</span>)[tomcat−embed−core−<spanclass="hljs−number">7.0</span>.<spanclass="hljs−number">47</span>.<spanclass="hljs−symbol">jar:</span><spanclass="hljs−number">7.0</span>.<spanclass="hljs−number">47</span>]atorg.apache.catalina.core.ContainerBaseStartChild.call(ContainerBase.java:1559) [tomcat-embed-core-7.0.47.jar:7.0.47]
at org.apache.catalina.core.ContainerBase
S
t
a
r
t
C
h
i
l
d
.
c
a
l
l
(
C
o
n
t
a
i
n
e
r
B
a
s
e
.
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
s
y
m
b
o
l
"
>
j
a
v
a
:
<
/
s
p
a
n
>
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
n
u
m
b
e
r
"
>
1549
<
/
s
p
a
n
>
)
[
t
o
m
c
a
t
−
e
m
b
e
d
−
c
o
r
e
−
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
n
u
m
b
e
r
"
>
7.0
<
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
n
>
)
[
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
s
y
m
b
o
l
"
>
n
a
:
<
/
s
p
a
n
>
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
n
u
m
b
e
r
"
>
1.8
<
/
s
p
a
n
>
.
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
n
u
m
b
e
r
"
>
0
1
61
<
/
s
p
a
n
>
]
a
t
j
a
v
a
.
u
t
i
l
.
c
o
n
c
u
r
r
e
n
t
.
T
h
r
e
a
d
P
o
o
l
E
x
e
c
u
t
o
r
StartChild.call(ContainerBase.<span class="hljs-symbol">java:</span><span class="hljs-number">1549</span>) [tomcat-embed-core-<span class="hljs-number">7.0</span>.<span class="hljs-number">47</span>.<span class="hljs-symbol">jar:</span><span class="hljs-number">7.0</span>.<span class="hljs-number">47</span>] at java.util.concurrent.FutureTask.run(FutureTask.<span class="hljs-symbol">java:</span><span class="hljs-number">266</span>) [<span class="hljs-symbol">na:</span><span class="hljs-number">1.8</span>.<span class="hljs-number">0_161</span>] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.<span class="hljs-symbol">java:</span><span class="hljs-number">1149</span>) [<span class="hljs-symbol">na:</span><span class="hljs-number">1.8</span>.<span class="hljs-number">0_161</span>] at java.util.concurrent.ThreadPoolExecutor
StartChild.call(ContainerBase.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">1549</span>)[tomcat−embed−core−<spanclass="hljs−number">7.0</span>.<spanclass="hljs−number">47</span>.<spanclass="hljs−symbol">jar:</span><spanclass="hljs−number">7.0</span>.<spanclass="hljs−number">47</span>]atjava.util.concurrent.FutureTask.run(FutureTask.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">266</span>)[<spanclass="hljs−symbol">na:</span><spanclass="hljs−number">1.8</span>.<spanclass="hljs−number">0161</span>]atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">1149</span>)[<spanclass="hljs−symbol">na:</span><spanclass="hljs−number">1.8</span>.<spanclass="hljs−number">0161</span>]atjava.util.concurrent.ThreadPoolExecutorWorker.run(ThreadPoolExecutor.java:624) [na:1.8.0_161]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_161]
Caused by: java.lang.NullPointerException: null
at org.activiti.engine.impl.db.DbSqlSession.dbSchemaUpdate(DbSqlSession.java:1081) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.db.DbSqlSession.performSchemaOperationsProcessEngineBuild(DbSqlSession.java:1473) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.SchemaOperationsProcessEngineBuild.execute(SchemaOperationsProcessEngineBuild.java:25) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) ~[activiti-spring-5.18.0.jar:5.18.0]
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) ~[spring-tx-4.2.8.RELEASE.jar:4.2.8.RELEASE]
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45) ~[activiti-spring-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:77) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:427) ~[activiti-engine-5.18.0.jar:5.18.0]
at org.activiti.spring.SpringProcessEngineConfiguration.buildProcessEngine(SpringProcessEngineConfiguration.java:65) ~[activiti-spring-5.18.0.jar:5.18.0]
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:60) ~[activiti-spring-5.18.0.jar:5.18.0]
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:32) ~[activiti-spring-5.18.0.jar:5.18.0]
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168) ~[spring-beans-4.2.8.RELEASE.jar:4.2.8.RELEASE]
… 28 common frames omitted
六月 27, 2018 5:53:27 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘processEngine’: FactoryBean threw exception on object creation; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1595)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:254)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:368)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1127)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1022)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory
1.
g
e
t
O
b
j
e
c
t
(
A
b
s
t
r
a
c
t
B
e
a
n
F
a
c
t
o
r
y
.
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
s
y
m
b
o
l
"
>
j
a
v
a
:
<
/
s
p
a
n
>
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
n
u
m
b
e
r
"
>
306
<
/
s
p
a
n
>
)
a
t
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
b
e
a
n
s
.
f
a
c
t
o
r
y
.
s
u
p
p
o
r
t
.
D
e
f
a
u
l
t
S
i
n
g
l
e
t
o
n
B
e
a
n
R
e
g
i
s
t
r
y
.
g
e
t
S
i
n
g
l
e
t
o
n
(
D
e
f
a
u
l
t
S
i
n
g
l
e
t
o
n
B
e
a
n
R
e
g
i
s
t
r
y
.
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
s
y
m
b
o
l
"
>
j
a
v
a
:
<
/
s
p
a
n
>
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
n
u
m
b
e
r
"
>
230
<
/
s
p
a
n
>
)
a
t
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
b
e
a
n
s
.
f
a
c
t
o
r
y
.
s
u
p
p
o
r
t
.
A
b
s
t
r
a
c
t
B
e
a
n
F
a
c
t
o
r
y
.
d
o
G
e
t
B
e
a
n
(
A
b
s
t
r
a
c
t
B
e
a
n
F
a
c
t
o
r
y
.
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
s
y
m
b
o
l
"
>
j
a
v
a
:
<
/
s
p
a
n
>
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
n
u
m
b
e
r
"
>
302
<
/
s
p
a
n
>
)
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t
i
l
.
L
i
f
e
c
y
c
l
e
B
a
s
e
.
s
t
a
r
t
(
L
i
f
e
c
y
c
l
e
B
a
s
e
.
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
s
y
m
b
o
l
"
>
j
a
v
a
:
<
/
s
p
a
n
>
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
n
u
m
b
e
r
"
>
150
<
/
s
p
a
n
>
)
a
t
o
r
g
.
a
p
a
c
h
e
.
c
a
t
a
l
i
n
a
.
c
o
r
e
.
C
o
n
t
a
i
n
e
r
B
a
s
e
1.getObject(AbstractBeanFactory.<span class="hljs-symbol">java:</span><span class="hljs-number">306</span>) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.<span class="hljs-symbol">java:</span><span class="hljs-number">230</span>) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.<span class="hljs-symbol">java:</span><span class="hljs-number">302</span>) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.<span class="hljs-symbol">java:</span><span class="hljs-number">197</span>) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.<span class="hljs-symbol">java:</span><span class="hljs-number">778</span>) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.<span class="hljs-symbol">java:</span><span class="hljs-number">839</span>) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.<span class="hljs-symbol">java:</span><span class="hljs-number">538</span>) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.<span class="hljs-symbol">java:</span><span class="hljs-number">444</span>) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.<span class="hljs-symbol">java:</span><span class="hljs-number">326</span>) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.<span class="hljs-symbol">java:</span><span class="hljs-number">107</span>) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.<span class="hljs-symbol">java:</span><span class="hljs-number">4939</span>) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.<span class="hljs-symbol">java:</span><span class="hljs-number">5434</span>) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.<span class="hljs-symbol">java:</span><span class="hljs-number">150</span>) at org.apache.catalina.core.ContainerBase
1.getObject(AbstractBeanFactory.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">306</span>)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">230</span>)atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">302</span>)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">197</span>)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">778</span>)atorg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">839</span>)atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">538</span>)atorg.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">444</span>)atorg.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">326</span>)atorg.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">107</span>)atorg.apache.catalina.core.StandardContext.listenerStart(StandardContext.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">4939</span>)atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">5434</span>)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">150</span>)atorg.apache.catalina.core.ContainerBaseStartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase
S
t
a
r
t
C
h
i
l
d
.
c
a
l
l
(
C
o
n
t
a
i
n
e
r
B
a
s
e
.
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
s
y
m
b
o
l
"
>
j
a
v
a
:
<
/
s
p
a
n
>
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
n
u
m
b
e
r
"
>
1549
<
/
s
p
a
n
>
)
a
t
j
a
v
a
.
u
t
i
l
.
c
o
n
c
u
r
r
e
n
t
.
F
u
t
u
r
e
T
a
s
k
.
r
u
n
(
F
u
t
u
r
e
T
a
s
k
.
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
s
y
m
b
o
l
"
>
j
a
v
a
:
<
/
s
p
a
n
>
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
n
u
m
b
e
r
"
>
266
<
/
s
p
a
n
>
)
a
t
j
a
v
a
.
u
t
i
l
.
c
o
n
c
u
r
r
e
n
t
.
T
h
r
e
a
d
P
o
o
l
E
x
e
c
u
t
o
r
.
r
u
n
W
o
r
k
e
r
(
T
h
r
e
a
d
P
o
o
l
E
x
e
c
u
t
o
r
.
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
s
y
m
b
o
l
"
>
j
a
v
a
:
<
/
s
p
a
n
>
<
s
p
a
n
c
l
a
s
s
=
"
h
l
j
s
−
n
u
m
b
e
r
"
>
1149
<
/
s
p
a
n
>
)
a
t
j
a
v
a
.
u
t
i
l
.
c
o
n
c
u
r
r
e
n
t
.
T
h
r
e
a
d
P
o
o
l
E
x
e
c
u
t
o
r
StartChild.call(ContainerBase.<span class="hljs-symbol">java:</span><span class="hljs-number">1549</span>) at java.util.concurrent.FutureTask.run(FutureTask.<span class="hljs-symbol">java:</span><span class="hljs-number">266</span>) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.<span class="hljs-symbol">java:</span><span class="hljs-number">1149</span>) at java.util.concurrent.ThreadPoolExecutor
StartChild.call(ContainerBase.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">1549</span>)atjava.util.concurrent.FutureTask.run(FutureTask.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">266</span>)atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.<spanclass="hljs−symbol">java:</span><spanclass="hljs−number">1149</span>)atjava.util.concurrent.ThreadPoolExecutorWorker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at org.activiti.engine.impl.db.DbSqlSession.dbSchemaUpdate(DbSqlSession.java:1081)
at org.activiti.engine.impl.db.DbSqlSession.performSchemaOperationsProcessEngineBuild(DbSqlSession.java:1473)
at org.activiti.engine.impl.SchemaOperationsProcessEngineBuild.execute(SchemaOperationsProcessEngineBuild.java:25)
at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57)
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:31)
at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)
at org.activiti.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:77)
at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:427)
at org.activiti.spring.SpringProcessEngineConfiguration.buildProcessEngine(SpringProcessEngineConfiguration.java:65)
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:60)
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:32)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
… 28 more
出错原因如下:
1:配置文件出错
2:本地的仓库的jar包有问题
3:act_ge_property表中的数据被清除了
在把所有的配置文件都核对过一遍后。还是不行。这时我将导入的数据库更换就好了
最后找到主要原因是:在act_ge_property表中的数据被清除了、使用demo类再次 部署流程定义后。再次启动即可
写这篇博客来记录错误
牢记这个问题了。。。。。。。。