org.sonar.squidbridge.api.AnalysisException

Unable to analyze file: /home/build/jenkins/workspace/xman-devel-sonarqube/debugconfig/debug/label/centos7/qtversion/qt4-companyname-static-4.8.5/xman/modules/cmcInterface/src/cmcInterface.cpp


Solutions on the web181

Solution icon of github
Unable to analyze file: /home/build/jenkins/workspace/xman-devel-sonarqube/debugconfig/debug/label/centos7/qtversion/qt4-companyname-static-4.8.5/xman/modules/cmcInterface/src/cmcInterface.cpp

Solution icon of stackoverflow
SonarQube is unable to analyze file : '/application/scanner/jenkins/workspace/Test/src/Cases/address/PerAddress.java'

Solution icon of github
SonarQube is unable to analyze file : '/var/lib/jenkins/workspace/sonar-protostuff/protostuff-core/src/main/java/io/protostuff/ProtobufOutput.java'

Solution icon of googlegroups
via Google Groups by Unknown author, 1 week ago
SonarQube is unable to analyze file : '/var/lib/jenkins/jobs/TestProject/workspace/src/com/coe/abh/intranet/fooclasses/ObjectFactory.java'

Solution icon of stackoverflow
SonarQube is unable to analyze file : 'D:\Jenkins\workspace\DVLP MW1.0 Coverage und Codeanalyse\EJBs\src\mach\logistik\entities\mMarktplatz.java'

Solution icon of googlegroups
SonarQube is unable to analyze file : '/xxxxx/jenkins/jenkins-data-2/workspace/projects/video-audit/video-audit-nightly/audit/audit_controller/src/main/java/xxxxx/xxxxx/audit/controller/AuditController.java'

Solution icon of googlegroups
via Google Groups by Adam Gabryś, 4 days ago
SonarQube is unable to analyze file : '/var/lib/jenkins/workspace/ing_trunk_sonar/sources/cib-actions/src/main/java/com/company/cib/corpo/struts/actions/IngCcsRightsAction.java'*13:59:10*

Solution icon of googlegroups
SonarQube is unable to analyze file : '/home/administrator/workspace/aosp/v10/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/FormatterTest.java'

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
SonarQube is unable to analyze file : '/var/lib/jenkins/workspace/ing_trunk_sonar/sources/cib-actions/src/main/java/com/company/cib/corpo/struts/actions/IngCcsRightsAction.java'

Solution icon of stackoverflow
SonarQube is unable to analyze file : '/var/lib/jenkins/workspace/Project/module9/src/com/module/b2b/ordermanagement/actions/order/cancel/ProcessOrderCancellationAction.java'

Stack trace

  • org.sonar.squidbridge.api.AnalysisException: Unable to analyze file: /home/build/jenkins/workspace/xman-devel-sonarqube/debugconfig/debug/label/centos7/qtversion/qt4-companyname-static-4.8.5/xman/modules/cmcInterface/src/cmcInterface.cpp at org.sonar.squidbridge.AstScanner.scanFiles(AstScanner.java:131) at org.sonar.plugins.cxx.squid.CxxSquidSensor.execute(CxxSquidSensor.java:141) at org.sonar.scanner.sensor.SensorWrapper.analyse(SensorWrapper.java:53) at org.sonar.scanner.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:57) at org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:49) at org.sonar.scanner.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:78) at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:184) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241) at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236) at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) at org.sonar.scanner.task.ScanTask.execute(ScanTask.java:47) at org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:86) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) at org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:115) at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:118) at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60) at com.sun.proxy.$Proxy0.execute(Unknown Source) at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:233) at org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151) at org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:110) at org.sonarsource.scanner.cli.Main.execute(Main.java:74) at org.sonarsource.scanner.cli.Main.main(Main.java:61) Caused by: java.lang.IllegalStateException: Cannot register highlighting rule for characters at Range[from [line=115, lineOffset=108] to [line=115, lineOffset=151]] as it overlaps at least one existing rule at org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting.checkOverlappingBoudaries(DefaultHighlighting.java:59) at org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting.doSave(DefaultHighlighting.java:122) at org.sonar.api.batch.sensor.internal.DefaultStorable.save(DefaultStorable.java:43) at org.sonar.plugins.cxx.highlighter.CxxHighlighter.leaveFile(CxxHighlighter.java:118) at com.sonar.sslr.impl.ast.AstWalker.walkAndVisit(AstWalker.java:71) at org.sonar.squidbridge.AstScanner.scanFiles(AstScanner.java:110) ... 31 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.