This error is caused by a small value for Name Size in the Design Parameters. Usually the value that causes this is below 255. What you can do is change the name size to 255.
To do this you can go to:
- Click Setup > Design Parameters.
- Select the design tab
- Change "Long Name Size" value into 255.