SONAR-5868 Protect against NPE when there is no source for a file (e.g directory)
SONAR-5819 Fix handling of empty line (IOOBE in WS)