SONAR-926 Fix NPE in sonar-java during first analysis with 4.2
SONAR-926 Add test on file hash