SAP Knowledge Base Article - Preview

3211398 - Deployment Failing due to Locked Environment

Symptom

The deployment to the selected environment is failing while creating the typesystem:

at de.hybris.bootstrap.ddl.tools.CreateTypeSystemNameColumnInYDeploymentsTable.getStatementsToExecute(CreateTypeSystemNameColumnInYDeploymentsTable.java:32)
at de.hybris.bootstrap.ddl.tools.SqlServerStrategy.makeColumnPartOfPrimaryKey(CreateTypeSystemNameColumnInYDeploymentsTable.java:286)
at de.hybris.bootstrap.ddl.tools.SqlServerStrategy.getPKConstraintName(CreateTypeSystemNameColumnInYDeploymentsTable.java:305)
at de.hybris.bootstrap.ddl.tools.persistenceinfo.PersistenceInformation.query(PersistenceInformation.java:125)
at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:480)
Caused by: org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Exception in thread "main" java.lang.reflect.InvocationTargetException

    In the above case, the issue should be related to the following scenarios:

    • You have a new provisioned environment and have not deployed with Initialize database.
    • You want to deploy with Initialize database after May 7th, 2022.


    Read more...

    Environment

    SAP Commerce Cloud

    Product

    SAP Commerce Cloud all versions

    Keywords

    deploy, ccv2, initialize, type system, hybris , KBA , CEC-SCC-CLA-DEP , Deployments , Problem

    About this page

    This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

    Search for additional results

    Visit SAP Support Portal's SAP Notes and KBA Search.