How to find the VSCode error when reading DMN file

304 views Asked by At

I am using VSCode to design DMN files. Sometimes when I try to read a file, it simply displays the message:

Editor content has not been set.

Something went wrong. An attempt has been made to view the editor before content is set.

Is there any way to find the error message that was actually produced when reading the file? Usually the exception that is thrown has a much better description about what is missing or wrong with the file. I have searched for log files produced by VSCode but I can't find any with this or any related error in it.

1

There are 1 answers

5
Yeser Amer On

There are three possible reasons to explain the above error.

  1. Your DMN file is invalid (eg. a XML tag is wrong or the schema hierarchy is broken)
  2. Your DMN file version is not supported by the editor. Currently, the editor supports up to DMN version 1.3
  3. An unexpected error occurred. In that case, the analysis of your file is the only way to determine the root cause.

The next version of the extension (0.27.0), will show an additional message reporting the root cause of the issue.

enter image description here