Cannot change attachments names on the page - Errors

After adding a file to the attachments, I want to rename the file to a different name and get an error message. “Failed to move attachment” and “Cause: [NullPointerException: ]”

atachment
failed to move

when I try to open the attachment where the renamed file is located I get this information.

fail-serwer