Unable to create symbol table for *** -- Registering symbol: 'a' twice in the same scope #bug:fault

java
sonarqube
(Johnny Do Amaral Ribeiro) #1

Hi,

While analyzing an android project with Sonarqube, it finished with errors for a couple of classes complaining that it was

“Unable to create symbol table for … Registering symbol: ‘a’ twice in the same scope”

I’m using:

SonarQube 7.7
sonarqube-gradle-plugin:2.7.1
SonarJava 5.11 (build 17289)
gradle:3.2.1
Android Studio 3.3.2

Any idea on what’s going on?

(Tibor Blenessy) #2

Hello @johnnydoamaral, and welcome to SonarSource community!

Could you please provide an example of the class where you receive such warning? Are these classes otherwise compilable? If yes, this would be most likely a bug in semantic engine of SonarJava and we would be happy to fix it.

(Johnny Do Amaral Ribeiro) #3

Hi Tibor,

First of all, thanks for your reply.

Yes, all the affected classes compile fine. No repeated identifier in any scope in any of them.

Please find attached the source files of the classes involved. Let me know in case of any doubts.

Thanks in advance.TemporalActivity.txt (1.3 KB)
TokenDialog.txt (1017 Bytes)