Skip to content

codeql database analyze error question #2486

@marcrepo

Description

@marcrepo

Description of the issue
The following codeql database analyze statement generates a "No query kind specified(NO_KIND_SPECIFIED)" fatal error

The statement is:
codeql database analyze name1_db /home/m/vscode-codeql-starter/codeql-custom-queries-cpp/ --output=t1 --format=sarif-latest

All the queries are processed without error by codeql.

Then the following output appears on the console:
Shutting down query evaluator.
Interpreting results.
A fatal error occurred: Could not process query metadata.
Error was: No query kind specified(NO_KIND_SPECIFIED).

I can't find this error anywhere on the semmle help website so I'm not sure how
to proceed. The error occurs regardless of the output type I request (sarif, csv, etc). I also tried updating the database - but codeql states no update is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions