Error canceling payment - ledger class not initialized when calling '%1'

Hello, I get an error with only one specific record in the customer transactions module when I attempt to cancel payment. This is version 2003.