Can not import models in Designer

Description

When I export a bpmn file. Delete the modeling in the Designer and then try to reimport the exported file. It failes with the following exception.

Caused by: org.h2.jdbc.JdbcSQLException: NULL not allowed for column "MODEL_KEY"; SQL statement:
insert into ACT_DE_MODEL (model_comment, created, created_by, description, model_key, last_updated, last_updated_by, model_editor_json, model_type, name, version, thumbnail, id) values (?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?) [23502-176]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:344)
at org.h2.message.DbException.get(DbException.java:178)
at org.h2.message.DbException.get(DbException.java:154)
at org.h2.table.Column.validateConvertUpdateSequence(Column.java:308)
at org.h2.table.Table.validateConvertUpdateSequence(Table.java:726)
at org.h2.command.dml.Insert.insertRows(Insert.java:152)
at org.h2.command.dml.Insert.update(Insert.java:115)
at org.h2.command.CommandContainer.update(CommandContainer.java:79)
at org.h2.command.Command.executeUpdate(Command.java:254)
at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:158)
at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:144)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:147)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:186)
... 97 more

Environment

Activiti 6 Beta 3

Status

Assignee

Tijs Rademakers

Reporter

Thomas Zaenker

Labels

Components

Fix versions

Affects versions

Priority

High
Configure