Hello,
I'm unable to reproduce any errors when changing the document root of an addon domain name in the cPanel UI. Could you let us know which version of cPanel is installed on the system, and let us know if you notice any output to /usr/local/cpanel/logs/error_log when this happens? Also, have you tried with a different web browser and verified this isn't related to a specific web browser plugin or setting?
Thank you.