Civil case dismissed by judge before trial