org.sonar.plugins.openedge.api.org.prorefactor.refactor.RefactorException: C:\sonar-examples\projects\languages\toe2\src\junk.p:2:17: unexpe cted token: no-error

GitHub | stroyer | 5 months ago
  1. 0

    Unexpected token: no-error

    GitHub | 5 months ago | stroyer
    org.sonar.plugins.openedge.api.org.prorefactor.refactor.RefactorException: C:\sonar-examples\projects\languages\toe2\src\junk.p:2:17: unexpe cted token: no-error

    Root Cause Analysis

    1. org.sonar.plugins.openedge.api.antlr.NoViableAltException

      unexpected token: no-error

      at org.sonar.plugins.openedge.api.org.prorefactor.proparse.ProParser.createquerystate()
    2. org.sonar.plugins
      OpenEdgeProparseSensor.analyse
      1. org.sonar.plugins.openedge.api.org.prorefactor.proparse.ProParser.createquerystate(ProParser.java:33626)[na:na]
      2. org.sonar.plugins.openedge.api.org.prorefactor.proparse.ProParser.createstatement(ProParser.java:6480)[na:na]
      3. org.sonar.plugins.openedge.api.org.prorefactor.proparse.ProParser.statement(ProParser.java:2107)[na:na]
      4. org.sonar.plugins.openedge.api.org.prorefactor.proparse.ProParser.blockorstate(ProParser.java:428)[na:na]
      5. org.sonar.plugins.openedge.api.org.prorefactor.proparse.ProParser.program(ProParser.java:159)[na:na]
      6. org.sonar.plugins.openedge.api.org.prorefactor.proparse.DoParse.doParse(DoParse.java:175)[na:na]
      7. org.sonar.plugins.openedge.api.org.prorefactor.proparse.DoParse.doParse(DoParse.java:100)[na:na]
      8. org.sonar.plugins.openedge.api.org.prorefactor.treeparser.ParseUnit.parse(ParseUnit.java:204)[na:na]
      9. org.sonar.plugins.openedge.api.org.prorefactor.treeparser.ParseUnit.treeParser01(ParseUnit.java:248)[na:na]
      10. org.sonar.plugins.openedge.sensor.OpenEdgeProparseSensor.analyse(OpenEdgeProparseSensor.java:111)[na:na]
      10 frames
    3. SonarQube
      ModuleScanContainer.doAfterStart
      1. org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58)[sonar-scanner-engine-shaded-5.6.jar:na]
      2. org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50)[sonar-scanner-engine-shaded-5.6.jar:na]
      3. org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83)[sonar-scanner-engine-shaded-5.6.jar:na]
      4. org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:192)[sonar-scanner-engine-shaded-5.6.jar:na]
      4 frames
    4. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)[sonar-scanner-engine-shaded-5.6.jar:na]
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)[sonar-scanner-engine-shaded-5.6.jar:na]
      2 frames
    5. SonarQube
      ProjectScanContainer.doAfterStart
      1. org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241)[sonar-scanner-engine-shaded-5.6.jar:na]
      2. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236)[sonar-scanner-engine-shaded-5.6.jar:na]
      3. org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226)[sonar-scanner-engine-shaded-5.6.jar:na]
      3 frames
    6. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)[sonar-scanner-engine-shaded-5.6.jar:na]
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)[sonar-scanner-engine-shaded-5.6.jar:na]
      2 frames
    7. org.sonar.batch
      TaskContainer.doAfterStart
      1. org.sonar.batch.task.ScanTask.execute(ScanTask.java:47)[sonar-scanner-engine-shaded-5.6.jar:na]
      2. org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86)[sonar-scanner-engine-shaded-5.6.jar:na]
      2 frames
    8. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)[sonar-scanner-engine-shaded-5.6.jar:na]
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)[sonar-scanner-engine-shaded-5.6.jar:na]
      2 frames
    9. SonarQube
      Batch.executeTask
      1. org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:106)[sonar-scanner-engine-shaded-5.6.jar:na]
      2. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)[sonar-scanner-engine-shaded-5.6.jar:na]
      2 frames
    10. org.sonarsource.scanner
      BatchIsolatedLauncher.execute
      1. org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)[sonar-scanner-api-batch4129124597328948539.jar:na]
      1 frame
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_60]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_60]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_60]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_60]
      4 frames
    12. org.sonarsource.scanner
      IsolatedLauncherProxy.invoke
      1. org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)[sonar-scanner-cli-2.6.1.jar:na]
      1 frame
    13. com.sun.proxy
      $Proxy0.execute
      1. com.sun.proxy.$Proxy0.execute(Unknown Source)[na:na]
      1 frame
    14. org.sonarsource.scanner
      Main.main
      1. org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:240)[sonar-scanner-cli-2.6.1.jar:na]
      2. org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151)[sonar-scanner-cli-2.6.1.jar:na]
      3. org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:110)[sonar-scanner-cli-2.6.1.jar:na]
      4. org.sonarsource.scanner.cli.Main.execute(Main.java:72)[sonar-scanner-cli-2.6.1.jar:na]
      5. org.sonarsource.scanner.cli.Main.main(Main.java:60)[sonar-scanner-cli-2.6.1.jar:na]
      5 frames