digdas
(Aart)
August 18, 2021, 2:48pm
#1
Logfile:
Error from [org.codenarc.rule.formatting.SpaceAfterClosingBraceRule] processing source file [null]
java.lang.StringIndexOutOfBoundsException: String index out of range: 1
versions used (SonarQube → sonarqube-7.9.3
)
Running on Jenkins.
export JAVA_HOME=/etc/alternatives/java_jdk_1.8.0
PATH=$PATH:/mnt/J2Dev/node-v8.17.0-linux-x64/bin
sh ./gradlew sonarqube
(Grails 3-project)
Other projects work
How can I verify which file is giving the issue?
ganncamp
(G Ann Campbell)
August 18, 2021, 4:08pm
#2
Hi,
Welcome to the community!
That error is from Codenarc. You’ll need to ask them about it. Unfortunately, we can’t help you with it here.
Ann
digdas
(Aart)
August 19, 2021, 6:20am
#3
Thanks - I should have spotted that. Will check further.
digdas
(Aart)
August 19, 2021, 6:28am
#4
B.t.w., my issue was probably caused by having a backslash \ in one of the files. After removal the analysis continued.
2 Likes
system
(system)
closed
August 26, 2021, 6:29am
#5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.