github / github/codeql-cli-binaries

[Java][maven] "No source code was seen and extracted"

オープン
#137 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
CLI
主要言語
言語のデータがありません
スター
1k
フォーク
184
PR マージ指標
30日以内にマージされた PR はありません

説明

When I compile a java project built by maven, codeql tell me "No source code was seen and extracted".
1. cmd is: codeql database create sonar.db -l java -c "./gradlew --no-build-cache clean classes"
2. The project is built correctly, and many *.class are generated.
3. There only "codeql-database.yml", "log", "working" files in codeql database directory.
The reason is maybe that codeql cannot "Intercepted call" with Java correctly. But I don't know why codeql cannot hook Java compiler.

[build-tracer.log.txt](https://github.com/github/codeql-cli-binaries/files/9811352/build-tracer.log.txt)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start with build-tracer.log.txt and the reported database-create command, then determine why the Gradle/Maven Java compilation is not intercepted. Reproduce the build and inspect whether the resulting database contains extracted Java source; done means the compiled project produces a usable CodeQL database.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
build-system, devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。