Trial and Error is a 1997 American comedy film directed by Jonathan Lynn and starring Michael Richards, Jeff Daniels and Charlize Theron. The film's plot concerns an attorney and his actor friend, who takes his place in court to defend his boss's hopelessly guilty relative.