A man accused of stalking X Factor winner Joe McElderry and his mother was convicted of harassment today.