Ugandan judges and generals face off before polls