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 got the following issue during one of the scans:
Could not process some files due to syntax errors View workflow run
A parse error occurred: Comments are not legal in JSON.. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.
CodeQL also found 2 other warnings like this. See the workflow log for details.
The thing is, it's impossible to find the problematic files within the workflow log:
| Diagnostic | Summary |
+---------------------------------------------------+------------------------+
| Extraction errors | 13 results (13 errors) |
| Could not process some files due to syntax errors | 3 results (3 warnings) |
| Successfully extracted files | 548 results |
That's kinda it, I couldn't find the mentioned files there.
The text was updated successfully, but these errors were encountered:
I think this is a shortcoming in our tooling, where it does not actually output the error to the log. It'll let the relevant team know about this.
In the mean time, you might try enabling CodeQL debugging on the workflow (see here). Thus will produce a number of artifacts, including all logs and a copy of the database that is being built. You might want to check whether those logs do include the relevant details.
The problem with finding the logs remains, I believe, but the actually error you're getting here should be resolved by #12951. This fix should be part of the CodeQL 2.13.2 release.
I got the following issue during one of the scans:
Could not process some files due to syntax errors
View workflow run
A parse error occurred: Comments are not legal in JSON.. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.
CodeQL also found 2 other warnings like this. See the workflow log for details.
The thing is, it's impossible to find the problematic files within the workflow log:
| Diagnostic | Summary |
+---------------------------------------------------+------------------------+
| Extraction errors | 13 results (13 errors) |
| Could not process some files due to syntax errors | 3 results (3 warnings) |
| Successfully extracted files | 548 results |
That's kinda it, I couldn't find the mentioned files there.
The text was updated successfully, but these errors were encountered: