Fixed cartridge agent runtime exceptions