herlon214
(Herlon Aguiar)
May 5, 2022, 10:00am
1
Hello, I’m running Sonarqube Developer Edition version 9.4.0.54424.
I’ve seen many parsing errors like:
ERROR: Cannot parse 'pkg/something/file.go': Go parser external process returned non-zero exit value: 2
Those errors are caused due to golang generics, so I presume the parser is outdated.
Golang 1.18 was released on March: go1.18 (released 2022-03-15)
Please update the version or tell me someway to update by myself.
ganncamp
(G Ann Campbell)
May 5, 2022, 3:58pm
2
Hi,
We added parsing of Go 1.17 in SonarQube 9.4. You can watch this ticket for progress on Go 1.18: SONARSLANG-552 .
HTH,
Ann
1 Like
herlon214
(Herlon Aguiar)
May 6, 2022, 1:37pm
5
Thanks for letting us know.
Do you have any idea when it will be done? I can see it’s still Unassigned
.
It’s being big blocker for us at the moment.
ganncamp
(G Ann Campbell)
May 6, 2022, 1:50pm
6
Hi,
Sorry, I don’t have a timeline.
Ann
Hi,
I am also facing this issue…the SONARSLANG-552 seems to be fixed. Is it available for general public? If yes can you please point me the sonar-scanner version in which it’s available.
ganncamp
(G Ann Campbell)
November 2, 2022, 5:32pm
10
Hi @ahmad.imt07 ,
That would have been included in the next release of SonarQube. Since there have been a couple since the ticket’s fix date, if you’re on the latest version (9.7.1) you should have it.
Aaand… checking release announcements, it was released in SonarQube 9.6 .
HTH,
Ann
ahmad.imt07
(Imteyaz Ahmad)
November 3, 2022, 11:45am
11
Hi Ann,
After upgrading to the latest version the issue is not coming anymore. Thanks for help
Best,
Imteyaz
1 Like