As with others on this forum, I traced this to a loose oil sensor connector. It's pretty tough to access but I managed to retension the spade connector without removing the airbox. Access is just in front of the left cylinder, below the gas tank on the crankcase itself. There's a single wire going the sensor. I used a long flat screwdriver needlenose pliers to do it.