The Health and Safety Executive launched an investigation after a painter working onboard suffered serious injuries.