# loadModelException: extensionElements in model

**URL:** <https://forum.camunda.io/t/loadmodelexception-extensionelements-in-model/14326>\
**Category:** Discussion & Questions\
**Created:** [July 31, 2019, 4:35am UTC](https://forum.camunda.io/t/loadmodelexception-extensionelements-in-model/14326 "2019-07-31T04:35:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nothing](https://forum.camunda.io/letter_avatar_proxy/v4/letter/n/58956e/32.png) [@nothing](https://forum.camunda.io/u/nothing)\
**Post date:** [July 31, 2019, 4:35am UTC](https://forum.camunda.io/t/loadmodelexception-extensionelements-in-model/14326/1 "2019-07-31T04:35:00Z")

</div>

I have edited a process model use Camunda model tools. In it , I have added some extensionElements, then publish into the system. When I load this process model in code, some times it runs ok, but some times it will report exception like bellow:

ENGINE-16004 Exception while closing command context: ENGINE-03023 Could not load BPMN Model for process definition with id ‘’.

org.camunda.bpm.engine.ProcessEngineException: ENGINE-03023 Could not load BPMN Model for process definition with id

Caused by: org.xml.sax.SAXException: Error: URI=null Line=738: cvc-complex-type.2.4.a: find element ‘{“[http://www.omg.org/spec/BPMN/20100524/MODEL](http://www.omg.org/spec/BPMN/20100524/MODEL)”:extensionElements}’ begin, invalids content, should be with ‘{“[http://www.omg.org/spec/BPMN/20100524/MODEL](http://www.omg.org/spec/BPMN/20100524/MODEL)”:outgoing, “[http://www.omg.org/spec/BPMN/20100524/MODEL](http://www.omg.org/spec/BPMN/20100524/MODEL)”:ioSpecification, “[http://www.omg.org/spec/BPMN/20100524/MODEL](http://www.omg.org/spec/BPMN/20100524/MODEL)”:property, “[http://www.omg.org/spec/BPMN/20100524/MODEL](http://www.omg.org/spec/BPMN/20100524/MODEL)”:dataInputAssociation, “[http://www.omg.org/spec/BPMN/20100524/MODEL](http://www.omg.org/spec/BPMN/20100524/MODEL)”:dataOutputAssociation, “[http://www.omg.org/spec/BPMN/20100524/MODEL](http://www.omg.org/spec/BPMN/20100524/MODEL)”:resourceRole, “[http://www.omg.org/spec/BPMN/20100524/MODEL](http://www.omg.org/spec/BPMN/20100524/MODEL)”:loopCharacteristics, “[http://www.omg.org/spec/BPMN/20100524/MODEL](http://www.omg.org/spec/BPMN/20100524/MODEL)”:rendering}’

ENGINE-03023 Could not load BPMN Model for process definition  
at org.camunda.bpm.engine.impl.db.EnginePersistenceLogger.loadModelException(EnginePersistenceLogger.java:270)

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [January 30, 2024, 11:51am UTC](https://forum.camunda.io/t/loadmodelexception-extensionelements-in-model/14326/2 "2024-01-30T11:51:56Z")

</div>

Closed on January 30, 2024, 11:51am UTC


