The judge's ruling came after a police detective serving as a witness in the case shared information previously undisclosed to the legal teams involved in the trial.