Tin Men is a 1987 American comedy film written and directed by Barry Levinson, produced by Mark Johnson, and starring Richard Dreyfuss, Danny DeVito, and Barbara Hershey. From Wikipedia
Missing a role in Tin Men followed by an aborted Biloxi Blues audition sheds light on the volatility of casting decisions.