Sonar Scanner is stuck in infinite loop on one java file after upgrading

543 views
Skip to first unread message

Ruth Mazi

unread,
Jun 19, 2017, 4:09:16 AM6/19/17
to SonarQube
Hi all,

Sonar Scanner is stuck in infinite loop on one java file.
We are facing this issue since last SonarQube upgrade from Version 5.4 to Version 5.6.6.

Is there a way to find which rule might be causing this and how to handle it?

Thank you,?
Ruth


Nicolas Peru

unread,
Jun 19, 2017, 4:10:09 AM6/19/17
to Ruth Mazi, SonarQube
Hi Ruth, 

Which version of SonarJava is installed on your server ? 
Cheers, 

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/66bb11af-82c4-4972-b9eb-309bad6d2c77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Nicolas Peru | SonarSource

Ruth Mazi

unread,
Jun 19, 2017, 4:14:25 AM6/19/17
to SonarQube, ruti.y...@gmail.com
Version 4.9.0.9858

בתאריך יום שני, 19 ביוני 2017 בשעה 11:10:09 UTC+3, מאת Nicolas Peru:

Nicolas Peru

unread,
Jun 19, 2017, 4:23:39 AM6/19/17
to Ruth Mazi, SonarQube
Hi, could you try to upgrade to latest version 4.10 ? 

And would you be able to share the log of analysis as well as the file causing the trouble ? 

Cheers, 

Ruth Mazi

unread,
Jun 19, 2017, 4:25:50 AM6/19/17
to SonarQube, ruti.y...@gmail.com
Hi,

I will try to upgrade SonarJava.
sending you the log and source file privately.

Thank you Nicolas

בתאריך יום שני, 19 ביוני 2017 בשעה 11:23:39 UTC+3, מאת Nicolas Peru:

Ruth Mazi

unread,
Jun 19, 2017, 7:08:41 AM6/19/17
to SonarQube, ruti.y...@gmail.com
Hi,

SonarJava was updated to 4.10 but the scanner still stuck in loop on the same file..
could you please take a look on the log on source file I've sent you?

Thanks, Ruth

בתאריך יום שני, 19 ביוני 2017 בשעה 11:25:50 UTC+3, מאת Ruth Mazi:

Ruth Mazi

unread,
Jun 19, 2017, 11:52:34 AM6/19/17
to SonarQube, ruti.y...@gmail.com
Hi, 

I found the root cause in one of our new custom rules.
the issue is resolved.

Thanks you,
Ruth 


בתאריך יום שני, 19 ביוני 2017 בשעה 14:08:41 UTC+3, מאת Ruth Mazi:
Reply all
Reply to author
Forward
0 new messages