Creating a local db instance with embedded objects

Good evening friends.
I have a problem which I can’t figure it out. I have declared all objects with their schemas and up to a point it worked. After I created another couple of embedded objects which have their own embedded objects my application started to close down automatically as soon as I try to create an instance of and object and sync it. Is it because the schema is to complex or the main object is to large to create it ?

Main parent object.

Parent embedded object

child embedded object