github / github/codeql

Database Analyze of Multi-language codebase fails

Open
#6,383 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

**Database Analyze of Multi-language codebase fails**

I created a database for a multi-language codebase using the following command: `codeql database create java-js-db --language="java,javascript" --db-cluster --command="mvn install -DskipTests -DskipITs" --no-run-unnecessary-builds`
Database creation was successful.

When I attempt to analyze the resulting database, I get the following error: `A fatal error occurred: /Users/xxxx/Projects/xxxx/java-js-db is not a recognized CodeQL database.`

I'm using the following command for analysis: `codeql database analyze java-js-db java-code-scanning.qls javascript-code-scanning.qls --format=sarif-latest --output=java-js-result.sarif`

Is this a bug, or did I miss a parameter?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.