This code seems to be related to business events – looking at the events I can see the following two were activated:
1. BatchJobCanceledBusinessEvent
2. BatchJobFailedBusinessEvent
I deactivated and deleted the business events. This allowed me to run batch jobs without getting the previously referenced error.