Damn !!! Sorry to hear that you are having such troubles with "a brand new bike" ... Sitting for 3 years is not good anyway even if its on a battery tender. If the previous owner did not have any "Sta-bil" in the tank, as other inmates mentioned, you will have problems with the gas sitting around for so long, fuel line will get clogged and gummed up. The dealer will be able to take care of it and flush the whole system out, but I'm not sure if that would be considered under warranty ... Let us know how it turns out though, it'll be a valuable lesson for all of us ... But before you take it to the dealer maybe try what kimokk suggested and pour a bottle of Techron and see what happens, it might save you a headache taking it to the dealer, it usually is never fun to deal with that ... Good luck and keep us posted !
70' Yamaha TT's & XT's, 76' 650 XS Street Tracker, 77' 650 XS Desert Racer, 2005 Royal Enfield 500 Bullet, 90' Heritage Softail