The vote devastated gay-rights groups because Gov.-elect Christopher J. Christie, who takes office Tuesday, has said he would not sign such a bill. The plan would have fallen short even with Sweeney's support, but he angered even some Democrats by not voting.