# \#parse-error

**URL:** https://community.sonarsource.com/tag/parse-error/128.md

[Latest](https://community.sonarsource.com/latest.md) · [Categories](https://community.sonarsource.com/categories.md) · [Tags](https://community.sonarsource.com/tags.md)

---

## [Fully free format code not recognized as such if comments before \*\*free definition](https://community.sonarsource.com/t/fully-free-format-code-not-recognized-as-such-if-comments-before-free-definition/177932)

<div class="topic-metadata">

**Author:** [@1337\_Nerd](https://community.sonarsource.com/u/1337_Nerd)\
**Replies:** 4\
**Last updated:** [March 16, 2026, 3:49pm UTC](https://community.sonarsource.com/t/fully-free-format-code-not-recognized-as-such-if-comments-before-free-definition/177932 "2026-03-16T15:49:36Z")

</div>

While it’s not necessarily in spec, you can put fixed format comments before the \*\*free definition in an rpg program and it will still be recognized by an IBM iSeries as a fully free format program and compile as such. H…

---

## [RPG: Parser fails on enums](https://community.sonarsource.com/t/rpg-parser-fails-on-enums/177064)

<div class="topic-metadata">

**Author:** [@1337\_Nerd](https://community.sonarsource.com/u/1337_Nerd)\
**Replies:** 5\
**Last updated:** [February 11, 2026, 9:29am UTC](https://community.sonarsource.com/t/rpg-parser-fails-on-enums/177064 "2026-02-11T09:29:22Z")

</div>

Enums were introduced in IBM i 7.4 and can only be defined in free format. The parser will fail to parse any enum declarations in free format code with the following error: ”Could not parse line 2: Invalid assignment op…

---

## [PL/SQL parse errors](https://community.sonarsource.com/t/pl-sql-parse-errors/125261)

<div class="topic-metadata">

**Author:** [@Karl](https://community.sonarsource.com/u/Karl)\
**Replies:** 6\
**Last updated:** [September 12, 2025, 7:37am UTC](https://community.sonarsource.com/t/pl-sql-parse-errors/125261 "2025-09-12T07:37:29Z")

</div>

Hi, SQ version: 10.6 I’ve noticed several parse errors: create or replace package pkg as procedure foo; pragma deprecate (foo); -- parse error end pkg; create or replace type BaseType force is object ( …

---

## [Facing error while integrating authentik with sonar qube](https://community.sonarsource.com/t/facing-error-while-integrating-authentik-with-sonar-qube/142728)

<div class="topic-metadata">

**Author:** [@Harshit\_Ghagre](https://community.sonarsource.com/u/Harshit_Ghagre)\
**Replies:** 1\
**Last updated:** [June 16, 2025, 9:24am UTC](https://community.sonarsource.com/t/facing-error-while-integrating-authentik-with-sonar-qube/142728 "2025-06-16T09:24:20Z")

</div>

I integrated Authentik with SonarQube for authentication. I’m encountering an error while configuring the redirect URL. The Authentik documentation primarily covers the SAML provider setup. However, I have configured th…

---

## [Parse Error in sql File for Temporal Table](https://community.sonarsource.com/t/parse-error-in-sql-file-for-temporal-table/118290)

<div class="topic-metadata">

**Author:** [@ArminPrieschl](https://community.sonarsource.com/u/ArminPrieschl)\
**Replies:** 7\
**Last updated:** [December 17, 2024, 12:48pm UTC](https://community.sonarsource.com/t/parse-error-in-sql-file-for-temporal-table/118290 "2024-12-17T12:48:47Z")

</div>

Hi! I think there is a Bug in the Parser for SQL Server Temporal Tables. WARN: Unable to parse file '/R:/CICD/\_W/File.sql' : Parse error at line 10 column 122: 1: CREATE TABLE \[ODS\].\[FA\_CounterpartyMapping\_Exclusions…

---

## [\[ERROR\] Unable to parse source file: A switch expression should have a default case](https://community.sonarsource.com/t/error-unable-to-parse-source-file-a-switch-expression-should-have-a-default-case/81431)

<div class="topic-metadata">

**Author:** [@froque](https://community.sonarsource.com/u/froque)\
**Replies:** 14\
**Last updated:** [September 9, 2024, 2:56pm UTC](https://community.sonarsource.com/t/error-unable-to-parse-source-file-a-switch-expression-should-have-a-default-case/81431 "2024-09-09T14:56:30Z")

</div>

Must-share information (formatted with Markdown): which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) sonarqube:9.8.0-community what are you trying to achieve analyzing java code f…

---

## [SonarLint for VS Code not scanning COBOL programs after 4.7 update](https://community.sonarsource.com/t/sonarlint-for-vs-code-not-scanning-cobol-programs-after-4-7-update/120006)

<div class="topic-metadata">

**Author:** [@simon.longpre](https://community.sonarsource.com/u/simon.longpre)\
**Replies:** 4\
**Last updated:** [August 22, 2024, 12:34pm UTC](https://community.sonarsource.com/t/sonarlint-for-vs-code-not-scanning-cobol-programs-after-4-7-update/120006 "2024-08-22T12:34:53Z")

</div>

Please provide Window 10 SonarLint plugin version: 4.7 Programming language you’re coding in: COBOL Is connected mode used: Yes, SonarQube Since the 4.7 update, SonarLint reports that all the COBOL rules are unavailab…

---

## [Unparsable TypeScript file generates an error even when excluded](https://community.sonarsource.com/t/unparsable-typescript-file-generates-an-error-even-when-excluded/117425)

<div class="topic-metadata">

**Author:** [@TomasMalecek](https://community.sonarsource.com/u/TomasMalecek)\
**Replies:** 3\
**Last updated:** [June 19, 2024, 2:46pm UTC](https://community.sonarsource.com/t/unparsable-typescript-file-generates-an-error-even-when-excluded/117425 "2024-06-19T14:46:39Z")

</div>

In a C# test project, I have an unparsable JavaScript file as part of the test data. The SonarQubeAnalyze@5 task in a DevOps Server 2022u1 YAML pipeline, provided by SonarQube DevOps extension 5.19.1, using SonarQube Ent…

---

## [Error not loading the repository of a Bitbucket project whose name contains special characters](https://community.sonarsource.com/t/error-not-loading-the-repository-of-a-bitbucket-project-whose-name-contains-special-characters/113978)

<div class="topic-metadata">

**Author:** [@sh.yoon.devops](https://community.sonarsource.com/u/sh.yoon.devops)\
**Replies:** 3\
**Last updated:** [May 13, 2024, 7:40am UTC](https://community.sonarsource.com/t/error-not-loading-the-repository-of-a-bitbucket-project-whose-name-contains-special-characters/113978 "2024-05-13T07:40:08Z")

</div>

Must-share information (formatted with Markdown): which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) Community Edition v10.5 (89998)\[ACTIVE\] how is SonarQube deployed: zip, Docker,…

---

## [SonarQube analysis fail to parse Scala 3.3 files with "fewer braces" syntax](https://community.sonarsource.com/t/sonarqube-analysis-fail-to-parse-scala-3-3-files-with-fewer-braces-syntax/101786)

<div class="topic-metadata">

**Author:** [@tOverney](https://community.sonarsource.com/u/tOverney)\
**Replies:** 1\
**Last updated:** [October 2, 2023, 9:16am UTC](https://community.sonarsource.com/t/sonarqube-analysis-fail-to-parse-scala-3-3-files-with-fewer-braces-syntax/101786 "2023-10-02T09:16:17Z")

</div>

Hi Team, We use SonarQube Community and have the latest LTS installed (9.9.2) On our Scala repositories, every files that uses the “fewer braces” syntax (SIP-44 - Fewer Braces | Scala Documentation) introduced first in…

---

## [PL/SQL parse errors](https://community.sonarsource.com/t/pl-sql-parse-errors/99537)

<div class="topic-metadata">

**Author:** [@SimonClark](https://community.sonarsource.com/u/SimonClark)\
**Replies:** 7\
**Last updated:** [September 20, 2023, 2:05pm UTC](https://community.sonarsource.com/t/pl-sql-parse-errors/99537 "2023-09-20T14:05:44Z")

</div>

Sonarqube Enterprise edition, loading a folder of .SQL files with the Scanner for Windows option. I get multiple errors reported in the Command window when running the Scanner which appear to refer to code lines with wh…

---

## [Error while running Project Analysis](https://community.sonarsource.com/t/error-while-running-project-analysis/98862)

<div class="topic-metadata">

**Author:** [@Santhosh\_S](https://community.sonarsource.com/u/Santhosh_S)\
**Replies:** 2\
**Last updated:** [September 11, 2023, 8:02am UTC](https://community.sonarsource.com/t/error-while-running-project-analysis/98862 "2023-09-11T08:02:40Z")

</div>

SonarScanner for MSBuild 5.13.1 Using the .NET Core version of the Scanner for MSBuild Post-processing started. 19:07:10.89 The SonarScanner for MSBuild integration failed: SonarQube was unable to collect the require…

---

## [Parse-error with 'WAIT FOR THREAD'statement (AcuCobol)](https://community.sonarsource.com/t/parse-error-with-wait-for-threadstatement-acucobol/88402)

<div class="topic-metadata">

**Author:** [@Jos\_Abrahams](https://community.sonarsource.com/u/Jos_Abrahams)\
**Replies:** 2\
**Last updated:** [July 10, 2023, 3:08pm UTC](https://community.sonarsource.com/t/parse-error-with-wait-for-threadstatement-acucobol/88402 "2023-07-10T15:08:03Z")

</div>

We are trying to parse Cobol sources. A ‘WAIT FOR THREAD’ statement causes the parser to fail, while the compiler has no problems with it. Versions used: Cobol: AcuCobol version 10.2.1, fixed format SonarQube: Enterp…

---

## [Parse error Numpy](https://community.sonarsource.com/t/parse-error-numpy/92047)

<div class="topic-metadata">

**Author:** [@mislav.cosic](https://community.sonarsource.com/u/mislav.cosic)\
**Replies:** 1\
**Last updated:** [June 19, 2023, 2:33pm UTC](https://community.sonarsource.com/t/parse-error-numpy/92047 "2023-06-19T14:33:03Z")

</div>

Hi, Must-share information (formatted with Markdown): which versions are you using (SonarQube: 9.9.0.65466, SonarScanner: 4.8.0.2856) how is SonarQube deployed: zip Python version: 3.11 ##\[error\]12:02:40.434 ERROR: …

---

## [Format-3 move with multiple lines in 'ON EXCEPTION' block causes parse-error (AcuCobol)](https://community.sonarsource.com/t/format-3-move-with-multiple-lines-in-on-exception-block-causes-parse-error-acucobol/88397)

<div class="topic-metadata">

**Author:** [@Jos\_Abrahams](https://community.sonarsource.com/u/Jos_Abrahams)\
**Replies:** 3\
**Last updated:** [April 6, 2023, 10:22am UTC](https://community.sonarsource.com/t/format-3-move-with-multiple-lines-in-on-exception-block-causes-parse-error-acucobol/88397 "2023-04-06T10:22:43Z")

</div>

We are trying to parse Cobol sources. Some ‘format-3’ moves with multiple lines of code in an ‘ON EXCEPTION’ block cause parse-errors. I have included an example that does not parse. In this case it is not easy for us…

---

## [Parse-error with 'WHEN FALSE "N" in 88-level condition. (AcuCobol)](https://community.sonarsource.com/t/parse-error-with-when-false-n-in-88-level-condition-acucobol/88411)

<div class="topic-metadata">

**Author:** [@Jos\_Abrahams](https://community.sonarsource.com/u/Jos_Abrahams)\
**Replies:** 1\
**Last updated:** [April 6, 2023, 10:14am UTC](https://community.sonarsource.com/t/parse-error-with-when-false-n-in-88-level-condition-acucobol/88411 "2023-04-06T10:14:18Z")

</div>

We are trying to parse Cobol sources. Having a 'WHEN FALSE “N” clause in a level-88 condition causes the parser to fail, while the compiler has no problems with it. Versions used: Cobol: AcuCobol version 10.2.1, fixed…

---

## [Parse-error when displaying array-elements in combination with reference modification. (AcuCobol)](https://community.sonarsource.com/t/parse-error-when-displaying-array-elements-in-combination-with-reference-modification-acucobol/88410)

<div class="topic-metadata">

**Author:** [@Jos\_Abrahams](https://community.sonarsource.com/u/Jos_Abrahams)\
**Replies:** 1\
**Last updated:** [April 6, 2023, 10:13am UTC](https://community.sonarsource.com/t/parse-error-when-displaying-array-elements-in-combination-with-reference-modification-acucobol/88410 "2023-04-06T10:13:52Z")

</div>

We are trying to parse Cobol sources. Displaying multiple array-elements in combination with reference-modification causes the parser to fail, while the compiler has no problems with it. Please note that the failure i…

---

## [Parse-error with 'NO' clause in ACCEPT statement. (AcuCobol)](https://community.sonarsource.com/t/parse-error-with-no-clause-in-accept-statement-acucobol/88409)

<div class="topic-metadata">

**Author:** [@Jos\_Abrahams](https://community.sonarsource.com/u/Jos_Abrahams)\
**Replies:** 1\
**Last updated:** [April 6, 2023, 10:13am UTC](https://community.sonarsource.com/t/parse-error-with-no-clause-in-accept-statement-acucobol/88409 "2023-04-06T10:13:22Z")

</div>

We are trying to parse Cobol sources. Having a ‘NO’ clause by itself in an accept statement causes the parser to fail, while the compiler has no problems with it. Versions used: Cobol: AcuCobol version 10.2.1, fixed f…

---

## [Parse-error with 'CLASS' definition in 'SPECIAL-NAMES' paragraph (AcuCobol)](https://community.sonarsource.com/t/parse-error-with-class-definition-in-special-names-paragraph-acucobol/88407)

<div class="topic-metadata">

**Author:** [@Jos\_Abrahams](https://community.sonarsource.com/u/Jos_Abrahams)\
**Replies:** 1\
**Last updated:** [April 6, 2023, 10:12am UTC](https://community.sonarsource.com/t/parse-error-with-class-definition-in-special-names-paragraph-acucobol/88407 "2023-04-06T10:12:52Z")

</div>

We are trying to parse Cobol sources. Having a ‘CLASS’ definition in the ‘SPECIAL-NAMES’ paragraph causes the parser to fail, while the compiler has no problems with it. Adding a ‘.’ at the end of the CLASS definition …

---

## [Parse-error with 'BLANK (WHEN) ZERO' clause in SCREEN SECTION. (AcuCobol)](https://community.sonarsource.com/t/parse-error-with-blank-when-zero-clause-in-screen-section-acucobol/88400)

<div class="topic-metadata">

**Author:** [@Jos\_Abrahams](https://community.sonarsource.com/u/Jos_Abrahams)\
**Replies:** 1\
**Last updated:** [April 6, 2023, 10:12am UTC](https://community.sonarsource.com/t/parse-error-with-blank-when-zero-clause-in-screen-section-acucobol/88400 "2023-04-06T10:12:07Z")

</div>

We are trying to parse Cobol sources. Having a ‘BLANK (WHEN) ZERO’ clause in a SCREEN section causes the parser to fail, while the compiler has no problems with it. Versions used: Cobol: AcuCobol version 10.2.1, fixe…

---

## [' COMPRESSION ' clause in SELECT causes parsing error when parsing AcuCobol](https://community.sonarsource.com/t/compression-clause-in-select-causes-parsing-error-when-parsing-acucobol/88188)

<div class="topic-metadata">

**Author:** [@Jos\_Abrahams](https://community.sonarsource.com/u/Jos_Abrahams)\
**Replies:** 1\
**Last updated:** [April 6, 2023, 10:11am UTC](https://community.sonarsource.com/t/compression-clause-in-select-causes-parsing-error-when-parsing-acucobol/88188 "2023-04-06T10:11:17Z")

</div>

We are trying to parse Cobol sources. Multiple variations on the syntax of defining COMPRESSION in a SELECT fail to parse, while the compiler has no problems with them. In the below sample program we have a few example…

---

## [Trailing commas cause parsing errors when parsing AcuCobol sources](https://community.sonarsource.com/t/trailing-commas-cause-parsing-errors-when-parsing-acucobol-sources/88175)

<div class="topic-metadata">

**Author:** [@Jos\_Abrahams](https://community.sonarsource.com/u/Jos_Abrahams)\
**Replies:** 1\
**Last updated:** [April 6, 2023, 10:10am UTC](https://community.sonarsource.com/t/trailing-commas-cause-parsing-errors-when-parsing-acucobol-sources/88175 "2023-04-06T10:10:21Z")

</div>

We are trying to parse Cobol sources. Trailing comma’s cause a lot of parsing errors, while the compiler has no problems with them. So why don’t you ignore comma’s alltogether for AcuCobol (like you apparently do for o…

---

## ['THREAD' keyword in CALL statement causes parsing error](https://community.sonarsource.com/t/thread-keyword-in-call-statement-causes-parsing-error/88396)

<div class="topic-metadata">

**Author:** [@Jos\_Abrahams](https://community.sonarsource.com/u/Jos_Abrahams)\
**Replies:** 1\
**Last updated:** [March 31, 2023, 3:58pm UTC](https://community.sonarsource.com/t/thread-keyword-in-call-statement-causes-parsing-error/88396 "2023-03-31T15:58:04Z")

</div>

We are trying to parse Cobol sources. Using the keyword ‘THREAD’ in a CALL statement causes a parsing-error. Versions used: Cobol: AcuCobol version 10.2.1, fixed format SonarQube: Enterprise Edition Version 9.6.1 (bu…

---

## [Parse-error with 'CHAINING' clause in 'PROCEDURE DIVISION' statement. (AcuCobol)](https://community.sonarsource.com/t/parse-error-with-chaining-clause-in-procedure-division-statement-acucobol/88401)

<div class="topic-metadata">

**Author:** [@Jos\_Abrahams](https://community.sonarsource.com/u/Jos_Abrahams)\
**Replies:** 1\
**Last updated:** [March 31, 2023, 3:22pm UTC](https://community.sonarsource.com/t/parse-error-with-chaining-clause-in-procedure-division-statement-acucobol/88401 "2023-03-31T15:22:32Z")

</div>

We are trying to parse Cobol sources. Having a ‘CHAINING’ clause in the ‘PROCEDURE DIVISION’ line causes the parser to fail, while the compiler has no problems with it. Please note that removing the ‘DECLARATIVES’ fixe…

---

## ['FUNCTION RANDOM()' causes parsing error when parsing AcuCobol source](https://community.sonarsource.com/t/function-random-causes-parsing-error-when-parsing-acucobol-source/88190)

<div class="topic-metadata">

**Author:** [@Jos\_Abrahams](https://community.sonarsource.com/u/Jos_Abrahams)\
**Replies:** 1\
**Last updated:** [March 30, 2023, 4:07pm UTC](https://community.sonarsource.com/t/function-random-causes-parsing-error-when-parsing-acucobol-source/88190 "2023-03-30T16:07:15Z")

</div>

We are trying to parse Cobol sources. Versions used: Cobol: AcuCobol version 10.2.1, fixed format SonarQube: Enterprise Edition Version 9.6.1 (build 59531) The ‘FUNCTION RANDOM’ statement below compiles, although it …

---

## [LOCK MODE '(WITH) MASS-UPDATE' clause in select causes parsing error when parsing AcuCobol src](https://community.sonarsource.com/t/lock-mode-with-mass-update-clause-in-select-causes-parsing-error-when-parsing-acucobol-src/88179)

<div class="topic-metadata">

**Author:** [@Jos\_Abrahams](https://community.sonarsource.com/u/Jos_Abrahams)\
**Replies:** 1\
**Last updated:** [March 30, 2023, 4:01pm UTC](https://community.sonarsource.com/t/lock-mode-with-mass-update-clause-in-select-causes-parsing-error-when-parsing-acucobol-src/88179 "2023-03-30T16:01:31Z")

</div>

We are trying to parse Cobol sources. Having a SELECT with ‘MASS-UPDATE’ clause causes the parser to fail, while the compiler has no problems with it. Versions used: Cobol: AcuCobol version 10.2.1, fixed format Sonar…

---

## [Parsing error with Cobol AcuCobol Dialect](https://community.sonarsource.com/t/parsing-error-with-cobol-acucobol-dialect/88072)

<div class="topic-metadata">

**Author:** [@Jos\_Abrahams](https://community.sonarsource.com/u/Jos_Abrahams)\
**Replies:** 2\
**Last updated:** [March 28, 2023, 11:22am UTC](https://community.sonarsource.com/t/parsing-error-with-cobol-acucobol-dialect/88072 "2023-03-28T11:22:05Z")

</div>

We are trying to parse Cobol sources. We have a number of parsing issues; I will first post one, to check for your response. Dependent on the feedback I will then post the rest. First issue: Parsing error on JUSTIFIED…

---

## [Terraform parser can't handle variables names that begin with underscores](https://community.sonarsource.com/t/terraform-parser-cant-handle-variables-names-that-begin-with-underscores/85684)

<div class="topic-metadata">

**Author:** [@Jacob\_Williams](https://community.sonarsource.com/u/Jacob_Williams)\
**Replies:** 1\
**Last updated:** [March 23, 2023, 9:48am UTC](https://community.sonarsource.com/t/terraform-parser-cant-handle-variables-names-that-begin-with-underscores/85684 "2023-03-23T09:48:45Z")

</div>

Versions SonarQube: 9.9.0.65466 Scanner: 4.8.0.2856 Deployment Helm chart: 8.0.0 Goal Scan terraform IaC Tried Running analysis on GitLab repo with terraform IaC that is used in active deployments Error We receive ~…

---

## [Parse Error while running Sonar Scan in ADO pipeline](https://community.sonarsource.com/t/parse-error-while-running-sonar-scan-in-ado-pipeline/80729)

<div class="topic-metadata">

**Author:** [@nareshk](https://community.sonarsource.com/u/nareshk)\
**Replies:** 6\
**Last updated:** [February 16, 2023, 12:14pm UTC](https://community.sonarsource.com/t/parse-error-while-running-sonar-scan-in-ado-pipeline/80729 "2023-02-16T12:14:58Z")

</div>

Hello, When ADO pipeline runs SonarQube scan for salesforce APEX code, it displays several parse errors as below. Is this due to SQ unable to parse .flow files? ##\[error\]ERROR: Unable to parse file: file:///D:/a/1/s/fl…

---

## [Parse error on T-SQL WITH CLUSTERED statement](https://community.sonarsource.com/t/parse-error-on-t-sql-with-clustered-statement/44357)

<div class="topic-metadata">

**Author:** [@zaat](https://community.sonarsource.com/u/zaat)\
**Replies:** 4\
**Last updated:** [December 19, 2022, 10:13am UTC](https://community.sonarsource.com/t/parse-error-on-t-sql-with-clustered-statement/44357 "2022-12-19T10:13:51Z")

</div>

When running the SonarCloud task Run Code Analysis, on our T-SQL code base, with T-SQL selected for .sql files, we get the following error message in Azure DevOps: Parse error in line… And each time around CLUSTERED sta…

[Next page](https://community.sonarsource.com/tag/parse-error/128.md?match_all_tags=true&page=1&tags%5B%5D=parse-error)
