Revit -Enscape Material Editor error

in one of my models whenever i want to start the material editor I keep getting the following error.

I have tried to run in it in an empty project and it runs without any problems. Would appreciate any hints of how to solve this.