You have a bad ground. The oil temp sensor is nothing but a resistor that changes according to temperature. We are basically measuring the voltage across the resistor to ground.
First, check your engine ground. It is the most likely source. If not that, check the ground(s) to your instrument panel.
Vic