-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 4.2.c Community
-
Fix Version/s: None
-
Component/s: Repository
-
Security Level: external (External user)
-
Labels:None
Creating a model with cyclic import :
<model name="ncwf:claim-process"><author>beCPG</author><version>1.0</version>
<imports><import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/><import uri="http://www.alfresco.org/model/bpm/1.0" prefix="bpm"/><import uri="http://www.bcpg.fr/model/nc-workflow/1.0" prefix="ncwf"/></imports><namespaces><namespace uri="http://www.bcpg.fr/model/nc-workflow/1.0" prefix="ncwf"/></namespaces><data-types/><constraints/>
...
</model>
and deploy it into "Data Dictionnary/Models"
Make system crash and unrecoverable:
Caused by: java.lang.StackOverflowError
at org.alfresco.repo.dictionary.M2Model.getName(M2Model.java:170)
at org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap.loadModel(DictionaryRepositoryBootstrap.java:489)
at org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap.loadModel(DictionaryRepositoryBootstrap.java:489)
....
The only way to restart system is to modify repo-admin-context.xml to ignore "Data Dictionary/Models"
Regards
- is duplicated by
-
MNT-15345 Dynamic Deployment of Models can cause a stack overlow error that causes excessive logging
- Closed