Sonar-scanner error with android gradle project "Unable to create symbol table for : path/class.java"

Hi, i’ve created a Android Project with 16 minimal version and 29 for compiled version, when i run the sonar-scanner with default options and it finish with “EXECUTION SUCCESS”, before of that shows messages like this for each java class founded:

2020-02-13T16:35:24.1531274Z ##[error]ERROR: Unable to create symbol table for : /sysx/agent008/_work/95/s/testsonar/app/src/main/java/com/coppel/testsonar/MainActivity.java

java.lang.ArrayIndexOutOfBoundsException: 6

I don’t know why this hapen, because when i’m scan simple java project, not shows that messages that i say before.

thanks! and i will waiting your response.

Hello @abrahamendez89,

In order to help you, could you provide the full stack trace (–debug to have it)?

And ideally a reproducer?

Which scanner are you using? Sonar-scanner or the SonarQube plugin for gradle?

Quentin