未验证 提交 6bcef49a 编写于 作者: A Alex Merkulov 提交者: GitHub

Merge pull request #2964 from Activiti/dev-almerico-fix-for-ACTIVITI-4012

fix for null pointer in example-runtime-bundle
......@@ -82,7 +82,7 @@ public class DeployCmd<T> implements Command<Deployment>, Serializable {
existingDeployment)) {
return existingDeployment;
} else {
deployment.setVersion(existingDeployment.getVersion() + 1);
deployment.setVersion(existingDeployment.getVersion() != null? existingDeployment.getVersion() + 1 : 2);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册