# FormEngines.getDefaultFormEngine() returns NULL

**URL:** <https://forum.flowable.org/t/formengines-getdefaultformengine-returns-null/1406>\
**Category:** Flowable Engine\
**Created:** [January 9, 2018, 12:50pm UTC](https://forum.flowable.org/t/formengines-getdefaultformengine-returns-null/1406 "2018-01-09T12:50:33Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![clara.gaset](https://avatars.discourse-cdn.com/v4/letter/c/cc9497/32.png) [@clara.gaset](https://forum.flowable.org/u/clara.gaset)\
**Post date:** [January 10, 2018, 10:25am UTC](https://forum.flowable.org/t/formengines-getdefaultformengine-returns-null/1406/4 "2018-01-10T10:25:42Z")

</div>

Thanks @tijs, the dependency solved the error. However, now I had another one:

```
11:15:54,120 [main] ERROR org.flowable.form.engine.FormEngines - Exception while initializing form engine: Error initialising form data schema
org.flowable.engine.common.api.FlowableException: Error initialising form data schema
	at org.flowable.form.engine.FormEngineConfiguration.initDbSchema(FormEngineConfiguration.java:305)
	at org.flowable.form.engine.FormEngineConfiguration.init(FormEngineConfiguration.java:191)
	at org.flowable.form.engine.FormEngineConfiguration.buildFormEngine(FormEngineConfiguration.java:174)
	at org.flowable.form.engine.FormEngines.buildFormEngine(FormEngines.java:164)
	at org.flowable.form.engine.FormEngines.initFormEngineFromResource(FormEngines.java:144)
	at org.flowable.form.engine.FormEngines.init(FormEngines.java:76)
	at org.flowable.form.engine.FormEngines.getFormEngine(FormEngines.java:198)
	at org.flowable.form.engine.FormEngines.getDefaultFormEngine(FormEngines.java:187)
	at org.flowable.CallForForecasts.main(CallForForecasts.java:17)
Caused by: liquibase.exception.ChangeLogParseException: Error Reading Migration File: Found 3 files that match org/flowable/form/db/liquibase/flowable-form-db-changelog.xml
	at liquibase.parser.core.xml.XMLChangeLogSAXParser.parseToNode(XMLChangeLogSAXParser.java:112)
	at liquibase.parser.core.xml.AbstractChangeLogParser.parse(AbstractChangeLogParser.java:17)
	at liquibase.Liquibase.getDatabaseChangeLog(Liquibase.java:229)
	at liquibase.Liquibase.update(Liquibase.java:202)
	at liquibase.Liquibase.update(Liquibase.java:192)
	at liquibase.Liquibase.update(Liquibase.java:188)
	at liquibase.Liquibase.update(Liquibase.java:181)
	at org.flowable.form.engine.FormEngineConfiguration.initDbSchema(FormEngineConfiguration.java:299)
	... 8 more
Caused by: java.io.IOException: Found 3 files that match org/flowable/form/db/liquibase/flowable-form-db-changelog.xml
	at liquibase.util.StreamUtil.singleInputStream(StreamUtil.java:205)
	at liquibase.parser.core.xml.XMLChangeLogSAXParser.parseToNode(XMLChangeLogSAXParser.java:93)
	... 15 more

```

I read in a [post](https://forum.flowable.org/t/form-engine-not-initialized-error/1143) a similar situation but I don’t know it was finally solved. I checked the flowable-form-db-changelog.xml and in effect, there are 3 files with this name (I’m working with version 6.2.0).

---

_[View the full topic](https://forum.flowable.org/t/formengines-getdefaultformengine-returns-null/1406)._
