You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have configured some analyzes and they are giving the errors, presented in the attached log, apparently due to a rule, which I have deactivated in the profile assigned to the project but it does still fail.
Screenshots & log
User environment
Please complete the following information.
OS: windows 10 for the proyect , Linux (Centos) for Sonarqube
Java version: 8
SonarQube: 6.7
Plugin version: [ 2.0.1]
Additional context
03:11:52 03:11:52.863 INFO: ------------------------------------------------------------------------
03:11:52 03:11:52.863 INFO: EXECUTION FAILURE
03:11:52 03:11:52.863 INFO: ------------------------------------------------------------------------
03:11:52 03:11:52.863 INFO: Total time: 15.731s
03:11:53 03:11:53.001 INFO: Final Memory: 426M/1602M
03:11:53 03:11:53.001 INFO: ------------------------------------------------------------------------
03:11:53 03:11:53.001 ERROR: Error during SonarScanner execution
03:11:53 java.lang.IndexOutOfBoundsException: Index: -1, Size: 1
03:11:53 at java.util.LinkedList.checkElementIndex(Unknown Source)
03:11:53 at java.util.LinkedList.get(Unknown Source)
03:11:53 at fr.cnes.icode.fortran90.rules.COMNAMEHomonymy.run(COMNAMEHomonymy.java:1477)
03:11:53 at fr.cnes.icode.Analyzer.stableCheck(Analyzer.java:224)
03:11:53 at fr.cnes.sonar.plugins.icode.check.ICodeSensor.executeEmbeddedICode(ICodeSensor.java:189)
03:11:53 at fr.cnes.sonar.plugins.icode.check.ICodeSensor.execute(ICodeSensor.java:110)
03:11:53 at org.sonar.scanner.sensor.SensorWrapper.analyse(SensorWrapper.java:53)
03:11:53 at org.sonar.scanner.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:88)
03:11:53 at org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:82)
03:11:53 at org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:68)
03:11:53 at org.sonar.scanner.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:88)
03:11:53 at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:177)
03:11:53 at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)
03:11:53 at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)
03:11:53 at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:291)
03:11:53 at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:286)
03:11:53 at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:264)
03:11:53 at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)
03:11:53 at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)
03:11:53 at org.sonar.scanner.task.ScanTask.execute(ScanTask.java:48)
03:11:53 at org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:84)
03:11:53 at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)
03:11:53 at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)
03:11:53 at org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:121)
03:11:53 at org.sonar.batch.bootstrapper.Batch.doExecuteTask(Batch.java:116)
03:11:53 at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:71)
03:11:53 at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
03:11:53 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
03:11:53 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
03:11:53 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
03:11:53 at java.lang.reflect.Method.invoke(Unknown Source)
03:11:53 at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
03:11:53 at com.sun.proxy.$Proxy0.execute(Unknown Source)
03:11:53 at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
03:11:53 at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
03:11:53 at org.sonarsource.scanner.cli.Main.execute(Main.java:112)
03:11:53 at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
03:11:53 at org.sonarsource.scanner.cli.Main.main(Main.java:61)
03:11:53 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
03:11:53 ERROR: SonarQube scanner exited with non-zero code: 1
03:11:54 Finished: FAILURE
The text was updated successfully, but these errors were encountered:
Hello... thanks for the help...
Describe what you need to know
I have configured some analyzes and they are giving the errors, presented in the attached log, apparently due to a rule, which I have deactivated in the profile assigned to the project but it does still fail.
Screenshots & log
User environment
Additional context
03:11:52 03:11:52.863 INFO: ------------------------------------------------------------------------
03:11:52 03:11:52.863 INFO: EXECUTION FAILURE
03:11:52 03:11:52.863 INFO: ------------------------------------------------------------------------
03:11:52 03:11:52.863 INFO: Total time: 15.731s
03:11:53 03:11:53.001 INFO: Final Memory: 426M/1602M
03:11:53 03:11:53.001 INFO: ------------------------------------------------------------------------
03:11:53 03:11:53.001 ERROR: Error during SonarScanner execution
03:11:53 java.lang.IndexOutOfBoundsException: Index: -1, Size: 1
03:11:53 at java.util.LinkedList.checkElementIndex(Unknown Source)
03:11:53 at java.util.LinkedList.get(Unknown Source)
03:11:53 at fr.cnes.icode.fortran90.rules.COMNAMEHomonymy.run(COMNAMEHomonymy.java:1477)
03:11:53 at fr.cnes.icode.Analyzer.stableCheck(Analyzer.java:224)
03:11:53 at fr.cnes.sonar.plugins.icode.check.ICodeSensor.executeEmbeddedICode(ICodeSensor.java:189)
03:11:53 at fr.cnes.sonar.plugins.icode.check.ICodeSensor.execute(ICodeSensor.java:110)
03:11:53 at org.sonar.scanner.sensor.SensorWrapper.analyse(SensorWrapper.java:53)
03:11:53 at org.sonar.scanner.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:88)
03:11:53 at org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:82)
03:11:53 at org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:68)
03:11:53 at org.sonar.scanner.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:88)
03:11:53 at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:177)
03:11:53 at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)
03:11:53 at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)
03:11:53 at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:291)
03:11:53 at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:286)
03:11:53 at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:264)
03:11:53 at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)
03:11:53 at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)
03:11:53 at org.sonar.scanner.task.ScanTask.execute(ScanTask.java:48)
03:11:53 at org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:84)
03:11:53 at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)
03:11:53 at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:121)
03:11:53 at org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:121)
03:11:53 at org.sonar.batch.bootstrapper.Batch.doExecuteTask(Batch.java:116)
03:11:53 at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:71)
03:11:53 at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
03:11:53 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
03:11:53 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
03:11:53 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
03:11:53 at java.lang.reflect.Method.invoke(Unknown Source)
03:11:53 at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
03:11:53 at com.sun.proxy.$Proxy0.execute(Unknown Source)
03:11:53 at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
03:11:53 at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
03:11:53 at org.sonarsource.scanner.cli.Main.execute(Main.java:112)
03:11:53 at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
03:11:53 at org.sonarsource.scanner.cli.Main.main(Main.java:61)
03:11:53 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
03:11:53 ERROR: SonarQube scanner exited with non-zero code: 1
03:11:54 Finished: FAILURE
The text was updated successfully, but these errors were encountered: