Authorities in western New York say a 20-year-old man thought he was sleeping on his friend's couch when state troopers woke him up over the weekend.