Broker crashed when setting language code on report

In a specific situation, the broker crashed when a batch job was executed for a report where a language needed to be retrieved that did not exist in the selected document for that report.