My brothers bike had similar issue with the "non-functioning" throttle, many times. It also caused the check engine to come on.
After numerous visits to the dealer, who claimed the TPS plug was out,...

I couldn't wait to replace the final drive oil, as the whining noise was..... concerning. At times and at certain speeds the whining made me question if there was any oil at all in the final drive.
...