Skip to content
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

ERROR - Command 'oclint-json-compilation-database $args' failed with error code: 247 #297

Open
yurll opened this issue Sep 2, 2021 · 4 comments

Comments

@yurll
Copy link

yurll commented Sep 2, 2021

New Issue Checklist

Issue Description

While running a run-sonar-swift.sh I'm receiving an error
ERROR - Command 'oclint-json-compilation-database -v --include ../Project/. -- -rc LONG_LINE=250 -max-priority-1 10000 -max-priority-2 10000 -max-priority-3 10000 -report-type pmd -o sonar-reports/.-oclint.xml' failed with error code: 247

Command executed

./run-sonar-swift.sh
within that script it throws the following command:
oclint-json-compilation-database -v --include ../Project/. -- -rc LONG_LINE=250 -max-priority-1 10000 -max-priority-2 10000 -max-priority-3 10000 -report-type pmd -o sonar-reports/.-oclint.xml

 We have created a new project for test purposes and still getting the same error 

Environment

SonarQube server: 
Version 8.9.1(not the last one, but 9 is not compatible with this plugin
SonarQube Runner: 
INFO: SonarScanner 4.6.2.2472
INFO: Java 11.0.11 AdoptOpenJDK (64-bit)
INFO: Mac OS X 11.1 x86_64
 
@lchenfox
Copy link

lchenfox commented Mar 2, 2022

Did you solve it? I have the same issue like this.

@karthisiva
Copy link

karthisiva commented Oct 21, 2022

Any update on this? I have the same issue like this.

@chatreejs
Copy link

I have the same issue but exit code is 6.

@yurll
Copy link
Author

yurll commented Feb 13, 2024

There is an issue with the first line in the report. I used 'sed' to update the first line and this helped. Not a fix, but it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants