Open subotaii opened 4 years ago
@subotaii Could you please send me the sample of sonar-java plugin output. I can't change the contract if I don't know the output of that plugin.
You can run this command: codeclimate analyze -f json > result.json
and find an item which don't have other_locations
key
Thank you in advance!
Hello Nhat, I don't have any problem when i execute the analysis from command line (codeclimate analyze -f json > result.json), the resulting json seems good and there is no item 'other_locations'.
Stacktrace of the execution of your plugin :
kotlinx.serialization.MissingFieldException: Field 'other_locations' is
required, but it was missing
at
net.ntworld.codeCleaner.codeClimate.internal.AnalyzedIssueImpl.
Le dim. 5 janv. 2020 à 21:18, Nhat Phan notifications@github.com a écrit :
@subotaii https://github.com/subotaii Could you please send me the sample of sonar-java plugin output. I can't change the contract if I don't know the output of that plugin.
You can run this command: codeclimate analyze -f json > result.json and find an item which don't have other_locations key
Thank you in advance!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nhat-phan/shit-cleaner/issues/4?email_source=notifications&email_token=ANCYYQVVOTJWEU47RQ5AFWLQ4I6ARA5CNFSM4KAZHDF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEID6S2I#issuecomment-570943849, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANCYYQQBN5FITB5X52WDIYLQ4I6ARANCNFSM4KAZHDFQ .
Hi @subotaii could you please send me 1 item which doesn't have other_locations
. I meant I want to know structure of the item then I can write a correct JSON parser.
Hey! Is there any updates? I have the same problem
@nhat-phan I see that in result.json file only "engine_name":"checkstyle" have no key other_locations. May be it will helps you
@nhat-phan Hey! Is there any updates?
Nice work with this intellij plugin nhat phan ! When a launch analyze with sonar-java plugin, i got the exception below.
Here my .codeclimate.yml file.