Hello,
I've the following question.
The following code snippet causes the exception at the end of the
message:
final Deployment deployment =
this.processEngine.getRepositoryService()
.createDeployment()
.addInputStream(theName, theStream)
.enableDuplicateFiltering(true)
.deploy();
The exception does not occurs if I take out the line which enables
the duplicate filtering.
I'm not sure about the exception. Should I simply ignore it? I
tested it with 7.2.0, 7.3.0.alpha1 and 7.3.0.alpha2
Kind regards
Matthias
19:48:31.383 [main] INFO de.oss.dac.unicredit.bsp.BspApplication -
Initializing the application!
19:48:31.385 [main] INFO
de.oss.dac.core.process.impl.DacProcessServiceImpl - Deploying
process '/concept/depot-closure.bpmn'.
2015-04-17 19:48:35.628 ERROR 8060 --- [ main]
o.c.b.e.impl.interceptor.CommandContext : Error while closing
command context
org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause:
org.apache.ibatis.type.TypeException: Error setting null for
parameter #1 with JdbcType OTHER . Try setting a different JdbcType
for this parameter or a different jdbcTypeForNull configuration
property. Cause: java.sql.SQLException: Ungültiger Spaltentyp: 1111
### The error may exist in
org/camunda/bpm/engine/impl/mapping/entity/Resource.xml
### The error may involve
org.camunda.bpm.engine.impl.persistence.entity.ResourceEntity.selectLatestResourcesByDeploymentName-Inline
### The error occurred while setting parameters
### SQL: select B.* from ACT_GE_BYTEARRAY B inner join
(select B.NAME_, MAX(D.DEPLOY_TIME_) DEPLOY_TIME_ from
ACT_GE_BYTEARRAY B inner join ACT_RE_DEPLOYMENT D on
B.DEPLOYMENT_ID_ = D.ID_ where D.NAME_ = ? and
B.NAME_ in ( ? ) group
by B.NAME_) LAST_RESOURCE on B.NAME_ =
LAST_RESOURCE.NAME_ inner join ACT_RE_DEPLOYMENT D on
B.DEPLOYMENT_ID_ = D.ID_ and D.DEPLOY_TIME_ =
LAST_RESOURCE.DEPLOY_TIME_ and D.NAME_ = ?
### Cause: org.apache.ibatis.type.TypeException: Error setting null
for parameter #1 with JdbcType OTHER . Try setting a different
JdbcType for this parameter or a different jdbcTypeForNull
configuration property. Cause: java.sql.SQLException: Ungültiger
Spaltentyp: 1111
at
org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:26)
at
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:111)
at
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:102)
at
org.camunda.bpm.engine.impl.db.sql.DbSqlSession.selectList(DbSqlSession.java:86)
at
org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.selectListWithRawParameter(DbEntityManager.java:163)
at
org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.selectList(DbEntityManager.java:155)
at
org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.selectList(DbEntityManager.java:151)
at
org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.selectList(DbEntityManager.java:135)
at
org.camunda.bpm.engine.impl.persistence.entity.ResourceManager.findLatestResourcesByDeploymentName(ResourceManager.java:62)
at
org.camunda.bpm.engine.impl.cmd.DeployCmd.resolveResourcesToDeploy(DeployCmd.java:128)
at
org.camunda.bpm.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:77)
at
org.camunda.bpm.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:61)
at
org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
at
org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:97)
at
org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at
org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
at
org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:32)
at
org.camunda.bpm.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:82)
at
org.camunda.bpm.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:125)
at
de.oss.dac.core.process.impl.DacProcessServiceImpl.deployProcess(DacProcessServiceImpl.java:73)
at
de.oss.dac.core.application.DacBusinessApplication.init(DacBusinessApplication.java:71)
at
de.oss.dac.unicredit.bsp.BspApplication.init(BspApplication.java:82)
at
de.oss.dac.bsp.config.TestApplication.main(TestApplication.java:14)
Caused by: org.apache.ibatis.type.TypeException: Error setting null
for parameter #1 with JdbcType OTHER . Try setting a different
JdbcType for this parameter or a different jdbcTypeForNull
configuration property. Cause: java.sql.SQLException: Ungültiger
Spaltentyp: 1111
at
org.apache.ibatis.type.BaseTypeHandler.setParameter(BaseTypeHandler.java:45)
at
org.apache.ibatis.scripting.defaults.DefaultParameterHandler.setParameters(DefaultParameterHandler.java:81)
at
org.apache.ibatis.executor.statement.PreparedStatementHandler.parameterize(PreparedStatementHandler.java:80)
at
org.apache.ibatis.executor.statement.RoutingStatementHandler.parameterize(RoutingStatementHandler.java:61)
at
org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:74)
at
org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:59)
at
org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:267)
at
org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:137)
at
org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:96)
at
org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:77)
at
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:108)
... 22 common frames omitted
Caused by: java.sql.SQLException: Ungültiger Spaltentyp: 1111
at
oracle.jdbc.driver.OracleStatement.getInternalType(OracleStatement.java:7550)
at
oracle.jdbc.driver.OraclePreparedStatement.setNullCritical(OraclePreparedStatement.java:7469)
at
oracle.jdbc.driver.OraclePreparedStatement.setNull(OraclePreparedStatement.java:7423)
at
oracle.jdbc.driver.OraclePreparedStatementWrapper.setNull(OraclePreparedStatementWrapper.java:4427)
at
org.apache.ibatis.type.BaseTypeHandler.setParameter(BaseTypeHandler.java:43)
... 32 common frames omitted
Exception in thread "main"
org.camunda.bpm.engine.ProcessEngineException: Process engine
persistence exception
at
org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.rethrow(CommandInvocationContext.java:60)
at
org.camunda.bpm.engine.impl.interceptor.CommandContext.close(CommandContext.java:229)
at
org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:106)
at
org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at
org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
at
org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:32)
at
org.camunda.bpm.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:82)
at
org.camunda.bpm.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:125)
at
de.oss.dac.core.process.impl.DacProcessServiceImpl.deployProcess(DacProcessServiceImpl.java:73)
at
de.oss.dac.core.application.DacBusinessApplication.init(DacBusinessApplication.java:71)
at
de.oss.dac.unicredit.bsp.BspApplication.init(BspApplication.java:82)
at
de.oss.dac.bsp.config.TestApplication.main(TestApplication.java:14)
Caused by: org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause:
org.apache.ibatis.type.TypeException: Error setting null for
parameter #1 with JdbcType OTHER . Try setting a different JdbcType
for this parameter or a different jdbcTypeForNull configuration
property. Cause: java.sql.SQLException: Ungültiger Spaltentyp: 1111
### The error may exist in
org/camunda/bpm/engine/impl/mapping/entity/Resource.xml
### The error may involve
org.camunda.bpm.engine.impl.persistence.entity.ResourceEntity.selectLatestResourcesByDeploymentName-Inline
### The error occurred while setting parameters
### SQL: select B.* from ACT_GE_BYTEARRAY B inner join
(select B.NAME_, MAX(D.DEPLOY_TIME_) DEPLOY_TIME_ from
ACT_GE_BYTEARRAY B inner join ACT_RE_DEPLOYMENT D on
B.DEPLOYMENT_ID_ = D.ID_ where D.NAME_ = ? and
B.NAME_ in ( ? ) group
by B.NAME_) LAST_RESOURCE on B.NAME_ =
LAST_RESOURCE.NAME_ inner join ACT_RE_DEPLOYMENT D on
B.DEPLOYMENT_ID_ = D.ID_ and D.DEPLOY_TIME_ =
LAST_RESOURCE.DEPLOY_TIME_ and D.NAME_ = ?
### Cause: org.apache.ibatis.type.TypeException: Error setting null
for parameter #1 with JdbcType OTHER . Try setting a different
JdbcType for this parameter or a different jdbcTypeForNull
configuration property. Cause: java.sql.SQLException: Ungültiger
Spaltentyp: 1111
at
org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:26)
at
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:111)
at
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:102)
at
org.camunda.bpm.engine.impl.db.sql.DbSqlSession.selectList(DbSqlSession.java:86)
at
org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.selectListWithRawParameter(DbEntityManager.java:163)
at
org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.selectList(DbEntityManager.java:155)
at
org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.selectList(DbEntityManager.java:151)
at
org.camunda.bpm.engine.impl.db.entitymanager.DbEntityManager.selectList(DbEntityManager.java:135)
at
org.camunda.bpm.engine.impl.persistence.entity.ResourceManager.findLatestResourcesByDeploymentName(ResourceManager.java:62)
at
org.camunda.bpm.engine.impl.cmd.DeployCmd.resolveResourcesToDeploy(DeployCmd.java:128)
at
org.camunda.bpm.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:77)
at
org.camunda.bpm.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:61)
at
org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
at
org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:97)
... 10 more
Caused by: org.apache.ibatis.type.TypeException: Error setting null
for parameter #1 with JdbcType OTHER . Try setting a different
JdbcType for this parameter or a different jdbcTypeForNull
configuration property. Cause: java.sql.SQLException: Ungültiger
Spaltentyp: 1111
at
org.apache.ibatis.type.BaseTypeHandler.setParameter(BaseTypeHandler.java:45)
at
org.apache.ibatis.scripting.defaults.DefaultParameterHandler.setParameters(DefaultParameterHandler.java:81)
at
org.apache.ibatis.executor.statement.PreparedStatementHandler.parameterize(PreparedStatementHandler.java:80)
at
org.apache.ibatis.executor.statement.RoutingStatementHandler.parameterize(RoutingStatementHandler.java:61)
at
org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:74)
at
org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:59)
at
org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:267)
at
org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:137)
at
org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:96)
at
org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:77)
at
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:108)
... 22 more
Caused by: java.sql.SQLException: Ungültiger Spaltentyp: 1111
at
oracle.jdbc.driver.OracleStatement.getInternalType(OracleStatement.java:7550)
at
oracle.jdbc.driver.OraclePreparedStatement.setNullCritical(OraclePreparedStatement.java:7469)
at
oracle.jdbc.driver.OraclePreparedStatement.setNull(OraclePreparedStatement.java:7423)
at
oracle.jdbc.driver.OraclePreparedStatementWrapper.setNull(OraclePreparedStatementWrapper.java:4427)
at
org.apache.ibatis.type.BaseTypeHandler.setParameter(BaseTypeHandler.java:43)
... 32 more
--
bconnection
Matthias Brenner
Mobil: +49 176 2055 4900
mailto:Matthias...@bconnection.de
http://www.bconnection.de