Documents App Error

Just tried to create and edit a new document.
Creation is working, but editing not. Several seconds after opening the file, its closing automatically and giving an error message: