-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execute decorators failing #625
Comments
usually when getting those in decorates there is more information about it. like that i havent seen |
Turning also error messages on (-e) I get info below. It is also an ArrayIndexOutOfBoundsException and the same as #600 (https://jira.sonarsource.com/browse/SONAR-6792). I documented how to create additional info in https://github.com/wenns/sonar-cxx/wiki/Get-debug-information.
|
#611 it should be related with this. we also get it once in a while when sources and reports get unsynched |
Hello! We're also having this problem with sonar-runner-2.4 and sonarqube-5.1.2 . It seems indeed like sources and reports are unsynchronized. I tried to workaround by adding empty lines at the end of the source files and have the runner complete, but there could be a lot of source files in this case. Is there another way to solve the cause of the problem: unsynchronized sources and reports? |
We get this because you don't run static analysis in the same moment as we run sonar analysis because of the nature of our projects. But we have this well identified and actually the failing builds actually are a good thing since it prevent adding incorrect data |
Actually there were only 3 files concerned, but one can't know that before analysis. There could have been a lot more... The runner succeeded and the reports were saved to the database. I removed the extra lines and scheduled another run. Wait and see :) So you mean that the unsync is an identified problem with work in progress? |
yep, but its our own context. should not apply to you |
Ok, thanks anyway! This workaround was very helpful! |
There is only one log file for a solution for multiple VS projects (or modules) which might be located in the parent folder of the project root folder. support CppCheck 1.70 new messages remove deprecated fromIOFile from sensors - close SonarOpenCommunity#629 - replace File.fromIOFile with FileSystem.inputFile - replace org.sonar.api.resources.File with org.sonar.api.batch.fs.InputFile - use org.sonar.api.batch.fs.internal.DefaultFileSystem in unit tests - add addInputFile to TestUtils: all files listed in report files must be added to DefaultFileSystem - for reports with absolute paths there are two versions needed: one for Window and one for Linux - close SonarOpenCommunity#611, close SonarOpenCommunity#600, close SonarOpenCommunity#625: add fix for https://jira.sonarsource.com/browse/SONAR-6792 support team builds There is only one log file for a solution for multiple VS projects (or modules) which might be located in the parent folder of the project root folder.
Have some projects which are failing after Execute decorators (SQ 5.1.1 & CXX 0.9.4). I don't know why? Someone an idea?
Normally it should continue like this:
The text was updated successfully, but these errors were encountered: