SAP Knowledge Base Article - Preview

3425494 - Initialize database is failing "Cannot invoke String.isEmpty() because str is null" - SAP Commerce Cloud

Symptom

Deployment is failing on the Initialize Database step due to the following error:

{"instant":{"epochSecond":1706014938,"nanoOfSecond":908602823},"thread":"main","level":"ERROR","loggerName":"de.hybris.bootstrap.ddl.HybrisSchemaGenerator","message":"Cannot invoke \"String.isEmpty()\" because \"str\" is null","thrown":{"commonElementCount":0,"localizedMessage":"Cannot invoke \"String.isEmpty()\" because \"str\" is null","message":"Cannot invoke \"String.isEmpty()\" because \"str\" is null
...

{"instant":{"epochSecond":1706014938,"nanoOfSecond":917759623},"thread":"ShutdownHookThread","level":"ERROR","loggerName":"org.springframework.integration.support.SmartLifecycleRoleController","message":"Failed to stop cloudHotfoldersLeaderLockRepository in role integration","thrown":{"commonElementCount":0,"localizedMessage":"Unknown type 'ApplicationResourceLock'.","message":"Unknown type 'ApplicationResourceLock'.","name":"de.hybris.platform.servicelayer.search.exceptions.FlexibleSearchException","cause":{"commonElementCount":20,"localizedMessage":"Unknown type 'ApplicationResourceLock'.","message":"Unknown type 'ApplicationResourceLock'.","name":"de.hybris.platform.jalo.flexiblesearch.FlexibleSearchException","cause":{"commonElementCount":20,"localizedMessage":"no composed type with code ApplicationResourceLock found.","message":"no composed type with code ApplicationResourceLock found."


Read more...

Environment

SAP Commerce Cloud

Product

SAP Commerce Cloud all versions

Keywords

str, null, applicationresourcelock, initialize, composed, commerce, ccv2, cloud, Cannot invoke, isEmpty , 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.