scan failed on private github repository, with message:
The last analysis has failed. If it keeps on failing after several attempts, please contact us on Community forum and provide the following failing analysis ID: “88b5bbaf-4fab-4185-ae4b-06478f8f635f”.
Hi Oghcfb,
Welcome to the Community Support !
Your analysis has failed with a stack overflow exception.
INFO: Sensor PHP sensor [php]
INFO: Starting PHP symbol indexer
INFO: 99 source files to be analyzed
INFO: 99/99 source files have been analyzed
INFO: Starting PHP rules
INFO: 99 source files to be analyzed
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 1:03.506s
INFO: Final Memory: 85M/287M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarScanner execution
java.lang.StackOverflowError
at java.base/java.util.regex.IntHashSet.contains(Unknown Source)
at java.base/java.util.regex.Pattern$Loop.match(Unknown Source)
at java.base/java.util.regex.Pattern$GroupTail.match(Unknown Source)
It’s on our side, I will ping the relevant team to try to sort this out and let you know.
Sorry for the inconvenience.
Best.
Hi @oghcfb,
We are aware of this problem. We have a bug fix and will make it available on SonarCloud with the upcoming release of the PHP analyzer.
As @Karim_El_Ouerghemmi recommended in this thread, you can temporarily disable this rule until the bug fix is released. We apologize for these circumstances.
Best,
Nils