I’ve had two different dishwashers fail, both times a poorly soldered joint on the PCB for the heater circuit. A quick fix as I know where to look next time.Very unlikely to be connected- just a dodgy connection in the plug. Dishwashers draw 10 - 11 amp for quite a while and any weak point will get hot.