Closed tPl0ch closed 3 years ago
Hi @tPl0ch
Thanks for reporting your issue!
Unfortunately I cannot reproduce it; although I work with Ubuntu and Java 11 as well... Can you maybe share the content of your model.cml
file? Because I don't know which example you mean (there is no model.cml
here)... And which version of the Context Mapper extension do you use?
Just an assumption: Maybe you created an empty model.cml
file first and then copy-pasted the content? Because it is a known-issue that the language server throws this exception in case you have an empty file (an empty file is not a valid CML model). In that case the exception could be ignored; as long it is not thrown again after pasting the model into the file.
Thanks and best regards, Stefan
Hi @stefan-ka
Just an assumption: Maybe you created an empty model.cml file first and then copy-pasted the content? Because it is a known-issue that the language server throws this exception in case you have an empty file (an empty file is not a valid CML model). In that case the exception could be ignored; as long it is not thrown again after pasting the model into the file.
Yeah, somehow that was one of the issues. Another one was that I forgot to create the BoundedContext definitions before referencing them in the ContextMap
block. So all works right now, closing this.
And congrats for this awesome library, it's really helpful.
Thanks for the feedback @tPl0ch!
Hi,
I am using VSCode with the ContextMapper extension on Ubuntu, and when using the Insurance example CML definitions the CML Language Server fails with the exception that the valid CML is not a valid CML model.
Exception
Java
VS Code