Charlie Stobo was nearly the hero for NSW, as Victoria held on in the last over for their first one-day win of the season.