Discussion:
[sonar-user] cant index twice
Saurabh Ahuja
2015-04-23 09:48:24 UTC
Permalink
Hi
I am facing strange issue when trying to run sonar analysis for test folder-

INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 36.564s
Final Memory: 21M/750M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: File [relative=xxxxxxxxxxxxTest.java,
abs=/xxxxxxxxxxxxTest.java] can't be indexed twice. Please check that
inclusion/exclusion patterns produce disjoint sets for main and test
files
ERROR:
ERROR: To see the full stack trace of the errors, re-run SonarQube
Runner with the -e switch.
ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging.
Build step 'Invoke Standalone Sonar Analysis' marked build as failure


Any help with above issue?
--
Thanks,
Saurabh Ahuja
Loading...