java.lang.NullPointerException at org.sonar.api.batch.fs.internal.DefaultIndexedFile.hashCode(DefaultIndexedFile.java:140) at org.sonar.api.batch.fs.internal.DefaultInputFile.hashCode(DefaultInputFile.java:180) at java.util.HashMap.hash(HashMap.java:338) at java.util.HashMap.put(HashMap.java:611) at org.sonar.scanner.scan.DefaultComponentTree.index(DefaultComponentTree.java:40) at org.sonar.scanner.scan.filesystem.FileIndexer.indexFileAndParentDir(FileIndexer.java:206) at org.sonar.scanner.scan.filesystem.FileIndexer.indexFile(FileIndexer.java:185) at org.sonar.scanner.scan.filesystem.FileIndexer.access$400(FileIndexer.java:59) at org.sonar.scanner.scan.filesystem.FileIndexer$IndexFileVisitor.lambda$visitFile$0(FileIndexer.java:246) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
Do you have any ideas what might be the problem?
Thanks,
Linus Lotz
/var/lib/jenkins/workspace/commerce-webshop_sonar_test-DUBVT6YB3IFQ6T3FGNMI4TGUTM6E34UGNV5Y2V4VPYOHBSFMWAPA/hybris/bin/platform/resources/ant/sonar.xml:89: java.lang.IllegalStateException: Dir /var/lib/jenkins/workspace/commerce-webshop_sonar_test-DUBVT6YB3IFQ6T3FGNMI4TGUTM6E34UGNV5Y2V4VPYOHBSFMWAPA/hybris/bin/custom/xxxxx/xxxxxfacades/src/de/portaltech/xxxxx/facades/customerticket should be relative to project baseDir
at org.sonar.scanner.scan.filesystem.InputComponentStore.lambda$getProjectRelativePath$3(InputComponentStore.java:157)
at java.util.Optional.orElseThrow(Optional.java:290)
at org.sonar.scanner.scan.filesystem.InputComponentStore.getProjectRelativePath(InputComponentStore.java:157)
at org.sonar.scanner.scan.filesystem.InputComponentStore.put(InputComponentStore.java:151)
at org.sonar.scanner.scan.filesystem.ModuleInputComponentStore.doAdd(ModuleInputComponentStore.java:86)
at org.sonar.api.batch.fs.internal.DefaultFileSystem$Cache.add(DefaultFileSystem.java:209)
at org.sonar.api.batch.fs.internal.DefaultFileSystem.add(DefaultFileSystem.java:184)
at org.sonar.scanner.scan.filesystem.FileIndexer.indexFileAndParentDir(FileIndexer.java:204)
at org.sonar.scanner.scan.filesystem.FileIndexer.indexFile(FileIndexer.java:185)
at org.sonar.scanner.scan.filesystem.FileIndexer.access$400(FileIndexer.java:59)
at org.sonar.scanner.scan.filesystem.FileIndexer$IndexFileVisitor.lambda$visitFile$0(FileIndexer.java:246)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
/var/lib/jenkins/workspace/commerce-webshop_sonar_test-DUBVT6YB3IFQ6T3FGNMI4TGUTM6E34UGNV5Y2V4VPYOHBSFMWAPA/hybris/bin/custom/xxxxx/xxxxxfacadesand the offending path is:
/var/lib/jenkins/workspace/commerce-webshop_sonar_test-DUBVT6YB3IFQ6T3FGNMI4TGUTM6E34UGNV5Y2V4VPYOHBSFMWAPA/hybris/bin/custom/xxxxx/xxxxxfacades/src/de/portaltech/xxxxx/facades/customerticketwhich is inside the basedir
--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/c7TNFwbVhVY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/0bab1ebb-40ed-4ec8-8cd0-e60a64995dce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/0bab1ebb-40ed-4ec8-8cd0-e60a64995dce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/c7TNFwbVhVY/unsubscribe.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/cab6c147-a7ba-8cd8-00e2-fcdf969e627c%40pttde.de.To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
/var/lib/jenkins/workspace/commerce-webshop_sonar_test-DUBVT6YB3IFQ6T3FGNMI4TGUTM6E34UGNV5Y2V4VPYOHBSFMWAPA/hybris/bin/customand linked to:
../../bin/customThanks,
/var/lib/jenkins/workspace/commerce-webshop_sonar_test-DUBVT6YB3IFQ6T3FGNMI4TGUTM6E34UGNV5Y2V4VPYOHBSFMWAPA/bin/custom(the difference is the 'hybris' directory is not included in the path)
# must be unique in a given SonarQube instance
sonar.projectKey=my:project
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
sonar.projectName=My project
sonar.projectVersion=1.0
sonar.modules=../custom/module1
../custom/module1.sonar.projectKey=module1
#../custom/module1.sonar.sources=src
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# This property is optional if sonar.modules is set.
sonar.sources=.
# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8
To unsubscribe from this group and all its topics, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/0bab1ebb-40ed-4ec8-8cd0-e60a64995dce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/c7TNFwbVhVY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/23603f2b-b7de-438d-b702-ec1349fdd391%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/c7TNFwbVhVY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/6b6b7b0f-ffeb-4adf-9bf7-f6ba0fdf2191%40googlegroups.com.