was there any water coming out from the base of dishwasher? if so the antiflood device is coming on, and you may have a leak also does dishwasher tend to fill up with water even when not in use? if it does then check waste pipe under the sink it has to go up above sink leval.