If you receive this error message when trying to use the Wall End Cap tool:
Download and run the attached .txt VectorScript.
To do this, first save the attachment to your desktop or downloads folder, then go to Tools > Scripts > Run VectorScript and select the "Wall End Cap Error Fix.txt" file and click Open.