Please provide more information.
What version of yEd are you using? What version of Java are you using? What operating system are you using? (See "Help" -> "About" for that information.) Moreover, please add a screenshot of the error message and include the destination file path of the save operation.