Once again Trump takes illegal actions that result in court cases getting thrown out.
In these two cases, the Judge ruled Trump's hand picked Barbie prosecutor was appointed unlawfully. Comey's case is outside the SOL now and cannot be refiled. They might be able to refile the James case but it would likely be difficult as the whole reason Barbie was illegally appointed was because no competent attorney would sign off on the case.
https://thehill.com/regulation/court-battles/5620432-judge-dismisses-trump-adversaries-cases/