Years ago a member has a problem where the bike would idle okay if it was stationary. The engine would idle and rev okay but as soon as the bike rolled the engine would stumble. The bike would be on the center stand, engine running, and gearbox in neutral. If the rear wheel was not moving the engine was fine. As soon as the rear wheel was rotated the engine would stumble. It was crosstalk between the speed sensor and another sensor circuit in a plug. I don't remember what plug in the harness or if it was the ECU plug. The fix was rinsing out the plug with water drying with compressed air and resealing the plug with silicone grease to seal out future water. What was happening was water from roadways that had been salted to melt snow, made it into the plug assembly and because it was salty water it enable conductivity between circuits that would normally be isolated from one another.