The above error was being thrown for some users when scanning for VNC in certain groups. This was happening due to a bug in the module that checked to see who was logged into the remote computer.
This has been fixed and a new release had been placed at http://www.vncscan.com/vs/download.htm