-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
dartanalyzer sensor error #11
Comments
I keep getting this error also +1 |
Here is a stacktrace. I'm running this in a docker container. ***** <- is for privacy
|
Jake one question, I was just wondering, do you have Android Sdk on that machine you're testing the plugin? |
yes, version 29 of the Android Sdk also here is my docker container. container |
I manually ran the exact same command while inside the docker container and got no errors, dartanalyzer is only an issue with sonar-scanner |
@Clearedkinkajou Mmm I think is because it is expecting exit status 0 by default as is defined here ProcBuilder class Btw do you know what does status 3 mean for the analyzer? I've been searching but haven't found any info about it. |
Apparently it just means error |
I also want to add that I only get this error in a contained environment such as Travis or a docker container. On all PC's I've tried it works with no error. I've tried 4 different computers, 2 Linux, 1 mac and 1 windows |
Hi, Did you check that "dartanalyzer" is on the path ? |
|
I've checked it with docker sonarqube:7.6-community and sonarqube:8.2-community and I have got the same error. |
Sadly, I'm facing the same issue ):
|
I fixed this via PR #16 . https://github.com/amondnet/sonar-flutter/releases/tag/0.2.2-SNAPSHOT |
No, with the new release (https://github.com/insideapp-oss/sonar-flutter/releases/download/0.2.1/sonar-flutter-plugin-0.2.1.jar) I have the same error as earlier (org.buildobjects.process.ExternalProcessFailureException: External process 'dartanalyzer ... lib/elements/button.dart' returned 3 after 11780ms)
There are the following commands inside the docker:
BTW, As I see from the pull request #16 it is still open. Does it mean that pull request #16 is not merged yet? |
@kavkdv What is your java version? SonarScanner-4.3.0.2102 -> JRE 11.0.3
|
@skindud build from source ( |
I've used this way and have got the new error:
|
@skindud https://github.com/insideapp-oss/sonar-flutter/blob/master/README.md#run-analysis Use the following commands from the root folder to start an analysis:
|
new error
|
Hi @amondnet , thx for your response, I changed version of Java to 11 and everything working fine right now, but I see in logs one strange warning: ##[error]WARNING: An illegal reflective access operation has occurred Could you help me with that? |
Hi, |
Hi, when executing dartanalyzer error after some minutes it caughts an exception:
org.buildobjects.process.ExternalProcessFailureException: External process 'dartanalyzer lib/* returned 3 after 201868ms
Any clue about this error?
Thanks!
The text was updated successfully, but these errors were encountered: