# Dynamic Component Exceptions in V14.5.1

**URL:** <https://community.bloomreach.com/t/dynamic-component-exceptions-in-v14-5-1/2595>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [May 31, 2021, 6:53am UTC](https://community.bloomreach.com/t/dynamic-component-exceptions-in-v14-5-1/2595 "2021-05-31T06:53:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yeshwanth\_Lagala](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/yeshwanth_lagala/32/777_2.png) [@Yeshwanth\_Lagala](https://community.bloomreach.com/u/Yeshwanth_Lagala)\
**Post date:** [May 31, 2021, 6:53am UTC](https://community.bloomreach.com/t/dynamic-component-exceptions-in-v14-5-1/2595/1 "2021-05-31T06:53:28Z")

</div>

Hello All,

We have created dynamic component in local and trying to deploy the same in Testing environment. But it throws below exception.

Please note we are able to render the same component in local environment.  
When we tried deploying in testing environment, cms, console and site throws 503 and are not accessible.

**Exception details:**  
org.onehippo.cm.engine.ConfigurationRuntimeException: Failed to set primary type ‘hst:componentdefinition’ in path ‘/hst:hst/hst:configurations/example-common/hst:catalog/example-common-catalog/Hero’ defined in [core/brxp/brxp/brxp-repository-data-application [config: hst/configurations/example-common/catalog.yaml]]: no matching property definition found for {[http://www.jcp.org/jcr/1.0](http://www.jcp.org/jcr/1.0)}uuid

Caused by: javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {[http://www.jcp.org/jcr/1.0](http://www.jcp.org/jcr/1.0)}uuid  
at org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicablePropertyDef(EffectiveNodeType.java:782) ~[jackrabbit-core-2.20.2-h1.jar:2.20.2-h1]

31.05.2021 06:44:48 ERROR http-nio-8080-exec-10 [HstFilter.doFilter:47] The HST Container Services are not initialized yet.  
change events from this session for auto-export  
31.05.2021 06:44:38 ERROR localhost-startStop-1 [RepositoryServlet.init:249] Error while setting up JCR repository:  
javax.jcr.RepositoryException: unchecked exception: java.lang.IllegalStateException: Pending changes at this moment not allowed

Thanks,  
Yeshwanth.

---

<div class="post-metadata">

**Author:** ![jeroen.hoffman](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jeroen.hoffman/32/43_2.png) [@jeroen.hoffman](https://community.bloomreach.com/u/jeroen.hoffman)\
**Post date:** [May 31, 2021, 8:29am UTC](https://community.bloomreach.com/t/dynamic-component-exceptions-in-v14-5-1/2595/2 "2021-05-31T08:29:45Z")

</div>

Hi Yeshwanth,  
Not sure why jcr:uuid is not recognized on bootstrapping the test env. Maybe a HCM module dependency issue, please check if hcm-module.yaml has `group: after: hippo-cms`. Otherwise just remove the jcr:uuid from the yamls, these are not necessary and normally filtered out.  
HTH  
Jeroen

---

<div class="post-metadata">

**Author:** ![Yeshwanth\_Lagala](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/yeshwanth_lagala/32/777_2.png) [@Yeshwanth\_Lagala](https://community.bloomreach.com/u/Yeshwanth_Lagala)\
**Post date:** [May 31, 2021, 9:12am UTC](https://community.bloomreach.com/t/dynamic-component-exceptions-in-v14-5-1/2595/3 "2021-05-31T09:12:38Z")

</div>

Hello Jeroen,

hcm-module.yaml file in repository-data\application has group: after: hippo-cms .  
there is no property or node defined with jcr:uuid in our catalog.yaml files as well.  
I have validated BRE archetype version, which doesn’t contain any defined dependency related to hcm module.

Thanks,  
Yeshwanth.

---

<div class="post-metadata">

**Author:** ![jeroen.hoffman](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jeroen.hoffman/32/43_2.png) [@jeroen.hoffman](https://community.bloomreach.com/u/jeroen.hoffman)\
**Post date:** [May 11, 2022, 12:29pm UTC](https://community.bloomreach.com/t/dynamic-component-exceptions-in-v14-5-1/2595/4 "2022-05-11T12:29:36Z")

</div>

Just in case people find themselves in the same situation: this error occurs when changing the primary type from “hst:containeritemcomponent” to “hst:componentdefinition” in yaml, then deploy on existing data.

Best rename to rename the node rather then trying to change the primary type.
